/external/llvm/lib/Transforms/IPO/ |
StripDeadPrototypes.cpp | 46 GlobalVariable *GV = &*I++; 48 if (GV->isDeclaration() && GV->use_empty()) 49 GV->eraseFromParent();
|
ConstantMerge.cpp | 49 bool hasKnownAlignment(GlobalVariable *GV) const; 53 unsigned getAlignment(GlobalVariable *GV) const; 74 GlobalValue *GV = cast<GlobalValue>(Operand); 75 UsedValues.insert(GV); 91 unsigned ConstantMerge::getAlignment(GlobalVariable *GV) const { 92 unsigned Align = GV->getAlignment(); 95 return GV->getParent()->getDataLayout().getPreferredAlignment(GV); 122 GlobalVariable *GV = &*GVI++; 124 // If this GV is dead, remove it [all...] |
/external/llvm/lib/Target/AArch64/ |
AArch64MCInstLower.cpp | 56 llvm_unreachable("Unexpected target flags with MO_GOT on GV operand"); 64 llvm_unreachable("Unexpected target flags with MO_TLS on GV operand"); 88 const GlobalValue *GV = MO.getGlobal(); 89 Model = Printer.TM.getTLSModel(GV);
|
/external/llvm/lib/Target/ARM/ |
ARMInstrInfo.cpp | 111 const GlobalValue *GV = 114 if (!Subtarget.GVIsIndirectSymbol(GV, RM)) { 125 .addGlobalAddress(GV, 0, ARMII::MO_NONLAZY);
|
/external/llvm/lib/Target/SystemZ/ |
SystemZConstantPoolValue.h | 34 const GlobalValue *GV; 38 SystemZConstantPoolValue(const GlobalValue *GV, 43 Create(const GlobalValue *GV, SystemZCP::SystemZCPModifier Modifier); 52 const GlobalValue *getGlobalValue() const { return GV; }
|
/external/llvm/unittests/ExecutionEngine/Orc/ |
ObjectLinkingLayerTest.cpp | 49 GlobalVariable *GV = 53 GV->setSection(".debug_str");
|
/external/llvm/examples/Fibonacci/ |
fibonacci.cpp | 130 GenericValue GV = EE->runFunction(FibF, Args); 133 outs() << "Result: " << GV.IntVal << "\n";
|
/external/llvm/lib/Transforms/Utils/ |
CtorUtils.cpp | 43 // If we didn't change the number of elements, don't create a new GV. 68 std::vector<Function *> parseGlobalCtors(GlobalVariable *GV) { 69 if (GV->getInitializer()->isNullValue()) 71 ConstantArray *CA = cast<ConstantArray>(GV->getInitializer()); 84 GlobalVariable *GV = M.getGlobalVariable("llvm.global_ctors"); 85 if (!GV) 90 if (!GV->hasUniqueInitializer()) 93 if (isa<ConstantAggregateZero>(GV->getInitializer())) 94 return GV; 95 ConstantArray *CA = cast<ConstantArray>(GV->getInitializer()) [all...] |
ModuleUtils.cpp | 85 GlobalVariable *GV = M.getGlobalVariable(Name); 86 if (!GV || !GV->hasInitializer()) 87 return GV; 89 const ConstantArray *Init = cast<ConstantArray>(GV->getInitializer()); 95 return GV;
|
/external/clang/lib/CodeGen/ |
CGVTT.cpp | 121 llvm::GlobalVariable *GV = 124 GV->setUnnamedAddr(true); 125 return GV;
|
/external/llvm/lib/Target/AMDGPU/ |
AMDGPUMCInstLower.cpp | 71 const GlobalValue *GV = MO.getGlobal(); 72 MCSymbol *Sym = Ctx.getOrCreateSymbol(StringRef(GV->getName()));
|
/external/llvm/lib/Target/PowerPC/ |
PPCMCInstLower.cpp | 62 const GlobalValue *GV = MO.getGlobal(); 63 TM.getNameWithPrefix(Name, GV, *Mang);
|
/external/llvm/lib/Target/X86/ |
X86InstrBuilder.h | 51 const GlobalValue *GV; 55 : BaseType(RegBase), Scale(1), IndexReg(0), Disp(0), GV(nullptr), 76 if (GV) 77 MO.push_back(MachineOperand::CreateGA(GV, Disp, GVOpFlags)); 135 if (AM.GV) 136 MIB.addGlobalAddress(AM.GV, AM.Disp, AM.GVOpFlags);
|
/external/llvm/tools/llvm-extract/ |
llvm-extract.cpp | 160 GlobalValue *GV = M->getNamedGlobal(ExtractGlobals[i]); 161 if (!GV) { 166 GVs.insert(GV); 178 for (auto &GV : M->globals()) { 179 if (RegEx.match(GV.getName())) { 180 GVs.insert(&GV); 193 GlobalValue *GV = M->getFunction(ExtractFuncs[i]); 194 if (!GV) { 199 GVs.insert(GV); 225 auto Materialize = [&](GlobalValue &GV) { [all...] |
/external/autotest/client/site_tests/firmware_TouchMTB/ |
firmware_constants.py | 64 GV = _GestureVariation() 66 GV.HORIZONTAL = 'horizontal' 67 GV.VERTICAL = 'vertical' 68 GV.DIAGONAL = 'diagonal' 69 GV.LR = 'left_to_right' 70 GV.RL = 'right_to_left' 71 GV.TB = 'top_to_bottom' 72 GV.BT = 'bottom_to_top' 73 GV.CL = 'center_to_left' 74 GV.CR = 'center_to_right [all...] |
/external/llvm/include/llvm/CodeGen/ |
PseudoSourceValue.h | 116 const GlobalValue *GV; 119 GlobalValuePseudoSourceValue(const GlobalValue *GV); 125 const GlobalValue *getValue() const { return GV; } 176 const PseudoSourceValue *getGlobalValueCallEntry(const GlobalValue *GV);
|
/external/llvm/lib/Object/ |
IRObjectFile.cpp | 127 const GlobalValue *GV = &*I; 128 return reinterpret_cast<uintptr_t>(GV) | 2; 134 const GlobalValue *GV = &*I; 135 return reinterpret_cast<uintptr_t>(GV) | 1; 141 const GlobalValue *GV = &*I; 142 return reinterpret_cast<uintptr_t>(GV) | 0; 153 const GlobalValue *GV = getGV(Symb); 158 Module::const_iterator Iter(static_cast<const Function*>(GV)); 164 Module::const_global_iterator Iter(static_cast<const GlobalVariable*>(GV)); 170 Module::const_alias_iterator Iter(static_cast<const GlobalAlias*>(GV)); [all...] |
/external/llvm/lib/Target/NVPTX/ |
NVPTXGenericToNVVM.cpp | 49 Value *getOrInsertCVTA(Module *M, Function *F, GlobalVariable *GV, 84 GlobalVariable *GV = &*I++; 85 if (GV->getType()->getAddressSpace() == llvm::ADDRESS_SPACE_GENERIC && 86 !llvm::isTexture(*GV) && !llvm::isSurface(*GV) && 87 !llvm::isSampler(*GV) && !GV->getName().startswith("llvm.")) { 89 M, GV->getType()->getElementType(), GV->isConstant(), 90 GV->getLinkage() [all...] |
NVPTXReplaceImageHandles.cpp | 170 const GlobalValue *GV = TexHandleDef.getOperand(1).getGlobal(); 171 assert(GV->hasName() && "Global sampler must be named!"); 173 Idx = MFI->getImageHandleSymbolIndex(GV->getName().data());
|
/external/llvm/unittests/ExecutionEngine/MCJIT/ |
MCJITTest.cpp | 101 GlobalVariable *GV = insertGlobalInt32(M.get(), "myglob", initialNum); 105 Value *ReadGlobal = Builder.CreateLoad(GV); 131 GlobalVariable *GV = insertGlobalInt32(M.get(), "my_global", initialNum); 132 Value *DerefGV = Builder.CreateLoad(GV); 135 Builder.CreateStore(AddResult, GV); 139 void *gvPtr = TheJIT->getPointerToGlobal(GV);
|
/external/autotest/client/site_tests/firmware_TouchMTB/tests/ |
mtb_unittest.py | 18 from firmware_constants import AXIS, GV, MTB, PLATFORM, UNIT, VAL 73 self._call_get_reversed_motions(list_x, list_y, 0, 0, GV.TLBR) 78 self._call_get_reversed_motions(list_x, list_y, -54, -8, GV.TLBR)
|
/external/llvm/lib/CodeGen/AsmPrinter/ |
WinCodeViewLineTables.cpp | 180 void WinCodeViewLineTables::emitDebugInfoForFunction(const Function *GV) { 183 const MCSymbol *Fn = Asm->getSymbol(GV); 186 const FunctionInfo &FI = FnDebugInfo[GV]; 191 StringRef GVName = GV->getName(); 193 if (auto *SP = getDISubprogram(GV)) 336 const Function *GV = MF->getFunction(); 337 assert(FnDebugInfo.count(GV) == false); 338 VisitedFunctions.push_back(GV); 339 CurFn = &FnDebugInfo[GV]; 374 const Function *GV = MF->getFunction() [all...] |
/external/llvm/lib/CodeGen/ |
GlobalMerge.cpp | 144 /// contains GV 145 bool isMustKeepGlobalVariable(const GlobalVariable *GV) const { 146 return MustKeepGlobalVariables.count(GV); 268 GlobalVariable *GV = Globals[GI]; 280 for (auto &U : GV->uses()) { 477 const GlobalVariable *GV = M.getGlobalVariable("llvm.used"); 478 if (!GV || !GV->hasInitializer()) return; 481 const ConstantArray *InitList = cast<ConstantArray>(GV->getInitializer()); 504 if (const GlobalVariable *GV [all...] |
/external/llvm/lib/ExecutionEngine/Interpreter/ |
ExternalFunctions.cpp | 303 GenericValue GV; 304 GV.IntVal = 0; 305 return GV; 332 GenericValue GV; 333 GV.IntVal = APInt(32, strlen(FmtStr)); 336 case 0: return GV; // Null terminator... 401 return GV; 412 GenericValue GV = lle_X_sprintf(FT, NewArgs); 414 return GV; 426 GenericValue GV; [all...] |
/external/llvm/lib/IR/ |
IRBuilder.cpp | 32 GlobalVariable *GV = new GlobalVariable(M, StrConstant->getType(), 37 GV->setUnnamedAddr(true); 38 return GV;
|