Home
last modified time | relevance | path

Searched refs:getGlobal (Results 1 – 25 of 166) sorted by relevance

1234567

/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGAddressAnalysis.cpp43 if (A->getGlobal() == B->getGlobal()) { in equalBaseIndex()
159 auto *GV0 = cast<GlobalAddressSDNode>(BasePtr0.getBase())->getGlobal(); in computeAliasing()
160 auto *GV1 = cast<GlobalAddressSDNode>(BasePtr1.getBase())->getGlobal(); in computeAliasing()
/freebsd/contrib/llvm-project/clang/lib/AST/ByteCode/
H A DProgram.h74 Block *getGlobal(unsigned Idx) { in getGlobal() function
80 std::optional<unsigned> getGlobal(const ValueDecl *VD);
81 std::optional<unsigned> getGlobal(const Expr *E);
H A DProgram.cpp115 std::optional<unsigned> Program::getGlobal(const ValueDecl *VD) { in getGlobal() function in Program
135 std::optional<unsigned> Program::getGlobal(const Expr *E) { in getGlobal() function in Program
143 if (auto Idx = getGlobal(VD)) in getOrCreateGlobal()
235 if (auto Idx = getGlobal(E)) in createGlobal()
/freebsd/contrib/llvm-project/llvm/lib/Target/AVR/
H A DAVRMCInstLower.cpp41 bool IsFunction = MO.isGlobal() && isa<Function>(MO.getGlobal()); in lowerSymbolOperand()
89 lowerSymbolOperand(MO, Printer.getSymbol(MO.getGlobal()), Subtarget); in lowerInstruction()
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCAsmPrinter.cpp315 const GlobalValue *GV = MO.getGlobal(); in PrintSymbolOperand()
491 const GlobalValue *GV = MO.getGlobal(); in getCodeModel()
636 const GlobalValue *GValue = CalleeMO.getGlobal(); in LowerPATCHPOINT()
743 const GlobalValue *GValue = MO.getGlobal(); in emitTlsCall()
759 return AP.getSymbol(MO.getGlobal()); in getMCSymbolForTOCPseudoMO()
780 const GlobalValue *GlobalV = MO.getGlobal(); in getTOCEntryTypeForMO()
884 TLSModel::Model Model = TM.getTLSModel(MO.getGlobal()); in emitInstruction()
1186 const GlobalVariable *GV = dyn_cast<GlobalVariable>(MO.getGlobal()); in emitInstruction()
1250 MO.isGlobal() && Subtarget->isGVIndirectSymbol(MO.getGlobal()); in emitInstruction()
1289 (!MO.isGlobal() || Subtarget->isGVIndirectSymbol(MO.getGlobal())) && in emitInstruction()
[all …]
H A DPPCMCInstLower.cpp39 const GlobalValue *GV = MO.getGlobal(); in GetSymbolFromOperand()
106 TLSModel::Model Model = TM.getTLSModel(MO.getGlobal()); in GetSymbolRef()
H A DPPCTLSDynamicCall.cpp233 if (MO.isGlobal() && MO.getGlobal()->hasName() && in processBlock()
234 MO.getGlobal()->getName() == "_$TLSML") in processBlock()
/freebsd/contrib/llvm-project/llvm/lib/Target/M68k/
H A DM68kMCInstLower.cpp46 return AsmPrinter.getSymbolPreferLocal(*MO.getGlobal()); in GetSymbolFromOperand()
58 const GlobalValue *GV = MO.getGlobal(); in GetSymbolFromOperand()
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsCCState.cpp75 llvm::StringRef Sym = G->getGlobal()->getName(); in getSpecialCallingConvForCallee()
76 Function *F = G->getGlobal()->getParent()->getFunction(Sym); in getSpecialCallingConvForCallee()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DCFGuardLongjmp.cpp88 auto *F = dyn_cast<Function>(MO.getGlobal()); in runOnMachineFunction()
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyDebugValueManager.cpp57 (OpA.isGlobal() && OpB.isGlobal() && OpA.getGlobal() == OpB.getGlobal())) in isSameScalarConst()
/freebsd/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBPFMCInstLower.cpp28 return Printer.getSymbol(MO.getGlobal()); in GetGlobalAddressSymbol()
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVMCInstLower.cpp36 MCRegister FuncReg = MAI->getFuncReg(dyn_cast<Function>(MO.getGlobal())); in lower()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVMergeBaseOffset.cpp129 << *HiOp1.getGlobal() << "\n"); in INITIALIZE_PASS()
152 const GlobalValue *GV = Hi.getOperand(1).getGlobal(); in foldOffset()
526 MO.ChangeToGA(ImmOp.getGlobal(), ImmOp.getOffset(), in foldIntoMemoryOps()
/freebsd/contrib/llvm-project/llvm/lib/Target/VE/
H A DVEMCInstLower.cpp63 return LowerSymbolOperand(MI, MO, AP.getSymbol(MO.getGlobal()), AP); in LowerOperand()
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZMCInstLower.cpp47 Symbol = AsmPrinter.getSymbol(MO.getGlobal()); in getExpr()
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonCopyToCombine.cpp662 .addGlobalAddress(HiOperand.getGlobal(), HiOperand.getOffset(), in emitCombineII()
670 .addGlobalAddress(LoOperand.getGlobal(), LoOperand.getOffset(), in emitCombineII()
759 .addGlobalAddress(HiOperand.getGlobal(), HiOperand.getOffset(), in emitCombineIR()
808 .addGlobalAddress(LoOperand.getGlobal(), LoOperand.getOffset(), in emitCombineRI()
/freebsd/contrib/llvm-project/llvm/lib/Target/XCore/
H A DXCoreMCInstLower.cpp41 Symbol = Printer.getSymbol(MO.getGlobal()); in LowerSymbolOperand()
/freebsd/contrib/llvm-project/llvm/lib/Target/ARC/
H A DARCMCInstLower.cpp39 Symbol = Printer.getSymbol(MO.getGlobal()); in LowerSymbolOperand()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86OptimizeLEAs.cpp158 Hash = hash_combine(Hash, Val.Disp->getGlobal()); in getHashValue()
223 MO1.getGlobal() == MO2.getGlobal()) || in isSimilarDispOp()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DLowerTypeTests.cpp309 GlobalObject *getGlobal() const { in getGlobal() function in __anonc00fd2a30111::GlobalTypeMember
859 auto *GV = cast<GlobalVariable>(G->getGlobal()); in buildBitSetsFromGlobalVariables()
899 GlobalVariable *GV = cast<GlobalVariable>(Globals[I]->getGlobal()); in buildBitSetsFromGlobalVariables()
1520 Function *F = cast<Function>(GTM->getGlobal()); in selectJumpTableArmEncoding()
1541 if (!llvm::cast<llvm::Function>(GTM->getGlobal()) in createJumpTable()
1545 IRB.CreateCall(JumpTableAsm, GTM->getGlobal()); in createJumpTable()
1710 Function *F = cast<Function>(Functions[I]->getGlobal()); in buildBitSetsFromFunctionsNative()
1779 Function *F = cast<Function>(GTM->getGlobal()); in buildBitSetsFromFunctionsWASM()
1847 Globals.empty() || isa<GlobalVariable>(Globals[0]->getGlobal()); in buildBitSetsFromDisjointSet()
1852 if (IsGlobalSet != isa<GlobalVariable>(Globals[Offset]->getGlobal())) in buildBitSetsFromDisjointSet()
/freebsd/contrib/llvm-project/llvm/lib/Target/CSKY/
H A DCSKYMCInstLower.cpp95 MCOp = lowerSymbolOperand(MO, Printer.getSymbol(MO.getGlobal())); in lowerOperand()
H A DCSKYISelLowering.cpp652 const GlobalValue *GV = S->getGlobal(); in LowerCall()
788 N->getGlobal(), CSKYCP::CPValue, 0, getModifier(Flags), false); in getTargetConstantPoolValue()
1090 return DAG.getTargetGlobalAddress(N->getGlobal(), DL, Ty, 0, Flags); in getTargetNode()
1127 const GlobalValue *GV = N->getGlobal(); in LowerGlobalAddress()
1244 TLSModel::Model Model = getTargetMachine().getTLSModel(N->getGlobal()); in LowerGlobalTLSAddress()
1285 CSKYConstantPoolConstant::Create(N->getGlobal(), CSKYCP::CPValue, PCAjust, in getStaticTLSAddr()
1297 MachinePointerInfo(N->getGlobal())); in getStaticTLSAddr()
1319 CSKYConstantPoolConstant::Create(N->getGlobal(), CSKYCP::CPValue, 4, in getDynamicTLSAddr()
/freebsd/contrib/llvm-project/llvm/lib/Target/MSP430/
H A DMSP430MCInstLower.cpp37 return Printer.getSymbol(MO.getGlobal()); in GetGlobalAddressSymbol()
/freebsd/contrib/llvm-project/llvm/lib/Target/Lanai/
H A DLanaiMCInstLower.cpp33 return Printer.getSymbol(MO.getGlobal()); in GetGlobalAddressSymbol()

1234567