| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | SelectionDAGAddressAnalysis.cpp | 43 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 D | Program.h | 74 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 D | Program.cpp | 115 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 D | AVRMCInstLower.cpp | 41 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 D | PPCAsmPrinter.cpp | 315 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 D | PPCMCInstLower.cpp | 39 const GlobalValue *GV = MO.getGlobal(); in GetSymbolFromOperand() 106 TLSModel::Model Model = TM.getTLSModel(MO.getGlobal()); in GetSymbolRef()
|
| H A D | PPCTLSDynamicCall.cpp | 233 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 D | M68kMCInstLower.cpp | 46 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 D | MipsCCState.cpp | 75 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 D | CFGuardLongjmp.cpp | 88 auto *F = dyn_cast<Function>(MO.getGlobal()); in runOnMachineFunction()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/ |
| H A D | WebAssemblyDebugValueManager.cpp | 57 (OpA.isGlobal() && OpB.isGlobal() && OpA.getGlobal() == OpB.getGlobal())) in isSameScalarConst()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/BPF/ |
| H A D | BPFMCInstLower.cpp | 28 return Printer.getSymbol(MO.getGlobal()); in GetGlobalAddressSymbol()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/ |
| H A D | SPIRVMCInstLower.cpp | 36 MCRegister FuncReg = MAI->getFuncReg(dyn_cast<Function>(MO.getGlobal())); in lower()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/ |
| H A D | RISCVMergeBaseOffset.cpp | 129 << *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 D | VEMCInstLower.cpp | 63 return LowerSymbolOperand(MI, MO, AP.getSymbol(MO.getGlobal()), AP); in LowerOperand()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/ |
| H A D | SystemZMCInstLower.cpp | 47 Symbol = AsmPrinter.getSymbol(MO.getGlobal()); in getExpr()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
| H A D | HexagonCopyToCombine.cpp | 662 .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 D | XCoreMCInstLower.cpp | 41 Symbol = Printer.getSymbol(MO.getGlobal()); in LowerSymbolOperand()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/ARC/ |
| H A D | ARCMCInstLower.cpp | 39 Symbol = Printer.getSymbol(MO.getGlobal()); in LowerSymbolOperand()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86OptimizeLEAs.cpp | 158 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 D | LowerTypeTests.cpp | 309 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 D | CSKYMCInstLower.cpp | 95 MCOp = lowerSymbolOperand(MO, Printer.getSymbol(MO.getGlobal())); in lowerOperand()
|
| H A D | CSKYISelLowering.cpp | 652 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 D | MSP430MCInstLower.cpp | 37 return Printer.getSymbol(MO.getGlobal()); in GetGlobalAddressSymbol()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/Lanai/ |
| H A D | LanaiMCInstLower.cpp | 33 return Printer.getSymbol(MO.getGlobal()); in GetGlobalAddressSymbol()
|