Home
last modified time | relevance | path

Searched refs:getGlobal (Results 1 – 25 of 159) 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/Interp/
H A DProgram.h73 Block *getGlobal(unsigned Idx) { in getGlobal() function
79 std::optional<unsigned> getGlobal(const ValueDecl *VD);
80 std::optional<unsigned> getGlobal(const Expr *E);
H A DProgram.cpp109 std::optional<unsigned> Program::getGlobal(const ValueDecl *VD) { in getGlobal() function in Program
129 std::optional<unsigned> Program::getGlobal(const Expr *E) { in getGlobal() function in Program
137 if (auto Idx = getGlobal(VD)) in getOrCreateGlobal()
205 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()
91 lowerSymbolOperand(MO, Printer.getSymbol(MO.getGlobal()), Subtarget); in lowerInstruction()
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCAsmPrinter.cpp311 const GlobalValue *GV = MO.getGlobal(); in PrintSymbolOperand()
487 const GlobalValue *GV = MO.getGlobal(); in getCodeModel()
631 const GlobalValue *GValue = CalleeMO.getGlobal(); in LowerPATCHPOINT()
740 const GlobalValue *GValue = MO.getGlobal(); in EmitTlsCall()
756 return AP.getSymbol(MO.getGlobal()); in getMCSymbolForTOCPseudoMO()
777 const GlobalValue *GlobalV = MO.getGlobal(); in getTOCEntryTypeForMO()
876 TLSModel::Model Model = TM.getTLSModel(MO.getGlobal()); in emitInstruction()
1186 const GlobalVariable *GV = dyn_cast<GlobalVariable>(MO.getGlobal()); in emitInstruction()
1253 MO.isGlobal() && Subtarget->isGVIndirectSymbol(MO.getGlobal()); in emitInstruction()
1293 (!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.cpp237 if (MO.isGlobal() && MO.getGlobal()->hasName() && in processBlock()
238 MO.getGlobal()->getName() == "_$TLSML") in processBlock()
/freebsd/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/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/contrib/llvm-project/llvm/lib/CodeGen/
H A DCFGuardLongjmp.cpp88 auto *F = dyn_cast<Function>(MO.getGlobal()); in runOnMachineFunction()
H A DRegUsageInfoPropagate.cpp89 return dyn_cast<const Function>(MO.getGlobal()); in findCalledFunction()
/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/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/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 Register FuncReg = MAI->getFuncReg(dyn_cast<Function>(MO.getGlobal())); in lower()
/freebsd/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/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/VE/
H A DVEMCInstLower.cpp63 return LowerSymbolOperand(MI, MO, AP.getSymbol(MO.getGlobal()), AP); in LowerOperand()
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonCopyToCombine.cpp669 .addGlobalAddress(HiOperand.getGlobal(), HiOperand.getOffset(), in emitCombineII()
677 .addGlobalAddress(LoOperand.getGlobal(), LoOperand.getOffset(), in emitCombineII()
766 .addGlobalAddress(HiOperand.getGlobal(), HiOperand.getOffset(), in emitCombineIR()
815 .addGlobalAddress(LoOperand.getGlobal(), LoOperand.getOffset(), in emitCombineRI()
/freebsd/contrib/llvm-project/llvm/lib/Target/XCore/
H A DXCoreMCInstLower.cpp42 Symbol = Printer.getSymbol(MO.getGlobal()); in LowerSymbolOperand()
/freebsd/contrib/llvm-project/llvm/lib/Target/ARC/
H A DARCMCInstLower.cpp40 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.cpp299 GlobalObject *getGlobal() const { in getGlobal() function in __anonc00fd2a30111::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()
1672 Function *F = cast<Function>(Functions[I]->getGlobal()); in buildBitSetsFromFunctionsNative()
1741 Function *F = cast<Function>(GTM->getGlobal()); in buildBitSetsFromFunctionsWASM()
1809 Globals.empty() || isa<GlobalVariable>(Globals[0]->getGlobal()); in buildBitSetsFromDisjointSet()
1814 if (IsGlobalSet != isa<GlobalVariable>(Globals[Offset]->getGlobal())) in buildBitSetsFromDisjointSet()

1234567