Home
last modified time | relevance | path

Searched refs:isGlobal (Results 1 – 25 of 96) sorted by relevance

1234

/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/MCTargetDesc/
H A DWebAssemblyWasmObjectWriter.cpp109 if (SymA.isGlobal()) in getRelocType()
128 if (SymA.isGlobal()) in getRelocType()
145 if (SymA.isGlobal()) in getRelocType()
H A DWebAssemblyTargetStreamer.cpp67 assert(Sym->isGlobal()); in emitGlobalType()
/freebsd/contrib/llvm-project/llvm/lib/Target/M68k/
H A DM68kMCInstLower.cpp41 assert((MO.isGlobal() || MO.isSymbol() || MO.isMBB()) && in GetSymbolFromOperand()
45 if (MO.isGlobal() && TT.isOSBinFormatELF()) in GetSymbolFromOperand()
57 if (MO.isGlobal()) { in GetSymbolFromOperand()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DStaticDataSplitter.cpp127 if (!Op.isGlobal() && !Op.isCPI()) in getConstant()
130 if (Op.isGlobal()) { in getConstant()
177 if (!Op.isJTI() && !Op.isGlobal() && !Op.isCPI()) in partitionStaticDataWithProfiles()
H A DCFGuardLongjmp.cpp85 if (!MO.isGlobal()) in runOnMachineFunction()
H A DRegUsageInfoPropagate.cpp99 if (MO.isGlobal()) in findCalledFunction()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVMergeBaseOffset.cpp96 if (!(HiOp1.isGlobal() || HiOp1.isCPI() || HiOp1.isBlockAddress()) || in INITIALIZE_PASS()
117 !(LoOp2.isGlobal() || LoOp2.isCPI() || LoOp2.isBlockAddress()) || in INITIALIZE_PASS()
127 if (HiOp1.isGlobal()) { in INITIALIZE_PASS()
151 if (Hi.getOpcode() == RISCV::AUIPC && Hi.getOperand(1).isGlobal()) { in foldOffset()
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCAsmPrinter.cpp635 } else if (CalleeMO.isGlobal()) { in LowerPATCHPOINT()
883 assert(MO.isGlobal() && "Only expecting a global MachineOperand here!\n"); in emitInstruction()
1046 assert((MO.isGlobal() || MO.isCPI() || MO.isJTI() || MO.isBlockAddress()) && in emitInstruction()
1108 assert(MO.isGlobal() && "Invalid operand for ADDItoc[8]."); in emitInstruction()
1130 assert((MO.isGlobal() || MO.isCPI() || MO.isJTI() || MO.isBlockAddress()) && in emitInstruction()
1158 assert((MO.isGlobal() || MO.isCPI() || MO.isJTI() || MO.isBlockAddress()) && in emitInstruction()
1183 if (!MO.isGlobal()) in emitInstruction()
1202 assert((MO.isGlobal() || MO.isCPI() || MO.isJTI() || MO.isBlockAddress()) && in emitInstruction()
1242 assert((MO.isGlobal() || MO.isCPI() || MO.isJTI() || MO.isBlockAddress()) && in emitInstruction()
1250 MO.isGlobal() && Subtarget->isGVIndirectSymbol(MO.getGlobal()); in emitInstruction()
[all …]
H A DPPCMCInstLower.cpp36 if (MO.isGlobal()) { in GetSymbolFromOperand()
105 assert(MO.isGlobal() && "Only expecting a global MachineOperand here!"); in GetSymbolRef()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DMachineOperand.h346 bool isGlobal() const { return OpKind == MO_GlobalAddress; } in isGlobal() function
583 assert(isGlobal() && "Wrong MachineOperand accessor"); in getGlobal()
630 assert((isGlobal() || isSymbol() || isMCSymbol() || isCPI() || in getOffset()
701 assert((isGlobal() || isSymbol() || isMCSymbol() || isCPI() || in setOffset()
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyDebugValueManager.cpp57 (OpA.isGlobal() && OpB.isGlobal() && OpA.getGlobal() == OpB.getGlobal())) in isSameScalarConst()
H A DWebAssemblyUtilities.cpp57 assert(MO.isGlobal() || MO.isSymbol()); in mayThrow()
/freebsd/contrib/llvm-project/llvm/lib/Target/LoongArch/
H A DLoongArchMergeBaseOffset.cpp113 return Op.isGlobal() || Op.isCPI() || Op.isBlockAddress(); in INITIALIZE_PASS()
166 if (Hi20Op1.isGlobal()) { in INITIALIZE_PASS()
201 return Op.isGlobal() || Op.isCPI(); in detectFoldable()
242 if (Hi20Op1.isGlobal()) { in detectFoldable()
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonCopyToCombine.cpp660 if (HiOperand.isGlobal()) { in emitCombineII()
667 if (LoOperand.isGlobal()) { in emitCombineII()
757 if (HiOperand.isGlobal()) { in emitCombineIR()
805 if (LoOperand.isGlobal()) { in emitCombineRI()
H A DHexagonGenMemAbsolute.cpp117 bool IsGlobal = MI->getOperand(1).isGlobal(); in runOnMachineFunction()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86OptimizeLEAs.cpp209 MO.isGlobal() || MO.isBlockAddress() || MO.isMCSymbol() || MO.isMBB(); in isValidDispOp()
222 (MO1.isGlobal() && MO2.isGlobal() && in isSimilarDispOp()
H A DX86IndirectBranchTracking.cpp90 if (!MOp.isGlobal()) in IsCallReturnTwice()
H A DX86SchedPredicates.td45 CheckNonPortable<"MI.getOperand(4).isGlobal()">
H A DX86InstrBuilder.h105 if (Op3.isGlobal()) in getAddressFromInstr()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DAsmPrinterInlineAsm.cpp454 assert(MO.isGlobal() && "caller should check MO.isGlobal"); in PrintSymbolOperand()
485 if (MO.isGlobal()) { in PrintAsmOperand()
/freebsd/contrib/llvm-project/llvm/lib/Target/AVR/
H A DAVRMCInstLower.cpp41 bool IsFunction = MO.isGlobal() && isa<Function>(MO.getGlobal()); in lowerSymbolOperand()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIFoldOperands.cpp59 assert(FoldOp.isReg() || FoldOp.isGlobal()); in FoldableDef()
101 bool isGlobal() const { return Kind == MachineOperand::MO_GlobalAddress; } in isGlobal() function
169 bool isGlobal() const { return Def.isGlobal(); } in isGlobal() function
631 if ((Fold.isImm() || Fold.isFI() || Fold.isGlobal()) && Fold.needsShrink()) { in updateOperand()
694 if (Fold.isGlobal()) { in updateOperand()
853 (!OpToFold.isImm() && !OpToFold.isFI() && !OpToFold.isGlobal())) { in tryAddToFoldList()
1228 OpToFold.isImm() || OpToFold.isFI() || OpToFold.isGlobal(); in foldOperand()
1378 assert(OpToFold.isGlobal()); in foldOperand()
1959 bool FoldingImm = OpToFold.isImm() || OpToFold.isFI() || OpToFold.isGlobal(); in tryFoldFoldableCopy()
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/Utils/
H A DWebAssemblyUtilities.cpp
/freebsd/contrib/llvm-project/llvm/include/llvm/MC/
H A DMCSymbolWasm.h47 bool isGlobal() const { return Type == wasm::WASM_SYMBOL_TYPE_GLOBAL; } in isGlobal() function
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DErrnoChecker.cpp205 if (CallF->isExternC() && CallF->isGlobal() && in checkPreCall()

1234