HomeSort by relevance Sort by last modified time
    Searched defs:GV (Results 26 - 50 of 91) sorted by null

12 3 4

  /external/llvm/lib/CodeGen/
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);
MachineModuleInfo.cpp 324 const GlobalVariable *GV = M.getGlobalVariable("llvm.used");
325 if (!GV || !GV->hasInitializer()) return;
328 const ConstantArray *InitList = cast<ConstantArray>(GV->getInitializer());
ShadowStackGC.cpp 248 Constant *GV = new GlobalVariable(*F.getParent(), FrameMap->getType(), true,
256 return ConstantExpr::getGetElementPtr(GV, GEPIndices);
  /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/llvm/lib/IR/
Module.cpp 201 GlobalVariable *GV = dyn_cast_or_null<GlobalVariable>(getNamedValue(Name));
202 if (!GV) {
212 Type *GVTy = GV->getType();
215 return ConstantExpr::getBitCast(GV, PTy);
218 return GV;
381 bool Module::isMaterializable(const GlobalValue *GV) const {
383 return Materializer->isMaterializable(GV);
387 bool Module::isDematerializable(const GlobalValue *GV) const {
389 return Materializer->isDematerializable(GV);
393 bool Module::Materialize(GlobalValue *GV, std::string *ErrInfo)
    [all...]
ConstantFold.cpp     [all...]
  /external/llvm/lib/LTO/
LTOModule.cpp 314 if (const GlobalVariable *gv = dyn_cast<GlobalVariable>(v)) {
315 addObjCClass(gv);
321 if (const GlobalVariable *gv = dyn_cast<GlobalVariable>(v)) {
322 addObjCCategory(gv);
328 if (const GlobalVariable *gv = dyn_cast<GlobalVariable>(v)) {
329 addObjCClassRef(gv);
351 static bool canBeHidden(const GlobalValue *GV) {
353 GlobalValue::LinkageTypes L = GV->getLinkage();
358 if (GV->hasUnnamedAddr())
363 if (const GlobalVariable *Var = dyn_cast<GlobalVariable>(GV)) {
385 const GlobalVariable *gv = dyn_cast<GlobalVariable>(def); local
    [all...]
  /external/llvm/lib/Target/MSP430/
MSP430ISelDAGToDAG.cpp 49 const GlobalValue *GV;
57 : BaseType(RegBase), Disp(0), GV(nullptr), CP(nullptr),
62 return GV != nullptr || CP != nullptr || ES != nullptr || JT != -1;
74 if (GV) {
75 errs() << "GV ";
76 GV->dump();
149 AM.GV = G->getGlobal();
231 // Address could not have picked a GV address for the displacement.
232 AM.GV == nullptr &&
267 if (AM.GV)
    [all...]
  /external/llvm/lib/Target/R600/
AMDGPUPromoteAlloca.cpp 81 GlobalVariable *GV = I;
82 PointerType *GVTy = GV->getType();
85 for (Value::use_iterator U = GV->use_begin(),
86 UE = GV->use_end(); U != UE; ++U) {
280 GlobalVariable *GV = new GlobalVariable(
318 Value *Offset = Builder.CreateGEP(GV, Indices);
  /external/llvm/lib/Target/X86/
X86AsmPrinter.cpp 82 const GlobalValue *GV = MO.getGlobal();
86 GVSym = P.getSymbolWithGlobalValueBase(GV, "$stub");
90 GVSym = P.getSymbolWithGlobalValueBase(GV, "$non_lazy_ptr");
92 GVSym = P.getSymbol(GV);
101 MCSymbol *Sym = P.getSymbolWithGlobalValueBase(GV, "$non_lazy_ptr");
106 StubValueTy(P.getSymbol(GV), !GV->hasInternalLinkage());
108 MCSymbol *Sym = P.getSymbolWithGlobalValueBase(GV, "$non_lazy_ptr");
114 StubValueTy(P.getSymbol(GV), !GV->hasInternalLinkage())
    [all...]
X86MCInstLower.cpp 102 const GlobalValue *GV = MO.getGlobal();
103 AsmPrinter.getNameWithPrefix(Name, GV);
176 default: llvm_unreachable("Unknown target flag on GV operand");
    [all...]
  /external/llvm/tools/bugpoint/
ExtractFunction.cpp 52 Function* globalInitUsesExternalBA(GlobalVariable* GV) {
53 if (!GV->hasInitializer())
56 Constant *I = GV->getInitializer();
231 GlobalVariable *GV = M1->getNamedGlobal(GlobalName);
232 if (!GV || GV->isDeclaration() || GV->hasLocalLinkage() ||
233 !GV->use_empty()) return;
236 ConstantArray *InitList = dyn_cast<ConstantArray>(GV->getInitializer());
265 GV->eraseFromParent()
    [all...]
  /external/llvm/lib/CodeGen/AsmPrinter/
EHStreamer.cpp 667 const GlobalVariable *GV = *I;
670 Asm->EmitTTypeReference(GV, TTypeEncoding);
  /external/llvm/include/llvm/CodeGen/
MachineOperand.h 175 const GlobalValue *GV; // For MO_GlobalAddress.
435 return Contents.OffsetedInfo.Val.GV;
636 static MachineOperand CreateGA(const GlobalValue *GV, int64_t Offset,
639 Op.Contents.OffsetedInfo.Val.GV = GV;
  /external/llvm/lib/Target/ARM/
ARMExpandPseudoInsts.cpp     [all...]
ARMAsmPrinter.cpp 82 const GlobalValue *GV = dyn_cast<GlobalValue>(CV->stripPointerCasts());
83 assert(GV && "C++ constructor pointer was not a GlobalValue!");
85 const MCExpr *E = MCSymbolRefExpr::Create(GetARMGVSymbol(GV,
161 const GlobalValue *GV = MO.getGlobal();
168 O << *GetARMGVSymbol(GV, TF);
796 MCSymbol *ARMAsmPrinter::GetARMGVSymbol(const GlobalValue *GV,
800 Subtarget->GVIsIndirectSymbol(GV, TM.getRelocationModel());
803 return getSymbol(GV);
806 MCSymbol *MCSym = getSymbolWithGlobalValueBase(GV, "$non_lazy_ptr");
810 GV->hasHiddenVisibility() ? MMIMachO.getHiddenGVStubEntry(MCSym
    [all...]
ARMCodeEmitter.cpp 339 void emitGlobalAddress(const GlobalValue *GV, unsigned Reloc,
469 void ARMCodeEmitter::emitGlobalAddress(const GlobalValue *GV, unsigned Reloc,
474 const_cast<GlobalValue *>(GV),
477 const_cast<GlobalValue *>(GV), ACPV,
640 const GlobalValue *GV = cast<ARMConstantPoolConstant>(ACPV)->getGV();
641 if (GV) {
643 emitGlobalAddress(GV, ARM::reloc_arm_machine_cp_entry,
644 isa<Function>(GV),
645 Subtarget->GVIsIndirectSymbol(GV, RelocM),
665 if (const GlobalValue *GV = dyn_cast<GlobalValue>(CV))
    [all...]
  /external/llvm/lib/Target/PowerPC/
PPCAsmPrinter.cpp 173 const GlobalValue *GV = MO.getGlobal();
178 (GV->isDeclaration() || GV->isWeakForLinker())) {
179 if (!GV->hasHiddenVisibility()) {
180 SymToPrint = getSymbolWithGlobalValueBase(GV, "$non_lazy_ptr");
186 StubValueTy(getSymbol(GV), !GV->hasInternalLinkage());
187 } else if (GV->isDeclaration() || GV->hasCommonLinkage() ||
188 GV->hasAvailableExternallyLinkage())
    [all...]
  /external/llvm/tools/llvm-nm/
llvm-nm.cpp 641 static char getSymbolNMTypeChar(const GlobalValue &GV) {
642 if (GV.getType()->getElementType()->isFunctionTy())
650 const GlobalValue *GV = Obj.getSymbolGV(I->getRawDataRefImpl());
651 if (!GV)
653 return getSymbolNMTypeChar(*GV);
738 const GlobalValue *GV = IR->getSymbolGV(I->getRawDataRefImpl());
739 if (GV && isa<GlobalAlias>(GV))
    [all...]
  /external/clang/test/SemaCXX/
warn-thread-safety-parsing.cpp 135 // Guarded Var Attribute (gv)
154 class GUARDED_VAR GV { // \
    [all...]
  /external/llvm/lib/Analysis/
ValueTracking.cpp 274 if (GlobalValue *GV = dyn_cast<GlobalValue>(V)) {
275 unsigned Align = GV->getAlignment();
277 if (GlobalVariable *GVar = dyn_cast<GlobalVariable>(GV)) {
    [all...]
  /external/llvm/lib/ExecutionEngine/
ExecutionEngine.cpp 94 GVMemoryBlock(const GlobalVariable *GV)
95 : CallbackVH(const_cast<GlobalVariable*>(GV)) {}
100 static char *Create(const GlobalVariable *GV, const DataLayout& TD) {
101 Type *ElTy = GV->getType()->getElementType();
105 TD.getPreferredAlignment(GV))
107 new(RawMemory) GVMemoryBlock(GV);
121 char *ExecutionEngine::getMemoryForGV(const GlobalVariable *GV) {
122 return GVMemoryBlock::Create(GV, *getDataLayout());
168 void ExecutionEngine::addGlobalMapping(const GlobalValue *GV, void *Addr) {
171 DEBUG(dbgs() << "JIT: Map \'" << GV->getName(
    [all...]
  /external/llvm/lib/Target/CppBackend/
CPPBackend.cpp 153 void printVariableUses(const GlobalVariable *GV);
154 void printVariableHead(const GlobalVariable *GV);
155 void printVariableBody(const GlobalVariable *GV);
435 if (const GlobalVariable* GV = dyn_cast<GlobalVariable>(val)) {
437 getTypePrefix(GV->getType()->getElementType());
    [all...]
  /external/llvm/lib/Target/Hexagon/
HexagonISelDAGToDAG.cpp 399 const GlobalValue* GV =
402 CurDAG->getTargetGlobalAddress(GV, dl, PointerTy, 0);
782 const GlobalValue* GV =
785 CurDAG->getTargetGlobalAddress(GV, dl, PointerTy, 0);
    [all...]
HexagonISelLowering.cpp     [all...]

Completed in 1776 milliseconds

12 3 4