Home
last modified time | relevance | path

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

123456

/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGAddressAnalysis.cpp43 if (A->getGlobal() == B->getGlobal()) { in equalBaseIndex()
163 auto *GV0 = cast<GlobalAddressSDNode>(BasePtr0.getBase())->getGlobal(); in computeAliasing()
164 auto *GV1 = cast<GlobalAddressSDNode>(BasePtr1.getBase())->getGlobal(); in computeAliasing()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AVR/
H A DAVRMCInstLower.cpp41 bool IsFunction = MO.isGlobal() && isa<Function>(MO.getGlobal()); in lowerSymbolOperand()
91 lowerSymbolOperand(MO, Printer.getSymbol(MO.getGlobal()), Subtarget); in lowerInstruction()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCAsmPrinter.cpp303 const GlobalValue *GV = MO.getGlobal(); in PrintSymbolOperand()
690 const GlobalValue *GValue = MO.getGlobal(); in EmitTlsCall()
706 return AP.getSymbol(MO.getGlobal()); in getMCSymbolForTOCPseudoMO()
727 const GlobalValue *GlobalV = MO.getGlobal(); in getTOCEntryTypeForMO()
1238 const GlobalValue *GValue = MO.getGlobal(); in emitInstruction()
1257 const GlobalValue *GValue = MO.getGlobal(); in emitInstruction()
1317 const GlobalValue *GValue = MO.getGlobal(); in emitInstruction()
1335 const GlobalValue *GValue = MO.getGlobal(); in emitInstruction()
1374 const GlobalValue *GValue = MO.getGlobal(); in emitInstruction()
1392 const GlobalValue *GValue = MO.getGlobal(); in emitInstruction()
[all …]
H A DPPCMCInstLower.cpp37 const GlobalValue *GV = MO.getGlobal(); in GetSymbolFromOperand()
101 TLSModel::Model Model = TM.getTLSModel(MO.getGlobal()); in GetSymbolRef()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/M68k/
H A DM68kMCInstLower.cpp45 return AsmPrinter.getSymbolPreferLocal(*MO.getGlobal()); in GetSymbolFromOperand()
57 const GlobalValue *GV = MO.getGlobal(); in GetSymbolFromOperand()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsCCState.cpp76 llvm::StringRef Sym = G->getGlobal()->getName(); in getSpecialCallingConvForCallee()
77 Function *F = G->getGlobal()->getParent()->getFunction(Sym); in getSpecialCallingConvForCallee()
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/Interp/
H A DProgram.h73 Block *getGlobal(unsigned Idx) { in getGlobal() function
79 std::optional<unsigned> getGlobal(const ValueDecl *VD);
H A DProgram.cpp105 std::optional<unsigned> Program::getGlobal(const ValueDecl *VD) { in getGlobal() function in Program
131 if (auto Idx = getGlobal(VD)) in getOrCreateGlobal()
162 assert(!getGlobal(VD)); in createGlobal()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/
H A DCFGuardLongjmp.cpp87 auto *F = dyn_cast<Function>(MO.getGlobal()); in runOnMachineFunction()
H A DRegUsageInfoPropagate.cpp89 return dyn_cast<const Function>(MO.getGlobal()); in findCalledFunction()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBPFMCInstLower.cpp28 return Printer.getSymbol(MO.getGlobal()); in GetGlobalAddressSymbol()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/WebAssembly/AsmParser/
H A DWebAssemblyAsmTypeCheck.cpp192 bool WebAssemblyAsmTypeCheck::getGlobal(SMLoc ErrorLoc, const MCInst &Inst, in getGlobal() function in llvm::WebAssemblyAsmTypeCheck
270 if (getGlobal(Operands[1]->getStartLoc(), Inst, Type)) in typeCheck()
274 if (getGlobal(Operands[1]->getStartLoc(), Inst, Type)) in typeCheck()
H A DWebAssemblyAsmTypeCheck.h50 bool getGlobal(SMLoc ErrorLoc, const MCInst &Inst, wasm::ValType &Type);
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVMCInstLower.cpp34 Register FuncReg = MAI->getFuncReg(dyn_cast<Function>(MO.getGlobal())); in lower()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyDebugValueManager.cpp57 (OpA.isGlobal() && OpB.isGlobal() && OpA.getGlobal() == OpB.getGlobal())) in isSameScalarConst()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Sparc/
H A DSparcMCInstLower.cpp44 Symbol = AP.getSymbol(MO.getGlobal()); in LowerSymbolOperand()
H A DLeonPasses.cpp91 StringRef FuncName = MO.getGlobal()->getName(); in runOnMachineFunction()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/VE/
H A DVEMCInstLower.cpp63 return LowerSymbolOperand(MI, MO, AP.getSymbol(MO.getGlobal()), AP); in LowerOperand()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZMCInstLower.cpp47 Symbol = AsmPrinter.getSymbol(MO.getGlobal()); in getExpr()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/XCore/
H A DXCoreMCInstLower.cpp42 Symbol = Printer.getSymbol(MO.getGlobal()); in LowerSymbolOperand()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/ARC/
H A DARCMCInstLower.cpp40 Symbol = Printer.getSymbol(MO.getGlobal()); in LowerSymbolOperand()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonCopyToCombine.cpp668 .addGlobalAddress(HiOperand.getGlobal(), HiOperand.getOffset(), in emitCombineII()
676 .addGlobalAddress(LoOperand.getGlobal(), LoOperand.getOffset(), in emitCombineII()
765 .addGlobalAddress(HiOperand.getGlobal(), HiOperand.getOffset(), in emitCombineIR()
814 .addGlobalAddress(LoOperand.getGlobal(), LoOperand.getOffset(), in emitCombineRI()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/CSKY/
H A DCSKYMCInstLower.cpp96 MCOp = lowerSymbolOperand(MO, Printer.getSymbol(MO.getGlobal())); in lowerOperand()
/freebsd-14.2/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-14.2/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DLowerTypeTests.cpp299 GlobalObject *getGlobal() const { in getGlobal() function in __anonecc095190111::GlobalTypeMember
837 auto *GV = cast<GlobalVariable>(G->getGlobal()); in buildBitSetsFromGlobalVariables()
877 GlobalVariable *GV = cast<GlobalVariable>(Globals[I]->getGlobal()); in buildBitSetsFromGlobalVariables()
1466 Function *F = cast<Function>(GTM->getGlobal()); in selectJumpTableArmEncoding()
1486 if (!llvm::cast<llvm::Function>(GTM->getGlobal()) in createJumpTable()
1491 cast<Function>(GTM->getGlobal())); in createJumpTable()
1670 Function *F = cast<Function>(Functions[I]->getGlobal()); in buildBitSetsFromFunctionsNative()
1739 Function *F = cast<Function>(GTM->getGlobal()); in buildBitSetsFromFunctionsWASM()
1807 Globals.empty() || isa<GlobalVariable>(Globals[0]->getGlobal()); in buildBitSetsFromDisjointSet()
1812 if (IsGlobalSet != isa<GlobalVariable>(Globals[Offset]->getGlobal())) in buildBitSetsFromDisjointSet()

123456