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

1 2 3 4 56 7 8 910

  /external/llvm/lib/Transforms/Instrumentation/
GCOVProfiling.cpp 814 GlobalVariable *GV = M->getGlobalVariable("__llvm_gcov_global_state_pred");
815 if (!GV) {
816 GV = new GlobalVariable(*M, Type::getInt32Ty(*Ctx), false,
821 GV->setUnnamedAddr(true);
823 return GV;
869 GlobalVariable *GV = CountersBySP[j].first;
871 cast<ArrayType>(GV->getType()->getElementType())->getNumElements();
874 Builder.CreateConstGEP2_64(GV, 0, 0));
    [all...]
AddressSanitizer.cpp 238 GlobalVariable *GV = cast<GlobalVariable>(V);
241 // We may already know the source location for GV, if it was merged
243 if (SourceLocation.insert(std::make_pair(GV, GVLoc)).second)
248 DynInitGlobals.insert(GV);
251 BlacklistedGlobals.insert(GV);
611 GlobalVariable *GV =
615 GV->setUnnamedAddr(true);
616 GV->setAlignment(1); // Strings may not be merged w/o setting align 1.
617 return GV;
    [all...]
  /external/llvm/lib/IR/
Core.cpp     [all...]
ConstantFold.cpp     [all...]
Value.cpp 152 } else if (GlobalValue *GV = dyn_cast<GlobalValue>(V)) {
153 if (Module *P = GV->getParent())
504 if (const GlobalVariable *GV = dyn_cast<GlobalVariable>(V))
505 return !GV->hasExternalWeakLinkage();
  /external/llvm/include/llvm/IR/
DataLayout.h 433 unsigned getPreferredAlignment(const GlobalVariable *GV) const;
438 unsigned getPreferredAlignmentLog(const GlobalVariable *GV) const;
  /external/llvm/lib/Target/AArch64/
AArch64MCInstLower.cpp 54 llvm_unreachable("Unexpected target flags with MO_GOT on GV operand");
62 llvm_unreachable("Unexpected target flags with MO_TLS on GV operand");
86 const GlobalValue *GV = MO.getGlobal();
87 Model = Printer.TM.getTLSModel(GV);
AArch64FastISel.cpp 133 unsigned AArch64MaterializeGV(const GlobalValue *GV);
242 unsigned AArch64FastISel::AArch64MaterializeGV(const GlobalValue *GV) {
244 if (GV->isThreadLocal())
252 unsigned char OpFlags = Subtarget->ClassifyGlobalReference(GV, TM);
254 EVT DestEVT = TLI.getValueType(GV->getType(), true);
265 .addGlobalAddress(GV, 0, AArch64II::MO_GOT | AArch64II::MO_PAGE);
271 .addGlobalAddress(GV, 0, AArch64II::MO_GOT | AArch64II::MO_PAGEOFF |
276 ADRPReg).addGlobalAddress(GV, 0, AArch64II::MO_PAGE);
282 .addGlobalAddress(GV, 0, AArch64II::MO_PAGEOFF | AArch64II::MO_NC)
299 else if (const GlobalValue *GV = dyn_cast<GlobalValue>(C)
    [all...]
  /external/llvm/lib/Target/ARM/
ARMJITInfo.cpp 142 void *ARMJITInfo::emitGlobalValueIndirectSym(const GlobalValue *GV, void *Ptr,
148 GV, Buffer, sizeof(Buffer), /*Alignment=*/4);
175 << "] for GV '" << F->getName() << "'\n";
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...]
ARMFastISel.cpp 186 unsigned ARMMaterializeGV(const GlobalValue *GV, MVT VT);
190 unsigned ARMLowerPICELF(const GlobalValue *GV, unsigned Align, MVT VT);
575 unsigned ARMFastISel::ARMMaterializeGV(const GlobalValue *GV, MVT VT) {
580 bool IsIndirect = Subtarget->GVIsIndirectSymbol(GV, RelocM);
587 const GlobalVariable *GVar = dyn_cast<GlobalVariable>(GV);
609 TII.get(Opc), DestReg).addGlobalAddress(GV, 0, TF));
612 unsigned Align = DL.getPrefTypeAlignment(GV->getType());
615 Align = DL.getTypeAllocSize(GV->getType());
619 return ARMLowerPICELF(GV, Align, VT);
625 ARMConstantPoolValue *CPV = ARMConstantPoolConstant::Create(GV, Id
    [all...]
  /external/llvm/lib/Target/PowerPC/
PPCMCInstLower.cpp 59 const GlobalValue *GV = MO.getGlobal();
60 TM.getNameWithPrefix(Name, GV, *Mang);
PPCFastISel.cpp 155 unsigned PPCMaterializeGV(const GlobalValue *GV, MVT VT);
    [all...]
PPCSubtarget.h 186 bool hasLazyResolverStub(const GlobalValue *GV,
  /prebuilts/misc/common/swig/include/2.0.11/perl5/
perlrun.swg 316 GV *gv = *(GV**)hv_fetch(stash, "OWNER", 5, TRUE);
317 if (isGV(gv)) {
318 HV *hv = GvHVn(gv);
347 GV *gv = *(GV**)hv_fetch(stash, "OWNER", 5, TRUE);
348 if (!isGV(gv))
349 gv_init(gv, stash, "OWNER", 5, FALSE)
    [all...]
  /external/clang/lib/CodeGen/
MicrosoftCXXABI.cpp 232 llvm::GlobalVariable *GV) const;
381 if (llvm::GlobalVariable *GV = CGM.getModule().getNamedGlobal(Name))
382 return GV;
    [all...]
  /external/llvm/lib/Target/Mips/
MipsCodeEmitter.cpp 93 void emitGlobalAddress(const GlobalValue *GV, unsigned Reloc,
312 void MipsCodeEmitter::emitGlobalAddress(const GlobalValue *GV, unsigned Reloc,
315 const_cast<GlobalValue *>(GV), 0,
  /external/llvm/lib/Target/X86/
X86FastISel.cpp 362 /// The address is either pre-computed, i.e. Ptr, or a GlobalAddress, i.e. GV.
546 if (const GlobalValue *GV = dyn_cast<GlobalValue>(V)) {
552 if (GV->isThreadLocal())
561 AM.GV = GV;
564 unsigned char GVFlags = Subtarget->ClassifyGlobalReference(GV, TM);
597 StubAM.GV = GV;
622 // Prevent loading GV stub multiple times in same MBB.
629 AM.GV = nullptr
    [all...]
X86JITInfo.cpp 449 void *X86JITInfo::emitGlobalValueIndirectSym(const GlobalValue* GV, void *ptr,
463 return JCE.allocIndirectGV(GV, Buffer, sizeof(Buffer), Alignment);
  /external/llvm/lib/Target/XCore/
XCoreISelLowering.cpp 257 const GlobalValue *GV,
262 if (GV->getType()->getElementType()->isFunctionTy())
265 const auto *GVar = dyn_cast<GlobalVariable>(GV);
266 if ((GV->hasSection() && StringRef(GV->getSection()).startswith(".cp.")) ||
267 (GVar && GVar->isConstant() && GV->hasLocalLinkage()))
273 static bool IsSmallObject(const GlobalValue *GV, const XCoreTargetLowering &XTL) {
277 Type *ObjType = GV->getType()->getPointerElementType();
289 const GlobalValue *GV = GN->getGlobal();
292 if (IsSmallObject(GV, *this))
    [all...]
  /external/llvm/lib/CodeGen/
MachineModuleInfo.cpp 324 const GlobalVariable *GV = M.getGlobalVariable("llvm.used");
325 if (!GV || !GV->hasInitializer()) return;
328 const ConstantArray *InitList = cast<ConstantArray>(GV->getInitializer());
  /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/llvm/lib/Analysis/
Lint.cpp 391 if (const GlobalVariable *GV = dyn_cast<GlobalVariable>(UnderlyingObject))
392 Assert1(!GV->isConstant(),
432 } else if (GlobalVariable *GV = dyn_cast<GlobalVariable>(Base)) {
435 if (GV->hasDefinitiveInitializer()) {
436 Type *GTy = GV->getType()->getElementType();
439 BaseAlign = GV->getAlignment();
MemoryBuiltins.cpp 428 if (GlobalVariable *GV = dyn_cast<GlobalVariable>(V))
429 return visitGlobalVariable(*GV);
552 SizeOffsetType ObjectSizeOffsetVisitor::visitGlobalVariable(GlobalVariable &GV){
553 if (!GV.hasDefinitiveInitializer())
556 APInt Size(IntTyBits, DL->getTypeAllocSize(GV.getType()->getElementType()));
557 return std::make_pair(align(Size, GV.getAlignment()), Zero);
  /external/llvm/lib/Target/NVPTX/
NVPTXAsmPrinter.cpp 68 if (const GlobalVariable *GV = dyn_cast<GlobalVariable>(V))
69 Globals.insert(GV);
79 /// VisitGlobalVariableForEmission - Add \p GV to the list of GlobalVariable
83 const GlobalVariable *GV, SmallVectorImpl<const GlobalVariable *> &Order,
87 if (Visited.count(GV))
91 if (Visiting.count(GV))
95 Visiting.insert(GV);
99 for (unsigned i = 0, e = GV->getNumOperands(); i != e; ++i)
100 DiscoverDependentGlobals(GV->getOperand(i), Others);
108 Order.push_back(GV);
    [all...]

Completed in 489 milliseconds

1 2 3 4 56 7 8 910