Searched refs:GV (Results 76 - 100 of 178) sorted by relevance

12345678

/macosx-10.10.1/llvmCore-3425.0.34/lib/Target/Hexagon/
H A DHexagonAsmPrinter.cpp65 const GlobalValue *GV) const {
67 if (!GV) {
72 AsmPrinter::EmitAlignment(NumBits, GV);
/macosx-10.10.1/llvmCore-3425.0.34/include/llvm/CodeGen/
H A DMachineOperand.h171 const GlobalValue *GV; // For MO_GlobalAddress. member in union:llvm::MachineOperand::__anon9733::__anon9735::__anon9736
427 return Contents.OffsetedInfo.Val.GV;
615 static MachineOperand CreateGA(const GlobalValue *GV, int64_t Offset,
618 Op.Contents.OffsetedInfo.Val.GV = GV;
/macosx-10.10.1/llvmCore-3425.0.34/lib/Transforms/Scalar/
H A DSCCP.cpp226 void TrackValueOfGlobalVariable(GlobalVariable *GV) { argument
228 if (GV->getType()->getElementType()->isSingleValueType()) {
229 LatticeVal &IV = TrackedGlobals[GV];
230 if (!isa<UndefValue>(GV->getInitializer()))
231 IV.markConstant(GV->getInitializer());
1033 GlobalVariable *GV = cast<GlobalVariable>(SI.getOperand(1));
1034 DenseMap<GlobalVariable*, LatticeVal>::iterator I = TrackedGlobals.find(GV);
1038 mergeInValue(I->second, GV, getValueState(SI.getOperand(0)));
1067 if (GlobalVariable *GV = dyn_cast<GlobalVariable>(Ptr)) {
1071 TrackedGlobals.find(GV);
1667 AddressIsTaken(const GlobalValue *GV) argument
1933 GlobalVariable *GV = I->first; local
[all...]
H A DCodeGenPrepare.cpp1488 GlobalVariable *GV = dyn_cast<GlobalVariable>(GEP->getPointerOperand()); local
1489 if (!GV || !GV->isConstant() || !GV->hasDefinitiveInitializer())
1492 Constant *Arr = GV->getInitializer();
1555 if (GV->hasUnnamedAddr() && GV->hasPrivateLinkage() && GV->use_empty())
1556 GV->eraseFromParent();
/macosx-10.10.1/llvmCore-3425.0.34/lib/Transforms/Instrumentation/
H A DGCOVProfiling.cpp621 GlobalVariable *GV = M->getGlobalVariable("__llvm_gcov_global_state_pred"); local
622 if (!GV) {
623 GV = new GlobalVariable(*M, Type::getInt32Ty(*Ctx), false,
628 GV->setUnnamedAddr(true);
630 return GV;
666 GlobalVariable *GV = I->first; local
668 cast<ArrayType>(GV->getType()->getElementType())->getNumElements();
671 Builder.CreateConstGEP2_64(GV, 0, 0));
775 GlobalVariable *GV = I->first; local
776 Constant *Null = Constant::getNullValue(GV
[all...]
/macosx-10.10.1/llvmCore-3425.0.34/lib/Target/X86/
H A DX86FastISel.cpp176 /// The address is either pre-computed, i.e. Ptr, or a GlobalAddress, i.e. GV.
449 (!AM.GV || !Subtarget->isPICStyleRIPRel()) &&
484 if (const GlobalValue *GV = dyn_cast<GlobalValue>(V)) {
490 if (const GlobalVariable *GVar = dyn_cast<GlobalVariable>(GV))
496 if (const GlobalAlias *GA = dyn_cast<GlobalAlias>(GV))
508 AM.GV = GV;
511 unsigned char GVFlags = Subtarget->ClassifyGlobalReference(GV, TM);
544 StubAM.GV = GV;
1598 const GlobalValue *GV = 0; local
[all...]
/macosx-10.10.1/llvmCore-3425.0.34/lib/CodeGen/AsmPrinter/
H A DDwarfCompileUnit.cpp1165 DIGlobalVariable GV(N);
1166 if (!GV.Verify())
1169 DIE *VariableDIE = new DIE(GV.getTag());
1174 addString(VariableDIE, dwarf::DW_AT_name, GV.getDisplayName());
1175 StringRef LinkageName = GV.getLinkageName();
1176 bool isGlobalVariable = GV.getGlobal() != NULL;
1181 DIType GTy = GV.getType();
1185 if (!GV.isLocalToUnit())
1189 addSourceLine(VariableDIE, GV);
1191 DIDescriptor GVContext = GV
[all...]
/macosx-10.10.1/llvmCore-3425.0.34/lib/Target/
H A DTargetData.cpp639 unsigned TargetData::getPreferredAlignment(const GlobalVariable *GV) const {
640 Type *ElemType = GV->getType()->getElementType();
642 unsigned GVAlignment = GV->getAlignment();
649 if (GV->hasInitializer() && GVAlignment == 0) {
663 unsigned TargetData::getPreferredAlignmentLog(const GlobalVariable *GV) const {
664 return Log2_32(getPreferredAlignment(GV));
/macosx-10.10.1/llvmCore-3425.0.34/lib/Target/ARM/
H A DARMConstantPoolValue.cpp81 // Two PC relative constpool entries containing the same GV address or
133 ARMConstantPoolConstant::Create(const GlobalValue *GV, argument
135 return new ARMConstantPoolConstant((Type*)Type::getInt32Ty(GV->getContext()),
136 GV, 0, ARMCP::CPValue, 0,
H A DARMJITInfo.h61 virtual void *emitGlobalValueIndirectSym(const GlobalValue* GV, void *ptr,
H A DARMJITInfo.cpp141 void *ARMJITInfo::emitGlobalValueIndirectSym(const GlobalValue *GV, void *Ptr, argument
147 GV, Buffer, sizeof(Buffer), /*Alignment=*/4);
174 << "] for GV '" << F->getName() << "'\n";
H A DARMAsmPrinter.cpp309 const GlobalValue *GV = dyn_cast<GlobalValue>(CV->stripPointerCasts()); local
310 assert(GV && "C++ constructor pointer was not a GlobalValue!");
312 const MCExpr *E = MCSymbolRefExpr::Create(Mang->getSymbol(GV),
361 const GlobalValue *GV = MO.getGlobal(); local
368 O << *Mang->getSymbol(GV);
891 MCSymbol *ARMAsmPrinter::GetARMGVSymbol(const GlobalValue *GV) { argument
893 Subtarget->GVIsIndirectSymbol(GV, TM.getRelocationModel());
895 return Mang->getSymbol(GV);
898 MCSymbol *MCSym = GetSymbolWithGlobalValueBase(GV, "$non_lazy_ptr");
902 GV
927 const GlobalValue *GV = cast<ARMConstantPoolConstant>(ACPV)->getGV(); local
1410 const GlobalValue *GV = MI->getOperand(0).getGlobal(); local
1429 const GlobalValue *GV = MI->getOperand(1).getGlobal(); local
1467 const GlobalValue *GV = MI->getOperand(2).getGlobal(); local
[all...]
H A DARMCodeEmitter.cpp347 void emitGlobalAddress(const GlobalValue *GV, unsigned Reloc,
473 void ARMCodeEmitter::emitGlobalAddress(const GlobalValue *GV, unsigned Reloc, argument
478 const_cast<GlobalValue *>(GV),
481 const_cast<GlobalValue *>(GV), ACPV,
644 const GlobalValue *GV = cast<ARMConstantPoolConstant>(ACPV)->getGV(); local
645 if (GV) {
647 emitGlobalAddress(GV, ARM::reloc_arm_machine_cp_entry,
648 isa<Function>(GV),
649 Subtarget->GVIsIndirectSymbol(GV, RelocM),
669 if (const GlobalValue *GV
[all...]
/macosx-10.10.1/llvmCore-3425.0.34/lib/Target/NVPTX/
H A DNVPTXISelLowering.h74 SDValue LowerGlobalAddress(const GlobalValue *GV, int64_t Offset,
H A DNVPTXTargetObjectFile.h95 getExplicitSectionGlobal(const GlobalValue *GV, SectionKind Kind, argument
/macosx-10.10.1/llvmCore-3425.0.34/lib/Transforms/Utils/
H A DLocal.cpp778 if (GlobalValue *GV = dyn_cast<GlobalValue>(V)) {
781 if (GV->isDeclaration()) return Align;
785 if (GV->isWeakForLinker()) return Align;
787 if (GV->getAlignment() >= PrefAlign)
788 return GV->getAlignment();
793 if (!GV->hasSection() || GV->getAlignment() == 0)
794 GV->setAlignment(PrefAlign);
795 return GV->getAlignment();
/macosx-10.10.1/llvmCore-3425.0.34/lib/VMCore/
H A DValue.cpp149 } else if (GlobalValue *GV = dyn_cast<GlobalValue>(V)) {
150 if (Module *P = GV->getParent())
403 if (const GlobalVariable *GV = dyn_cast<GlobalVariable>(V))
404 return !GV->hasExternalWeakLinkage();
H A DConstantFold.cpp985 GlobalValue *GV = cast<GlobalValue>(CE1->getOperand(0)); local
988 unsigned GVAlign = GV->getAlignment();
989 if (isa<Function>(GV))
1376 } else if (const GlobalValue *GV = dyn_cast<GlobalValue>(V1)) {
1390 if (!isa<GlobalAlias>(GV) && !isa<GlobalAlias>(GV2))
1391 if (!GV->hasExternalWeakLinkage() || !GV2->hasExternalWeakLinkage())
1399 if (!GV->hasExternalWeakLinkage() && !isa<GlobalAlias>(GV))
1463 if (const GlobalValue *GV = dyn_cast<GlobalValue>(CE1Op0)) {
1464 if (GV
[all...]
H A DCore.cpp1130 GlobalValue *GV = unwrap<GlobalValue>(Global); local
1134 GV->setLinkage(GlobalValue::ExternalLinkage);
1137 GV->setLinkage(GlobalValue::AvailableExternallyLinkage);
1140 GV->setLinkage(GlobalValue::LinkOnceAnyLinkage);
1143 GV->setLinkage(GlobalValue::LinkOnceODRLinkage);
1146 GV->setLinkage(GlobalValue::LinkOnceODRAutoHideLinkage);
1149 GV->setLinkage(GlobalValue::WeakAnyLinkage);
1152 GV->setLinkage(GlobalValue::WeakODRLinkage);
1155 GV->setLinkage(GlobalValue::AppendingLinkage);
1158 GV
1250 GlobalVariable *GV = unwrap<GlobalVariable>(GlobalVar); local
1258 GlobalVariable *GV = unwrap<GlobalVariable>(GlobalVar); local
1270 GlobalVariable* GV = unwrap<GlobalVariable>(GlobalVar); local
[all...]
/macosx-10.10.1/llvmCore-3425.0.34/lib/Analysis/
H A DDbgInfoPrinter.cpp125 if (GlobalVariable *GV = dyn_cast<GlobalVariable>(const_cast<Value*>(V))) {
126 Value *DIGV = findDbgGlobalDeclare(GV);
/macosx-10.10.1/llvmCore-3425.0.34/lib/Target/PowerPC/
H A DPPCMCInstLower.cpp40 const GlobalValue *GV = MO.getGlobal(); local
46 AP.Mang->getNameWithPrefix(Name, GV, isImplicitlyPrivate);
/macosx-10.10.1/swig-12/Lib/perl5/
H A Dperlrun.swg314 GV *gv = *(GV**) hv_fetch(stash, "OWNER", 5, TRUE);
345 GV *gv=*(GV**)hv_fetch(stash, "OWNER", 5, TRUE);
/macosx-10.10.1/llvmCore-3425.0.34/include/llvm/Target/
H A DTargetMachine.h202 TLSModel::Model getTLSModel(const GlobalValue *GV) const;
/macosx-10.10.1/llvmCore-3425.0.34/lib/CodeGen/
H A DMachineModuleInfo.cpp323 const GlobalVariable *GV = M.getGlobalVariable("llvm.used"); local
324 if (!GV || !GV->hasInitializer()) return;
327 const ConstantArray *InitList = dyn_cast<ConstantArray>(GV->getInitializer());
/macosx-10.10.1/llvmCore-3425.0.34/lib/ExecutionEngine/JIT/
H A DJITDwarfEmitter.cpp454 const GlobalVariable *GV = TypeInfos[M - 1]; local
456 if (GV) {
458 JCE->emitInt32((intptr_t)Jit.getOrEmitGlobalVariable(GV));
460 JCE->emitInt64((intptr_t)Jit.getOrEmitGlobalVariable(GV));

Completed in 323 milliseconds

12345678