Home
last modified time | relevance | path

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

/frameworks/compile/libbcc/lib/CodeGen/
DCodeEmitter.h42 class GlobalValue; variable
62 typedef llvm::DenseMap<const llvm::GlobalValue *, void *>
68 typedef std::map<llvm::AssertingVH<llvm::GlobalValue>, void *>
182 virtual void *allocIndirectGV(const llvm::GlobalValue *GV,
242 void startGVStub(const llvm::GlobalValue *GV, unsigned StubSize,
252 void *UpdateGlobalMapping(const llvm::GlobalValue *GV, void *Addr);
257 void AddGlobalMapping(const llvm::GlobalValue *GV, void *Addr) { in AddGlobalMapping()
265 void *GetPointerToGlobalIfAvailable(const llvm::GlobalValue *GV) { in GetPointerToGlobalIfAvailable()
290 void *GetPointerToGlobal(llvm::GlobalValue *V,
322 void *GetPointerToGVIndirectSym(llvm::GlobalValue *V, void *Reference);
DCodeMemoryManager.h33 class GlobalValue; variable
169 virtual uint8_t *allocateStub(const llvm::GlobalValue *F, in allocateStub()
DCodeEmitter.cpp132 void *CodeEmitter::UpdateGlobalMapping(const llvm::GlobalValue *GV, void *Addr) { in UpdateGlobalMapping()
826 void *CodeEmitter::GetPointerToGlobal(llvm::GlobalValue *V, in GetPointerToGlobal()
880 const llvm::GlobalValue *GV = GA->resolveAliasedGlobal(false); in GetPointerToGlobal()
1098 void *CodeEmitter::GetPointerToGVIndirectSym(llvm::GlobalValue *V, void *Reference) { in GetPointerToGVIndirectSym()
1314 void CodeEmitter::startGVStub(const llvm::GlobalValue *GV, unsigned StubSize, in startGVStub()
1352 void *CodeEmitter::allocIndirectGV(const llvm::GlobalValue *GV, in allocIndirectGV()
/frameworks/compile/libbcc/bcinfo/BitReader_2_7/
DBitcodeReader.h205 virtual bool isMaterializable(const GlobalValue *GV) const;
206 virtual bool isDematerializable(const GlobalValue *GV) const;
207 virtual bool Materialize(GlobalValue *GV, std::string *ErrInfo = 0);
209 virtual void Dematerialize(GlobalValue *GV);
DBitcodeReader.cpp75 static GlobalValue::LinkageTypes GetDecodedLinkage(unsigned Val) { in GetDecodedLinkage()
78 case 0: return GlobalValue::ExternalLinkage; in GetDecodedLinkage()
79 case 1: return GlobalValue::WeakAnyLinkage; in GetDecodedLinkage()
80 case 2: return GlobalValue::AppendingLinkage; in GetDecodedLinkage()
81 case 3: return GlobalValue::InternalLinkage; in GetDecodedLinkage()
82 case 4: return GlobalValue::LinkOnceAnyLinkage; in GetDecodedLinkage()
83 case 5: return GlobalValue::DLLImportLinkage; in GetDecodedLinkage()
84 case 6: return GlobalValue::DLLExportLinkage; in GetDecodedLinkage()
85 case 7: return GlobalValue::ExternalWeakLinkage; in GetDecodedLinkage()
86 case 8: return GlobalValue::CommonLinkage; in GetDecodedLinkage()
[all …]
/frameworks/compile/slang/BitWriter_2_9/
DBitcodeWriter.cpp392 static unsigned getEncodedLinkage(const GlobalValue *GV) { in getEncodedLinkage()
395 case GlobalValue::ExternalLinkage: return 0; in getEncodedLinkage()
396 case GlobalValue::WeakAnyLinkage: return 1; in getEncodedLinkage()
397 case GlobalValue::AppendingLinkage: return 2; in getEncodedLinkage()
398 case GlobalValue::InternalLinkage: return 3; in getEncodedLinkage()
399 case GlobalValue::LinkOnceAnyLinkage: return 4; in getEncodedLinkage()
400 case GlobalValue::DLLImportLinkage: return 5; in getEncodedLinkage()
401 case GlobalValue::DLLExportLinkage: return 6; in getEncodedLinkage()
402 case GlobalValue::ExternalWeakLinkage: return 7; in getEncodedLinkage()
403 case GlobalValue::CommonLinkage: return 8; in getEncodedLinkage()
[all …]
DValueEnumerator.cpp284 if (isa<GlobalValue>(C)) { in EnumerateValue()
414 if ((isa<Constant>(*OI) && !isa<GlobalValue>(*OI)) || in incorporateFunction()
/frameworks/compile/slang/
Dslang_rs_backend.cpp349 llvm::GlobalValue::ExternalLinkage, in HandleTranslationUnitPost()