HomeSort by relevance Sort by last modified time
    Searched refs:GV (Results 51 - 75 of 227) sorted by null

1 23 4 5 6 7 8 910

  /external/llvm/include/llvm/IR/
AutoUpgrade.h 47 bool UpgradeGlobalVariable(GlobalVariable *GV);
  /external/llvm/lib/Transforms/ObjCARC/
ObjCARCAPElim.cpp 144 GlobalVariable *GV = M.getGlobalVariable("llvm.global_ctors");
145 if (!GV)
148 assert(GV->hasDefinitiveInitializer() &&
153 // Dig the constructor functions out of GV's initializer.
154 ConstantArray *Init = cast<ConstantArray>(GV->getInitializer());
  /external/llvm/lib/Analysis/IPA/
GlobalsModRef.cpp 58 unsigned getInfoForGlobal(const GlobalValue *GV) const {
61 GlobalInfo.find(GV);
189 bool AnalyzeIndirectGlobalMemory(GlobalValue *GV);
297 /// Further, all loads out of GV must directly use the memory, not store the
299 /// GV to be owned by GV and can disambiguate other pointers from it.
300 bool GlobalsModRef::AnalyzeIndirectGlobalMemory(GlobalValue *GV) {
307 for (User *U : GV->users()) {
318 if (SI->getOperand(0) == GV) return false;
333 if (AnalyzeUsesOfPointer(Ptr, ReadersWriters, ReadersWriters, GV))
    [all...]
  /external/llvm/lib/ExecutionEngine/Interpreter/
ExternalFunctions.cpp 306 GenericValue GV;
307 GV.IntVal = 0;
308 return GV;
340 GenericValue GV;
341 GV.IntVal = APInt(32, strlen(FmtStr));
344 case 0: return GV; // Null terminator...
409 return GV;
421 GenericValue GV = lle_X_sprintf(FT, NewArgs);
423 return GV;
436 GenericValue GV;
    [all...]
  /external/clang/lib/CodeGen/
TargetInfo.h 57 virtual void SetTargetAttributes(const Decl *D, llvm::GlobalValue *GV,
62 virtual void emitTargetMD(const Decl *D, llvm::GlobalValue *GV,
  /external/llvm/include/llvm/CodeGen/
MachineRelocation.h 41 isGV, // The Target.GV field is valid.
59 GlobalValue *GV; // If this is a pointer to a GV or an indirect ref.
83 GlobalValue *GV, intptr_t cst = 0,
95 Result.Target.GV = GV;
103 GlobalValue *GV, intptr_t cst = 0,
115 Result.Target.GV = GV;
283 return Target.GV;
    [all...]
AsmPrinter.h 162 const GlobalValue *GV) const;
164 MCSymbol *getSymbol(const GlobalValue *GV) const;
223 virtual void EmitGlobalVariable(const GlobalVariable *GV);
227 bool EmitSpecialLLVMGlobal(const GlobalVariable *GV);
306 MCSymbol *getSymbolWithGlobalValueBase(const GlobalValue *GV,
391 void EmitTTypeReference(const GlobalValue *GV, unsigned Encoding) const;
499 void EmitLinkage(const GlobalValue *GV, MCSymbol *GVSym) const;
  /external/llvm/lib/Analysis/
ModuleDebugInfoPrinter.cpp 71 for (DIGlobalVariable GV : Finder.global_variables()) {
73 GV.print(O);
Loads.cpp 71 } else if (const GlobalVariable *GV = dyn_cast<GlobalVariable>(Base)) {
74 if (!GV->mayBeOverridden()) {
75 BaseType = GV->getType()->getElementType();
76 BaseAlign = GV->getAlignment();
  /external/llvm/lib/Target/PowerPC/
PPCSubtarget.cpp 211 bool PPCSubtarget::hasLazyResolverStub(const GlobalValue *GV,
218 bool isDecl = GV->isDeclaration() && !GV->isMaterializable();
219 if (GV->hasHiddenVisibility() && !isDecl && !GV->hasCommonLinkage())
221 return GV->hasWeakLinkage() || GV->hasLinkOnceLinkage() ||
222 GV->hasCommonLinkage() || isDecl;
  /external/llvm/lib/IR/
AutoUpgrade.cpp 176 static bool UpgradeGlobalStructors(GlobalVariable *GV) {
177 ArrayType *ATy = dyn_cast<ArrayType>(GV->getType()->getElementType());
187 PointerType *VoidPtrTy = Type::getInt8Ty(GV->getContext())->getPointerTo();
194 StructType::get(GV->getContext(), Tys, /*isPacked=*/false);
197 Constant *OldInitC = GV->getInitializer();
213 // Replace the old GV with a new one.
217 *GV->getParent(), ATy, GV->isConstant(), GV->getLinkage(), NewInit, "",
218 GV, GV->getThreadLocalMode(), GV->getType()->getAddressSpace()
    [all...]
AsmWriter.h 105 void printGlobal(const GlobalVariable *GV);
106 void printAlias(const GlobalAlias *GV);
Globals.cpp 51 llvm_unreachable("You can't GV->destroyConstant()!");
85 const auto *GV = cast<GlobalObject>(Src);
86 GlobalValue::copyAttributesFrom(GV);
87 setAlignment(GV->getAlignment());
88 setSection(GV->getSection());
115 if (const GlobalVariable *GV = dyn_cast<GlobalVariable>(this))
116 return GV->getNumOperands() == 0;
  /external/llvm/lib/Transforms/Utils/
CloneModule.cpp 47 GlobalVariable *GV = new GlobalVariable(*New,
54 GV->copyAttributesFrom(I);
55 VMap[I] = GV;
84 GlobalVariable *GV = cast<GlobalVariable>(VMap[I]);
86 GV->setInitializer(MapValue(I->getInitializer(), VMap));
  /external/llvm/lib/CodeGen/
JumpInstrTables.cpp 81 bool replaceGlobalValueIndirectUse(GlobalValue *GV, Value *V, Use *U) {
118 C->replaceUsesOfWithOnConstant(GV, V, U);
127 // Replaces all replaceable address-taken uses of GV with a pointer to a
129 void replaceValueWithFunction(GlobalValue *GV, Function *F) {
130 // Go through all uses of this function and replace the uses of GV with the
134 for (Value::use_iterator I = GV->use_begin(), E = GV->use_end(); I != E;) {
139 if (U.get() == GV)
140 replaceGlobalValueIndirectUse(GV, F, &U);
GlobalMerge.cpp 102 /// contains GV
103 bool isMustKeepGlobalVariable(const GlobalVariable *GV) const {
104 return MustKeepGlobalVariables.count(GV);
243 const GlobalVariable *GV = M.getGlobalVariable("llvm.used");
244 if (!GV || !GV->hasInitializer()) return;
247 const ConstantArray *InitList = cast<ConstantArray>(GV->getInitializer());
270 if (const GlobalVariable *GV =
273 MustKeepGlobalVariables.insert(GV);
  /external/llvm/include/llvm/Target/
TargetJITInfo.h 47 virtual void *emitGlobalValueIndirectSym(const GlobalValue* GV, void *ptr,
  /external/llvm/lib/ExecutionEngine/JIT/
JIT.cpp 594 void *JIT::getOrEmitGlobalVariable(const GlobalVariable *GV) {
597 void *Ptr = getPointerToGlobalIfAvailable(GV);
601 if (GV->isDeclaration() || GV->hasAvailableExternallyLinkage()) {
603 if (GV->getName() == "__dso_handle")
606 Ptr = sys::DynamicLibrary::SearchForAddressOfSymbol(GV->getName());
609 +GV->getName());
611 addGlobalMapping(GV, Ptr);
615 Ptr = getMemoryForGV(GV);
616 addGlobalMapping(GV, Ptr)
    [all...]
  /external/llvm/lib/Target/X86/
X86JITInfo.h 41 void *emitGlobalValueIndirectSym(const GlobalValue* GV, void *ptr,
  /external/llvm/lib/CodeGen/AsmPrinter/
WinCodeViewLineTables.cpp 130 void WinCodeViewLineTables::emitDebugInfoForFunction(const Function *GV) {
133 const MCSymbol *Fn = Asm->getSymbol(GV);
136 const FunctionInfo &FI = FnDebugInfo[GV];
270 const Function *GV = MF->getFunction();
271 assert(FnDebugInfo.count(GV) == false);
272 VisitedFunctions.push_back(GV);
273 CurFn = &FnDebugInfo[GV];
310 const Function *GV = MF->getFunction();
311 assert(FnDebugInfo.count(GV));
312 assert(CurFn == &FnDebugInfo[GV]);
    [all...]
AsmPrinter.cpp 77 static unsigned getGVAlignmentLog2(const GlobalValue *GV, const DataLayout &TD,
80 if (const GlobalVariable *GVar = dyn_cast<GlobalVariable>(GV))
87 // If the GV has a specified alignment, take it into account.
88 if (GV->getAlignment() == 0)
91 unsigned GVAlign = Log2_32(GV->getAlignment());
94 // NumBits because the GV has an assigned section, obey it.
95 if (GVAlign > NumBits || GV->hasSection())
255 static bool canBeHidden(const GlobalValue *GV, const MCAsmInfo &MAI) {
256 GlobalValue::LinkageTypes Linkage = GV->getLinkage();
263 if (GV->hasUnnamedAddr()
    [all...]
  /external/llvm/include/llvm/ExecutionEngine/
ExecutionEngine.h 139 virtual char *getMemoryForGV(const GlobalVariable *GV);
335 void addGlobalMapping(const GlobalValue *GV, void *Addr);
345 /// updateGlobalMapping - Replace an existing mapping for GV with a new
349 void *updateGlobalMapping(const GlobalValue *GV, void *Addr);
357 void *getPointerToGlobalIfAvailable(const GlobalValue *GV);
364 void *getPointerToGlobal(const GlobalValue *GV);
448 virtual void *getOrEmitGlobalVariable(const GlobalVariable *GV) {
449 return getPointerToGlobal((const GlobalValue *)GV);
551 void EmitGlobalVariable(const GlobalVariable *GV);
  /external/llvm/lib/Transforms/IPO/
StripSymbols.cpp 148 if (GlobalVariable *GV = dyn_cast<GlobalVariable>(C)) {
149 if (!GV->hasLocalLinkage()) return; // Don't delete non-static globals.
150 GV->eraseFromParent();
201 if (GlobalValue *GV =
203 UsedValues.insert(GV);
273 if (GlobalVariable *GV = dyn_cast<GlobalVariable>(C)) {
274 if (GV->hasLocalLinkage())
275 RemoveDeadConstant(GV);
  /external/llvm/lib/Target/XCore/
XCoreTargetObjectFile.cpp 122 XCoreTargetObjectFile::getExplicitSectionGlobal(const GlobalValue *GV,
125 StringRef SectionName = GV->getSection();
135 SelectSectionForGlobal(const GlobalValue *GV, SectionKind Kind, Mangler &Mang,
138 bool UseCPRel = GV->isLocalLinkage(GV->getLinkage());
147 Type *ObjType = GV->getType()->getPointerElementType();
  /external/llvm/unittests/Linker/
LinkModulesTest.cpp 38 GV = new GlobalVariable(*M.get(), AT, false /*=isConstant*/,
54 GV->setInitializer(ConstantArray::get(AT, Init));
62 GlobalVariable *GV;
76 Value *GEP = Builder.CreateGEP(GV, GEPIndices, "switch.gep");
139 GlobalVariable *GV =
143 GV->setInitializer(ConstantStruct::get(STy, F));

Completed in 1083 milliseconds

1 23 4 5 6 7 8 910