Home
last modified time | relevance | path

Searched refs:GlobalVariable (Results 1 – 12 of 12) 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/rs/rsov/compiler/
DGlobalMergePass.cpp51 SmallVector<GlobalVariable *, 8> Globals; in runOnModule()
62 for (GlobalVariable *GV : Globals) { in runOnModule()
82 GlobalVariable *MergedGV = in runOnModule()
83 new GlobalVariable(M, BufferVarTy, false, GlobalValue::ExternalLinkage, in runOnModule()
117 GlobalVariable *G = Globals[i]; in runOnModule()
173 CreateInitFunction(LLVMContext &LLVMCtxt, Module &M, GlobalVariable *MergedGV, in CreateInitFunction()
175 const SmallVectorImpl<GlobalVariable *> &Globals) { in CreateInitFunction()
179 GlobalVariable *G = Globals[i]; in CreateInitFunction()
184 GlobalVariable *MergedInit = in CreateInitFunction()
185 new GlobalVariable(M, MergedTy, true, GlobalValue::InternalLinkage, in CreateInitFunction()
[all …]
DRSAllocationUtils.h27 class GlobalVariable; variable
37 llvm::GlobalVariable *GlobalVar;
56 bool isRSAllocation(const llvm::GlobalVariable &GV);
DGlobalAllocPass.cpp35 SmallVectorImpl<GlobalVariable *> &GlobalAllocs) { in collectGlobalAllocs()
73 SmallVector<GlobalVariable *, 8> GlobalAllocs; in runOnModule()
110 SmallVector<GlobalVariable *, 8> GlobalAllocs; in runOnModule()
DRSAllocationUtils.cpp38 bool isRSAllocation(const GlobalVariable &GV) { in isRSAllocation()
74 std::unordered_map<const Value *, const GlobalVariable *> Mapping; in getRSAllocAccesses()
180 std::unordered_map<const GlobalVariable *, std::string> GVAccessTypes; in getRSAllocAccesses()
DWrapper.cpp254 std::find_if(GlobalsB, GlobalsE, [](const llvm::GlobalVariable &GV) { in DecorateGlobalBuffer()
262 const llvm::GlobalVariable &G = *Found; in DecorateGlobalBuffer()
/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/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()