Home
last modified time | relevance | path

Searched refs:GlobalVariable (Results 1 – 8 of 8) sorted by relevance

/frameworks/compile/libbcc/lib/
DRSGlobalInfoPass.cpp74 static uint32_t getEncodedProperties(const llvm::GlobalVariable &GV) { in getEncodedProperties()
174 llvm::GlobalVariable *VarAsStr = llvm::dyn_cast<llvm::GlobalVariable>(V); in runOnModule()
207 llvm::GlobalVariable *GlobalEntries = in runOnModule()
208 llvm::dyn_cast<llvm::GlobalVariable>(V); in runOnModule()
216 llvm::GlobalVariable *GlobalNames = in runOnModule()
217 llvm::dyn_cast<llvm::GlobalVariable>(V); in runOnModule()
225 llvm::GlobalVariable *GlobalAddresses = in runOnModule()
226 llvm::dyn_cast<llvm::GlobalVariable>(V); in runOnModule()
235 llvm::GlobalVariable *GlobalSizes = in runOnModule()
236 llvm::dyn_cast<llvm::GlobalVariable>(V); in runOnModule()
[all …]
DRSEmbedInfo.cpp200 llvm::GlobalVariable *InfoGV = in runOnModule()
201 new llvm::GlobalVariable(M, Init->getType(), true, in runOnModule()
/frameworks/compile/libbcc/bcinfo/BitReader_2_7/
DBitcodeReader.cpp201 std::vector<std::pair<GlobalVariable*, unsigned> > GlobalInits;
240 typedef std::pair<unsigned, GlobalVariable*> BlockAddrRefTy;
479 static GlobalVariable::ThreadLocalMode GetDecodedThreadLocalMode(unsigned Val) { in GetDecodedThreadLocalMode()
481 case 0: return GlobalVariable::NotThreadLocal; in GetDecodedThreadLocalMode()
483 case 1: return GlobalVariable::GeneralDynamicTLSModel; in GetDecodedThreadLocalMode()
484 case 2: return GlobalVariable::LocalDynamicTLSModel; in GetDecodedThreadLocalMode()
485 case 3: return GlobalVariable::InitialExecTLSModel; in GetDecodedThreadLocalMode()
486 case 4: return GlobalVariable::LocalExecTLSModel; in GetDecodedThreadLocalMode()
490 static GlobalVariable::UnnamedAddr getDecodedUnnamedAddrType(unsigned Val) { in getDecodedUnnamedAddrType()
493 case 0: return GlobalVariable::UnnamedAddr::None; in getDecodedUnnamedAddrType()
[all …]
/frameworks/compile/libbcc/bcinfo/BitReader_3_0/
DBitcodeReader.cpp102 GlobalVariable *GV = cast<GlobalVariable>(Val); in TransferClausesToLandingPadInst()
133 GlobalVariable *GV = cast<GlobalVariable>(Val); in TransferClausesToLandingPadInst()
443 std::vector<std::pair<GlobalVariable*, unsigned> > GlobalInits;
482 typedef std::pair<unsigned, GlobalVariable*> BlockAddrRefTy;
716 static GlobalVariable::ThreadLocalMode GetDecodedThreadLocalMode(unsigned Val) { in GetDecodedThreadLocalMode()
718 case 0: return GlobalVariable::NotThreadLocal; in GetDecodedThreadLocalMode()
720 case 1: return GlobalVariable::GeneralDynamicTLSModel; in GetDecodedThreadLocalMode()
721 case 2: return GlobalVariable::LocalDynamicTLSModel; in GetDecodedThreadLocalMode()
722 case 3: return GlobalVariable::InitialExecTLSModel; in GetDecodedThreadLocalMode()
723 case 4: return GlobalVariable::LocalExecTLSModel; in GetDecodedThreadLocalMode()
[all …]
/frameworks/compile/slang/BitWriter_3_2/
DBitcodeWriter.cpp381 static unsigned getEncodedThreadLocalMode(const GlobalVariable &GV) { in getEncodedThreadLocalMode()
383 case GlobalVariable::NotThreadLocal: return 0; in getEncodedThreadLocalMode()
384 case GlobalVariable::GeneralDynamicTLSModel: return 1; in getEncodedThreadLocalMode()
385 case GlobalVariable::LocalDynamicTLSModel: return 2; in getEncodedThreadLocalMode()
386 case GlobalVariable::InitialExecTLSModel: return 3; in getEncodedThreadLocalMode()
387 case GlobalVariable::LocalExecTLSModel: return 4; in getEncodedThreadLocalMode()
478 for (const GlobalVariable &GV : M->globals()) { in WriteModuleInfo()
/frameworks/ml/nn/tools/test_generator/
Dtest_generator.py124 class GlobalVariable(NamedVariable): class
1228 self.examplesName = GlobalVariable("test_model", self.model.name, self.name,
/frameworks/compile/slang/BitWriter_2_9/
DBitcodeWriter.cpp467 for (const GlobalVariable &GV : M->globals()) { in WriteModuleInfo()
/frameworks/compile/slang/BitWriter_2_9_func/
DBitcodeWriter.cpp465 for (const GlobalVariable &GV : M->globals()) { in WriteModuleInfo()