|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
References
lib/MC/MCInst.cpp 31 OS << "Expr:(" << *getExpr() << ")";
50 const MCExpr *Expr = getExpr();
51 MCExpr::ExprKind Kind = getExpr()->getKind();
lib/MC/MCStreamer.cpp 1018 visitUsedExpr(*Inst.getOperand(i).getExpr());
lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp 4121 const MCExpr *Expr = Inst.getOperand(2).getExpr();
lib/Target/AArch64/MCTargetDesc/AArch64InstPrinter.cpp 220 MI->getOperand(1).getExpr()->print(O, &MAI);
227 MI->getOperand(2).getExpr()->print(O, &MAI);
878 Op.getExpr()->print(O, &MAI);
943 MO.getExpr()->print(O, &MAI);
1084 MO.getExpr()->print(O, &MAI);
1097 MO1.getExpr()->print(O, &MAI);
1344 dyn_cast<MCConstantExpr>(MI->getOperand(OpNum).getExpr());
1351 MI->getOperand(OpNum).getExpr()->print(O, &MAI);
1368 MI->getOperand(OpNum).getExpr()->print(O, &MAI);
lib/Target/AArch64/MCTargetDesc/AArch64MCCodeEmitter.cpp 223 Fixups.push_back(MCFixup::create(0, MO.getExpr(), Kind, MI.getLoc()));
242 const MCExpr *Expr = MO.getExpr();
273 const MCExpr *Expr = MO.getExpr();
306 Fixups.push_back(MCFixup::create(0, MO.getExpr(), Kind, MI.getLoc()));
328 Fixups.push_back(MCFixup::create(0, MO.getExpr(), Kind, MI.getLoc()));
356 0, MO.getExpr(), MCFixupKind(AArch64::fixup_aarch64_movw), MI.getLoc()));
376 Fixups.push_back(MCFixup::create(0, MO.getExpr(), Kind, MI.getLoc()));
400 Fixups.push_back(MCFixup::create(0, MO.getExpr(), Kind, MI.getLoc()));
572 const AArch64MCExpr *A64E = cast<AArch64MCExpr>(UImm16MO.getExpr());
602 Fixups.push_back(MCFixup::create(0, MI.getOperand(0).getExpr(), Fixup));
lib/Target/AMDGPU/MCTargetDesc/AMDGPUInstPrinter.cpp 588 const MCExpr *Exp = Op.getExpr();
1427 Op.getExpr()->print(O << '@', &MAI);
1487 const MCExpr *Exp = Op.getExpr();
lib/Target/AMDGPU/MCTargetDesc/R600MCCodeEmitter.cpp 189 Fixups.push_back(MCFixup::create(offset, MO.getExpr(), FK_SecRel_4, MI.getLoc()));
lib/Target/AMDGPU/MCTargetDesc/SIMCCodeEmitter.cpp 221 const auto *C = dyn_cast<MCConstantExpr>(MO.getExpr());
332 if (const auto *C = dyn_cast<MCConstantExpr>(Op.getExpr()))
353 const MCExpr *Expr = MO.getExpr();
458 if (MO.isExpr() && MO.getExpr()->getKind() != MCExpr::Constant) {
470 if (needsPCRel(MO.getExpr()))
480 MCFixup::create(Offset, MO.getExpr(), Kind, MI.getLoc()));
lib/Target/ARC/MCTargetDesc/ARCInstPrinter.cpp 153 printExpr(Op.getExpr(), &MAI, O);
lib/Target/ARM/AsmParser/ARMAsmParser.cpp 8305 const MCExpr *OpExpr = Inst.getOperand(2).getExpr();
lib/Target/ARM/MCTargetDesc/ARMInstPrinter.cpp 320 const MCExpr *Expr = Op.getExpr();
355 MO1.getExpr()->print(O, &MAI);
1040 MO.getExpr()->print(O, &MAI);
lib/Target/ARM/MCTargetDesc/ARMMCCodeEmitter.cpp 321 const MCExpr *Expr = MO.getExpr();
340 const MCExpr *Expr = MO.getExpr();
635 const MCExpr *Expr = MO.getExpr();
995 const MCExpr *Expr = MO.getExpr();
1129 const MCExpr *Expr = MO.getExpr();
1205 const MCExpr *E = MO.getExpr();
1356 const MCExpr *Expr = MO.getExpr();
1434 const MCExpr *Expr = MO.getExpr();
1474 const MCExpr *Expr = MO.getExpr();
1914 MO.getExpr(), BranchMO.getExpr(), CTX);
1914 MO.getExpr(), BranchMO.getExpr(), CTX);
lib/Target/AVR/MCTargetDesc/AVRInstPrinter.cpp 119 O << *Op.getExpr();
141 O << *Op.getExpr();
163 O << *OffsetOp.getExpr();
lib/Target/AVR/MCTargetDesc/AVRMCCodeEmitter.cpp 98 Fixups.push_back(MCFixup::create(0, MO.getExpr(),
160 Fixups.push_back(MCFixup::create(0, OffsetOp.getExpr(),
186 if (isa<AVRMCExpr>(MO.getExpr())) {
191 return getExprOpValue(MO.getExpr(), Fixups, STI);
195 Fixups.push_back(MCFixup::create(Offset, MO.getExpr(), FixupKind, MI.getLoc()));
211 Fixups.push_back(MCFixup::create(0, MO.getExpr(), FixupKind, MI.getLoc()));
265 return getExprOpValue(MO.getExpr(), Fixups, STI);
lib/Target/BPF/MCTargetDesc/BPFInstPrinter.cpp 60 printExpr(Op.getExpr(), O);
91 printExpr(Op.getExpr(), O);
103 printExpr(Op.getExpr(), O);
lib/Target/BPF/MCTargetDesc/BPFMCCodeEmitter.cpp 97 const MCExpr *Expr = MO.getExpr();
lib/Target/Hexagon/AsmParser/HexagonAsmParser.cpp 540 if (I.isExpr() && cast<HexagonMCExpr>(I.getExpr())->signMismatch() &&
1317 HexagonMCInstrInfo::setMustNotExtend(*S27.getExpr());
1318 HexagonMCInstrInfo::setS27_2_reloc(*S27.getExpr());
1345 MCBinaryExpr::createSub(MO.getExpr(),
1355 bool Success = MO.getExpr()->evaluateAsAbsolute(Value);
1369 MCBinaryExpr::createSub(MO.getExpr(),
1458 bool Absolute = MO_1.getExpr()->evaluateAsAbsolute(Value);
1522 getStreamer().EmitValue(MO_1.getExpr(), 4);
1549 int sVal = (MO.getExpr()->evaluateAsAbsolute(Value) && Value < 0) ? -1 : 0;
1561 if (MO.getExpr()->evaluateAsAbsolute(Value)) {
1570 *Expr, HexagonMCInstrInfo::mustExtend(*MO.getExpr()));
1587 if (MO2.getExpr()->evaluateAsAbsolute(Value)) {
1601 if (MO1.getExpr()->evaluateAsAbsolute(Value)) {
1622 MCBinaryExpr::createSub(Imm6.getExpr(),
1642 MCBinaryExpr::createSub(Imm6.getExpr(),
1662 MCBinaryExpr::createSub(Imm6.getExpr(),
1684 MCExpr const &Expr = *Imm.getExpr();
1708 bool Absolute = Imm.getExpr()->evaluateAsAbsolute(Value);
1719 MCBinaryExpr::createSub(Imm.getExpr(),
1738 bool Absolute = Imm.getExpr()->evaluateAsAbsolute(Value);
1757 MCBinaryExpr::createSub(Imm.getExpr(),
1862 bool Absolute = Imm.getExpr()->evaluateAsAbsolute(Value);
1869 MCBinaryExpr::createSub(Imm.getExpr(),
1882 bool Absolute = Imm.getExpr()->evaluateAsAbsolute(Value);
1901 MCBinaryExpr::createSub(Imm.getExpr(),
1922 if (!HexagonMCInstrInfo::mustExtend(*Inst.getOperand(1).getExpr()))
1926 if (!HexagonMCInstrInfo::mustExtend(*Inst.getOperand(1).getExpr()))
1930 if (!HexagonMCInstrInfo::mustExtend(*Inst.getOperand(1).getExpr()))
1934 if (!HexagonMCInstrInfo::mustExtend(*Inst.getOperand(1).getExpr()))
1938 if (!HexagonMCInstrInfo::mustExtend(*Inst.getOperand(1).getExpr()))
1942 if (!HexagonMCInstrInfo::mustExtend(*Inst.getOperand(1).getExpr()))
1946 if (!HexagonMCInstrInfo::mustExtend(*Inst.getOperand(0).getExpr()))
1950 if (!HexagonMCInstrInfo::mustExtend(*Inst.getOperand(0).getExpr()))
1954 if (!HexagonMCInstrInfo::mustExtend(*Inst.getOperand(0).getExpr()))
1958 if (!HexagonMCInstrInfo::mustExtend(*Inst.getOperand(0).getExpr()))
1962 if (!HexagonMCInstrInfo::mustExtend(*Inst.getOperand(0).getExpr()))
1966 if (!HexagonMCInstrInfo::mustExtend(*Inst.getOperand(0).getExpr()))
1970 if (!HexagonMCInstrInfo::mustExtend(*Inst.getOperand(0).getExpr()))
1974 if (!HexagonMCInstrInfo::mustExtend(*Inst.getOperand(0).getExpr()))
lib/Target/Hexagon/Disassembler/HexagonDisassembler.cpp 75 Disassembler.CurrentExtender->getOperand(0).getExpr()->evaluateAsAbsolute(
lib/Target/Hexagon/HexagonAsmPrinter.cpp 185 if (Imm.getExpr()->evaluateAsAbsolute(Value)) {
239 OutStreamer.EmitValue(Imm.getExpr(), AlignSize);
256 const auto *HE = static_cast<const HexagonMCExpr*>(ImmOp.getExpr());
281 HexagonMCInstrInfo::setMustNotExtend(*S16.getExpr());
282 HexagonMCInstrInfo::setS27_2_reloc(*S16.getExpr());
427 MCExpr const *Expr = MO.getExpr();
453 MCExpr const *Expr = MO2.getExpr();
489 MCExpr const *Expr = MO.getExpr();
522 bool Success = MO.getExpr()->evaluateAsAbsolute(Imm);
579 MCExpr const *Expr = Imm.getExpr();
lib/Target/Hexagon/MCTargetDesc/HexagonAsmBackend.cpp 550 if (HexagonMCInstrInfo::mustNotExtend(*Operand.getExpr()))
lib/Target/Hexagon/MCTargetDesc/HexagonInstPrinter.cpp 71 if (MO.getExpr()->evaluateAsAbsolute(Value))
74 O << *MO.getExpr();
84 MCExpr const &Expr = *MO.getExpr();
lib/Target/Hexagon/MCTargetDesc/HexagonMCCodeEmitter.cpp 643 if (HexagonMCInstrInfo::s27_2_reloc(*MO.getExpr())) {
705 const MCExpr *FixupExpr = MO.getExpr();
791 return getExprOpValue(MI, MO, MO.getExpr(), Fixups, STI);
lib/Target/Hexagon/MCTargetDesc/HexagonMCCompound.cpp 274 Success = L.getOperand(2).getExpr()->evaluateAsAbsolute(Value);
292 Success = L.getOperand(2).getExpr()->evaluateAsAbsolute(Value);
lib/Target/Hexagon/MCTargetDesc/HexagonMCDuplexInfo.cpp 550 if (!potentialDuplex.getOperand(2).getExpr()->evaluateAsAbsolute(Value))
561 if (!potentialDuplex.getOperand(1).getExpr()->evaluateAsAbsolute(Value))
712 Absolute = Inst.getOperand(2).getExpr()->evaluateAsAbsolute(Value);
768 Absolute = Inst.getOperand(1).getExpr()->evaluateAsAbsolute(Value);
893 Absolute = Inst.getOperand(2).getExpr()->evaluateAsAbsolute(Value);
925 Absolute = Inst.getOperand(2).getExpr()->evaluateAsAbsolute(Value);
992 Absolute = Inst.getOperand(1).getExpr()->evaluateAsAbsolute(Value);
lib/Target/Hexagon/MCTargetDesc/HexagonMCELFStreamer.cpp 81 visitUsedExpr(*Inst.getOperand(i).getExpr());
lib/Target/Hexagon/MCTargetDesc/HexagonMCInstrInfo.cpp 170 XMI.addOperand(MCOperand::createExpr(MO.getExpr()));
500 if (isa<HexagonMCExpr>(MO.getExpr()) &&
501 HexagonMCInstrInfo::mustExtend(*MO.getExpr()))
516 if (isa<HexagonMCExpr>(MO.getExpr()) &&
517 HexagonMCInstrInfo::mustNotExtend(*MO.getExpr()))
520 if (!MO.getExpr()->evaluateAsAbsolute(Value))
771 if (!MCO.getExpr()->evaluateAsAbsolute(Value))
lib/Target/Hexagon/MCTargetDesc/HexagonMCTargetDesc.cpp 445 if(!Extended.getExpr()->evaluateAsAbsolute(Value))
lib/Target/Lanai/MCTargetDesc/LanaiInstPrinter.cpp 158 Op.getExpr()->print(OS, &MAI);
171 Op.getExpr()->print(OS, &MAI);
184 Op.getExpr()->print(OS, &MAI);
196 Op.getExpr()->print(OS, &MAI);
208 Op.getExpr()->print(OS, &MAI);
233 OffsetOp.getExpr()->print(OS, &MAI);
lib/Target/Lanai/MCTargetDesc/LanaiMCCodeEmitter.cpp 119 const MCExpr *Expr = MCOp.getExpr();
130 MCFixup::create(0, MCOp.getExpr(), MCFixupKind(FixupKind(Expr))));
296 0, MCOp.getExpr(), static_cast<MCFixupKind>(Lanai::FIXUP_LANAI_25)));
lib/Target/MSP430/MCTargetDesc/MSP430InstPrinter.cpp 47 Op.getExpr()->print(O, &MAI);
62 Op.getExpr()->print(O, &MAI);
84 Disp.getExpr()->print(O, &MAI);
lib/Target/MSP430/MCTargetDesc/MSP430MCCodeEmitter.cpp 114 Fixups.push_back(MCFixup::create(Offset, MO.getExpr(),
146 Fixups.push_back(MCFixup::create(Offset, MO2.getExpr(),
160 Fixups.push_back(MCFixup::create(0, MO.getExpr(),
lib/Target/Mips/AsmParser/MipsAsmParser.cpp 2023 const MCExpr *JalExpr = Inst.getOperand(0).getExpr();
2085 const MCExpr *Expr = Op.getExpr();
2815 return loadAndAddSymbolAddress(Offset.getExpr(), DstReg, BaseReg,
3499 Inst.addOperand(MCOperand::createExpr(Offset.getExpr()));
3570 MCOperand::createExpr(MemOffsetOp.getExpr()), IDLoc, STI);
3588 MCOperand::createExpr(MemOffsetOp.getExpr()), IDLoc, STI);
3630 const MCExpr *ExprOffset = ExprOp.getExpr();
3677 if (!OffsetOp.getExpr()->evaluateAsRelocatable(Res, nullptr, nullptr)) {
3696 const MCExpr *ExprOffset = OffsetOp.getExpr();
3752 const MCExpr *OffsetExpr = Inst.getOperand(2).getExpr();
lib/Target/Mips/MCTargetDesc/MipsInstPrinter.cpp 138 Op.getExpr()->print(O, &MAI, true);
lib/Target/Mips/MCTargetDesc/MipsMCCodeEmitter.cpp 248 MO.getExpr(), MCConstantExpr::create(-4, Ctx), Ctx);
270 MO.getExpr(), MCConstantExpr::create(-4, Ctx), Ctx);
293 MO.getExpr(), MCConstantExpr::create(-2, Ctx), Ctx);
316 MO.getExpr(), MCConstantExpr::create(-4, Ctx), Ctx);
337 const MCExpr *Expr = MO.getExpr();
358 const MCExpr *Expr = MO.getExpr();
379 const MCExpr *Expr = MO.getExpr();
402 MO.getExpr(), MCConstantExpr::create(-4, Ctx), Ctx);
424 MO.getExpr(), MCConstantExpr::create(-4, Ctx), Ctx);
446 MO.getExpr(), MCConstantExpr::create(-4, Ctx), Ctx);
468 MO.getExpr(), MCConstantExpr::create(-4, Ctx), Ctx);
488 const MCExpr *Expr = MO.getExpr();
509 const MCExpr *Expr = MO.getExpr();
526 const MCExpr *Expr = MO.getExpr();
760 return getExprOpValue(MO.getExpr(),Fixups, STI);
980 const MCExpr *Expr = MO.getExpr();
1002 const MCExpr *Expr = MO.getExpr();
lib/Target/NVPTX/MCTargetDesc/NVPTXInstPrinter.cpp 93 Op.getExpr()->print(O, &MAI);
306 const MCExpr *Expr = Op.getExpr();
lib/Target/PowerPC/AsmParser/PPCAsmParser.cpp 695 const MCExpr *Expr = Op.getExpr();
lib/Target/PowerPC/MCTargetDesc/PPCInstPrinter.cpp 80 assert(isa<MCSymbolRefExpr>(MI->getOperand(2).getExpr()) &&
474 if (const MCBinaryExpr *BinExpr = dyn_cast<MCBinaryExpr>(Op.getExpr())) {
478 RefExp = cast<MCSymbolRefExpr>(Op.getExpr());
566 Op.getExpr()->print(O, &MAI);
lib/Target/PowerPC/MCTargetDesc/PPCMCCodeEmitter.cpp 50 Fixups.push_back(MCFixup::create(0, MO.getExpr(),
62 Fixups.push_back(MCFixup::create(0, MO.getExpr(),
75 Fixups.push_back(MCFixup::create(0, MO.getExpr(),
88 Fixups.push_back(MCFixup::create(0, MO.getExpr(),
100 Fixups.push_back(MCFixup::create(IsLittleEndian? 0 : 2, MO.getExpr(),
118 Fixups.push_back(MCFixup::create(IsLittleEndian? 0 : 2, MO.getExpr(),
136 Fixups.push_back(MCFixup::create(IsLittleEndian? 0 : 2, MO.getExpr(),
157 Fixups.push_back(MCFixup::create(IsLittleEndian? 0 : 2, MO.getExpr(),
216 Fixups.push_back(MCFixup::create(0, MO.getExpr(),
230 Fixups.push_back(MCFixup::create(0, MO.getExpr(),
lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp 1652 const MCExpr *Symbol = Inst.getOperand(1).getExpr();
1669 const MCExpr *Symbol = Inst.getOperand(1).getExpr();
1692 const MCExpr *Symbol = Inst.getOperand(1).getExpr();
1707 const MCExpr *Symbol = Inst.getOperand(1).getExpr();
1726 const MCExpr *Symbol = Inst.getOperand(SymbolOpIdx).getExpr();
1761 .addExpr(Op1.getExpr()));
lib/Target/RISCV/MCTargetDesc/RISCVInstPrinter.cpp 101 MO.getExpr()->print(O, &MAI);
lib/Target/RISCV/MCTargetDesc/RISCVMCCodeEmitter.cpp 119 const MCExpr *CallExpr = Func.getExpr();
152 const RISCVMCExpr *Expr = dyn_cast<RISCVMCExpr>(SrcSymbol.getExpr());
260 const MCExpr *Expr = MO.getExpr();
lib/Target/Sparc/AsmParser/SparcAsmParser.cpp 535 ValExpr = MCValOp.getExpr();
lib/Target/Sparc/MCTargetDesc/SparcInstPrinter.cpp 136 MO.getExpr()->print(O, &MAI);
lib/Target/Sparc/MCTargetDesc/SparcMCCodeEmitter.cpp 134 const MCExpr *Expr = MO.getExpr();
162 const SparcMCExpr *SExpr = dyn_cast<SparcMCExpr>(MO.getExpr());
174 if (const SparcMCExpr *SExpr = dyn_cast<SparcMCExpr>(MO.getExpr())) {
179 Fixups.push_back(MCFixup::create(0, MO.getExpr(), fixupKind));
192 Fixups.push_back(MCFixup::create(0, MO.getExpr(),
205 Fixups.push_back(MCFixup::create(0, MO.getExpr(),
218 Fixups.push_back(MCFixup::create(0, MO.getExpr(),
220 Fixups.push_back(MCFixup::create(0, MO.getExpr(),
lib/Target/SystemZ/MCTargetDesc/SystemZInstPrinter.cpp 49 MO.getExpr()->print(O, MAI);
151 MO.getExpr()->print(O, &MAI);
162 const MCSymbolRefExpr &refExp = cast<MCSymbolRefExpr>(*MO.getExpr());
lib/Target/SystemZ/MCTargetDesc/SystemZMCCodeEmitter.cpp 279 Expr = MO.getExpr();
294 Fixups.push_back(MCFixup::create(0, MOTLS.getExpr(),
lib/Target/WebAssembly/MCTargetDesc/WebAssemblyInstPrinter.cpp 242 auto SRE = static_cast<const MCSymbolRefExpr *>(Op.getExpr());
247 Op.getExpr()->print(O, &MAI);
281 auto Expr = cast<MCSymbolRefExpr>(Op.getExpr());
lib/Target/WebAssembly/MCTargetDesc/WebAssemblyMCCodeEmitter.cpp 164 Fixups.push_back(MCFixup::create(OS.tell() - Start, MO.getExpr(),
lib/Target/X86/MCTargetDesc/X86ATTInstPrinter.cpp 380 Op.getExpr()->print(O, &MAI);
402 DispSpec.getExpr()->print(O, &MAI);
463 DispSpec.getExpr()->print(O, &MAI);
lib/Target/X86/MCTargetDesc/X86InstPrinterCommon.cpp 303 const MCConstantExpr *BranchTarget = dyn_cast<MCConstantExpr>(Op.getExpr());
309 Op.getExpr()->print(O, &MAI);
lib/Target/X86/MCTargetDesc/X86IntelInstPrinter.cpp 340 Op.getExpr()->print(O, &MAI);
373 DispSpec.getExpr()->print(O, &MAI);
422 DispSpec.getExpr()->print(O, &MAI);
431 return MI->getOperand(Op).getExpr()->print(O, &MAI);
lib/Target/X86/MCTargetDesc/X86MCCodeEmitter.cpp 294 const MCSymbolRefExpr *Ref = dyn_cast<MCSymbolRefExpr>(Op.getExpr());
314 Expr = DispOp.getExpr();
535 auto *Sym = dyn_cast<MCSymbolRefExpr>(Disp.getExpr());
lib/Target/X86/X86MCInstLower.cpp 372 const MCExpr *MCE = Inst.getOperand(AddrOp).getExpr();
lib/Target/XCore/MCTargetDesc/XCoreInstPrinter.cpp 88 printExpr(Op.getExpr(), &MAI, O);