|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
References
include/llvm/CodeGen/MachineInstrBuilder.h 293 return addGlobalAddress(Disp.getGlobal(), Disp.getOffset() + off,
lib/CodeGen/AsmPrinter/AsmPrinterInlineAsm.cpp 605 getSymbol(MO.getGlobal())->print(OS, MAI);
lib/CodeGen/AsmPrinter/DwarfDebug.cpp 734 CalleeDecl = dyn_cast<Function>(CalleeOp.getGlobal());
lib/CodeGen/AsmPrinter/EHStreamer.cpp 179 const Function *F = dyn_cast<Function>(MO.getGlobal());
lib/CodeGen/CFGuardLongjmp.cpp 86 auto *F = dyn_cast<Function>(MO.getGlobal());
lib/CodeGen/MachineOperand.cpp 299 return getGlobal() == Other.getGlobal() && getOffset() == Other.getOffset();
299 return getGlobal() == Other.getGlobal() && getOffset() == Other.getOffset();
368 return hash_combine(MO.getType(), MO.getTargetFlags(), MO.getGlobal(),
844 getGlobal()->printAsOperand(OS, /*PrintType=*/false, MST);
lib/CodeGen/MachineRegisterInfo.cpp 561 const Function *Func = dyn_cast<Function>(MO.getGlobal());
lib/CodeGen/RegUsageInfoPropagate.cpp 92 return dyn_cast<const Function>(MO.getGlobal());
lib/Target/AArch64/AArch64CallLowering.cpp 722 const GlobalValue *GV = Info.Callee.getGlobal();
lib/Target/AArch64/AArch64ExpandPseudoInsts.cpp 488 MIB.addGlobalAddress(MO1.getGlobal(), 0, Flags);
520 MIB1.addGlobalAddress(MO1.getGlobal(), 0, Flags | AArch64II::MO_PAGE);
521 MIB2.addGlobalAddress(MO1.getGlobal(), 0,
lib/Target/AArch64/AArch64InstrInfo.cpp 5440 Callee = dyn_cast<Function>(MOP.getGlobal());
lib/Target/AArch64/AArch64InstructionSelector.cpp 1690 auto GV = I.getOperand(1).getGlobal();
2376 const GlobalValue &GV = *I.getOperand(1).getGlobal();
lib/Target/AArch64/AArch64MCInstLower.cpp 38 const GlobalValue *GV = MO.getGlobal();
123 const GlobalValue *GV = MO.getGlobal();
lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp 859 const Function *Callee = cast<Function>(CalleeOp->getGlobal());
lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp 1641 const GlobalValue *GV = MI.getOperand(1).getGlobal();
lib/Target/AMDGPU/AMDGPUMCInstLower.cpp 149 const GlobalValue *GV = MO.getGlobal();
lib/Target/AMDGPU/R600ControlFlowFinalizer.cpp 448 MILit.addGlobalAddress(Literals[i]->getGlobal(),
455 MILit.addGlobalAddress(Literals[i + 1]->getGlobal(),
lib/Target/AMDGPU/SIFoldOperands.cpp 291 Old.ChangeToGA(Fold.OpToFold->getGlobal(), Fold.OpToFold->getOffset(),
lib/Target/AMDGPU/SIShrinkInstructions.cpp 99 Src0.ChangeToGA(MovSrc.getGlobal(), MovSrc.getOffset(),
lib/Target/ARC/ARCMCInstLower.cpp 40 Symbol = Printer.getSymbol(MO.getGlobal());
lib/Target/ARM/ARMAsmPrinter.cpp 195 GetARMGVSymbol(MO.getGlobal(), TF)->print(O, MAI);
1381 const GlobalValue *GV = Op.getGlobal();
1399 const GlobalValue *GV = MI->getOperand(1).getGlobal();
1432 const GlobalValue *GV = MI->getOperand(2).getGlobal();
1478 const GlobalValue *GV = MI->getOperand(1).getGlobal();
lib/Target/ARM/ARMBaseInstrInfo.cpp 1775 return MO0.getGlobal() == MO1.getGlobal();
1775 return MO0.getGlobal() == MO1.getGlobal();
lib/Target/ARM/ARMExpandPseudoInsts.cpp 900 const GlobalValue *GV = MO.getGlobal();
1184 MIB.addGlobalAddress(JumpTarget.getGlobal(), JumpTarget.getOffset(),
1476 const GlobalValue *GV = MO1.getGlobal();
1533 const GlobalValue *GV = MO1.getGlobal();
lib/Target/ARM/ARMInstructionSelector.cpp 615 auto GV = MIB->getOperand(1).getGlobal();
lib/Target/ARM/ARMMCInstLower.cpp 92 GetARMGVSymbol(MO.getGlobal(), MO.getTargetFlags()));
lib/Target/AVR/AVRAsmPrinter.cpp 72 O << getSymbol(MO.getGlobal());
lib/Target/AVR/AVRExpandPseudoInsts.cpp 291 const GlobalValue *GV = MI.getOperand(2).getGlobal();
502 const GlobalValue *GV = MI.getOperand(1).getGlobal();
551 const GlobalValue *GV = MI.getOperand(1).getGlobal();
983 const GlobalValue *GV = MI.getOperand(0).getGlobal();
lib/Target/AVR/AVRMCInstLower.cpp 39 bool IsFunction = MO.isGlobal() && isa<Function>(MO.getGlobal());
82 MCOp = lowerSymbolOperand(MO, Printer.getSymbol(MO.getGlobal()));
lib/Target/BPF/BPFAsmPrinter.cpp 90 O << *getSymbol(MO.getGlobal());
lib/Target/BPF/BPFMCInstLower.cpp 28 return Printer.getSymbol(MO.getGlobal());
lib/Target/BPF/BPFMISimplifyPatchable.cpp 111 const GlobalValue *GVal = MO.getGlobal();
lib/Target/BPF/BTFDebug.cpp 990 const GlobalValue *GVal = MO.getGlobal();
1127 const GlobalValue *GVal = MO.getGlobal();
lib/Target/Hexagon/HexagonAsmPrinter.cpp 220 MOSymbol = AP.getSymbol(MO.getGlobal());
lib/Target/Hexagon/HexagonConstExtenders.cpp 705 V.GV = Op.getGlobal();
lib/Target/Hexagon/HexagonCopyToCombine.cpp 673 .addGlobalAddress(HiOperand.getGlobal(), HiOperand.getOffset(),
681 .addGlobalAddress(LoOperand.getGlobal(), LoOperand.getOffset(),
770 .addGlobalAddress(HiOperand.getGlobal(), HiOperand.getOffset(),
819 .addGlobalAddress(LoOperand.getGlobal(), LoOperand.getOffset(),
lib/Target/Hexagon/HexagonMCInstLower.cpp 157 MCO = GetSymbolRef(MO, AP.getSymbol(MO.getGlobal()), AP, MustExtend);
lib/Target/Hexagon/HexagonOptAddrMode.cpp 510 const GlobalValue *GV = ImmOp.getGlobal();
567 const GlobalValue *GV = ImmOp.getGlobal();
643 const GlobalValue *GV = ImmOp.getGlobal();
650 const GlobalValue *GV = ImmOp.getGlobal();
lib/Target/Hexagon/RDFGraph.cpp 240 OS << T->getGlobal()->getName();
lib/Target/Lanai/LanaiAsmPrinter.cpp 82 O << *getSymbol(MO.getGlobal());
lib/Target/Lanai/LanaiMCInstLower.cpp 34 return Printer.getSymbol(MO.getGlobal());
lib/Target/MSP430/MSP430AsmPrinter.cpp 72 getSymbol(MO.getGlobal())->print(O, MAI);
lib/Target/MSP430/MSP430MCInstLower.cpp 37 return Printer.getSymbol(MO.getGlobal());
lib/Target/Mips/MipsCallLowering.cpp 576 MIRBuilder.buildGlobalValue(CalleeReg, Info.Callee.getGlobal());
577 if (!Info.Callee.getGlobal()->hasLocalLinkage())
608 const Function *CF = static_cast<const Function *>(Info.Callee.getGlobal());
lib/Target/Mips/MipsInstructionSelector.cpp 552 const llvm::GlobalValue *GVal = I.getOperand(1).getGlobal();
lib/Target/Mips/MipsMCInstLower.cpp 129 Symbol = AsmPrinter.getSymbol(MO.getGlobal());
lib/Target/Mips/MipsSEISelDAGToDAG.cpp 183 MI.getOperand(0).getGlobal()->getGlobalIdentifier() == "_mcount")
lib/Target/NVPTX/NVPTXAsmPrinter.cpp 257 MCOp = GetSymbolRef(getSymbol(MO.getGlobal()));
lib/Target/NVPTX/NVPTXReplaceImageHandles.cpp 170 const GlobalValue *GV = TexHandleDef.getOperand(1).getGlobal();
lib/Target/PowerPC/PPCAsmPrinter.cpp 184 const GlobalValue *GV = MO.getGlobal();
453 const GlobalValue *GValue = CalleeMO.getGlobal();
505 const GlobalValue *GValue = MO.getGlobal();
521 return AP.getSymbol(MO.getGlobal());
841 MO.isGlobal() && Subtarget->isGVIndirectSymbol(MO.getGlobal());
880 (!MO.isGlobal() || Subtarget->isGVIndirectSymbol(MO.getGlobal())) &&
910 !(MO.isGlobal() && Subtarget->isGVIndirectSymbol(MO.getGlobal())) &&
925 const GlobalValue *GValue = MO.getGlobal();
944 const GlobalValue *GValue = MO.getGlobal();
1004 const GlobalValue *GValue = MO.getGlobal();
1022 const GlobalValue *GValue = MO.getGlobal();
1049 const GlobalValue *GValue = MO.getGlobal();
1067 const GlobalValue *GValue = MO.getGlobal();
1096 const GlobalValue *GValue = MO.getGlobal();
1116 const GlobalValue *GValue = MO.getGlobal();
1172 if (MO.isGlobal() && MO.getGlobal()->getAlignment() < 4)
lib/Target/PowerPC/PPCFrameLowering.cpp 1739 addGlobalAddress(JumpTarget.getGlobal(), JumpTarget.getOffset());
1752 addGlobalAddress(JumpTarget.getGlobal(), JumpTarget.getOffset());
lib/Target/PowerPC/PPCInstrInfo.cpp 3561 ImmMO.getGlobal()->getAlignment() < III.ImmMustBeMultipleOf)
4037 dyn_cast<Function>(CallMI.getOperand(0).getGlobal());
lib/Target/PowerPC/PPCMCInstLower.cpp 55 const GlobalValue *GV = MO.getGlobal();
72 StubValueTy(AP.getSymbol(MO.getGlobal()),
73 !MO.getGlobal()->hasInternalLinkage());
lib/Target/RISCV/RISCVMCInstLower.cpp 111 MCOp = lowerSymbolOperand(MO, AP.getSymbol(MO.getGlobal()), AP);
lib/Target/RISCV/RISCVMergeBaseOffset.cpp 271 << *LoADDI->getOperand(2).getGlobal() << "\n");
lib/Target/Sparc/LeonPasses.cpp 90 StringRef FuncName = MO.getGlobal()->getName();
lib/Target/Sparc/SparcMCInstLower.cpp 44 Symbol = AP.getSymbol(MO.getGlobal());
lib/Target/SystemZ/SystemZMCInstLower.cpp 47 Symbol = AsmPrinter.getSymbol(MO.getGlobal());
lib/Target/WebAssembly/WebAssemblyLateEHPrepare.cpp 263 if (CalleeOp.isGlobal() && CalleeOp.getGlobal()->getName() ==
lib/Target/WebAssembly/WebAssemblyMCInstLower.cpp 49 const GlobalValue *Global = MO.getGlobal();
lib/Target/WebAssembly/WebAssemblyRegStackify.cpp 145 const Constant *GV = MO.getGlobal();
lib/Target/WebAssembly/WebAssemblyUtilities.cpp 68 const auto *F = dyn_cast<Function>(MO.getGlobal());
lib/Target/X86/X86AsmPrinter.cpp 120 const GlobalValue *GV = MO.getGlobal();
lib/Target/X86/X86ExpandPseudo.cpp 87 const GlobalValue *CombinedGlobal = JTInst->getOperand(1).getGlobal();
247 MIB.addGlobalAddress(JumpTarget.getGlobal(), JumpTarget.getOffset(),
lib/Target/X86/X86FrameLowering.cpp 2630 const Function *F = dyn_cast<Function>(MO.getGlobal());
lib/Target/X86/X86ISelLowering.cpp30250 .addGlobalAddress(MI.getOperand(3).getGlobal(), 0,
30262 .addGlobalAddress(MI.getOperand(3).getGlobal(), 0,
30274 .addGlobalAddress(MI.getOperand(3).getGlobal(), 0,
lib/Target/X86/X86IndirectBranchTracking.cpp 90 auto *CalleeFn = dyn_cast<Function>(MOp.getGlobal());
lib/Target/X86/X86InstrBuilder.h 112 AM.GV = Op3.getGlobal();
lib/Target/X86/X86InstructionSelector.cpp 592 auto GV = I.getOperand(1).getGlobal();
lib/Target/X86/X86MCInstLower.cpp 145 const GlobalValue *GV = MO.getGlobal();
170 AsmPrinter.getSymbol(MO.getGlobal()), true);
181 AsmPrinter.getSymbol(MO.getGlobal()),
182 !MO.getGlobal()->hasInternalLinkage());
lib/Target/X86/X86OptimizeLEAs.cpp 155 Hash = hash_combine(Hash, Val.Disp->getGlobal());
221 MO1.getGlobal() == MO2.getGlobal()) ||
221 MO1.getGlobal() == MO2.getGlobal()) ||
lib/Target/XCore/XCoreMCInstLower.cpp 42 Symbol = Printer.getSymbol(MO.getGlobal());
unittests/CodeGen/MachineOperandTest.cpp 254 ASSERT_TRUE(MO.getGlobal() == GV);