/freebsd/contrib/llvm-project/llvm/lib/Target/CSKY/MCTargetDesc/ |
H A D | CSKYMCCodeEmitter.h | 59 MCFixupKind Kind = getTargetFixup(MO.getExpr()); in getImmOpValue() 60 Fixups.push_back(MCFixup::create(0, MO.getExpr(), Kind, MI.getLoc())); in getImmOpValue() 110 if (MO.getExpr()->getKind() == MCExpr::Target) in getBranchSymbolOpValue() 111 Kind = getTargetFixup(MO.getExpr()); in getBranchSymbolOpValue() 113 Fixups.push_back(MCFixup::create(0, MO.getExpr(), Kind, MI.getLoc())); in getBranchSymbolOpValue() 125 if (MO.getExpr()->getKind() == MCExpr::Target) in getConstpoolSymbolOpValue() 126 Kind = getTargetFixup(MO.getExpr()); in getConstpoolSymbolOpValue() 128 Fixups.push_back(MCFixup::create(0, MO.getExpr(), Kind, MI.getLoc())); in getConstpoolSymbolOpValue() 140 if (MO.getExpr()->getKind() == MCExpr::Target) in getDataSymbolOpValue() 141 Kind = getTargetFixup(MO.getExpr()); in getDataSymbolOpValue() [all...] |
H A D | CSKYInstPrinter.cpp | 143 MO.getExpr()->print(O, &MAI); in printOperand() 155 MO.getExpr()->print(O, &MAI); in printDataSymbol() 178 MO.getExpr()->print(O, &MAI); in printConstpool()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AVR/MCTargetDesc/ |
H A D | AVRMCCodeEmitter.cpp | 100 MCFixup::create(0, MO.getExpr(), MCFixupKind(Fixup), MI.getLoc())); in encodeRelCondBrTarget() 165 Fixups.push_back(MCFixup::create(0, OffsetOp.getExpr(), in encodeMemri() 191 if (isa<AVRMCExpr>(MO.getExpr())) { in encodeImm() 196 return getExprOpValue(MO.getExpr(), Fixups, STI); in encodeImm() 201 MCFixup::create(Offset, MO.getExpr(), FixupKind, MI.getLoc())); in encodeImm() 217 Fixups.push_back(MCFixup::create(0, MO.getExpr(), FixupKind, MI.getLoc())); in encodeCallTarget() 270 return getExprOpValue(MO.getExpr(), Fixups, STI); in getMachineOpValue()
|
H A D | AVRInstPrinter.cpp | 137 O << *Op.getExpr(); in printOperand() 169 O << *Op.getExpr(); in printPCRelImm() 192 O << *OffsetOp.getExpr(); in printMemri()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/MCTargetDesc/ |
H A D | PPCMCCodeEmitter.cpp | 53 Fixups.push_back(MCFixup::create(0, MO.getExpr(), in getDirectBrEncoding() 161 Fixups.push_back(MCFixup::create(0, MO.getExpr(), in getDispRIEncoding() 174 Fixups.push_back(MCFixup::create(0, MO.getExpr(), in getDispRIXEncoding() 187 Fixups.push_back(MCFixup::create(0, MO.getExpr(), in getDispRIX16Encoding() 209 Fixups.push_back(MCFixup::create(IsLittleEndian? 0 : 2, MO.getExpr(), 224 Fixups.push_back(MCFixup::create(0, MO.getExpr(), Fixup)); in getDispRI34PCRelEncoding() 252 Fixups.push_back(MCFixup::create(IsLittleEndian? 0 : 2, MO.getExpr(), in getDispRI34PCRelEncoding() 266 Fixups.push_back(MCFixup::create(IsLittleEndian? 0 : 2, MO.getExpr(), in getDispRI34PCRelEncoding() 283 Fixups.push_back(MCFixup::create(IsLittleEndian ? 0 : 2, MO.getExpr(), in getDispRI34PCRelEncoding() 324 const MCExpr *Expr = MO.getExpr(); in getDispSPE2Encoding() [all...] |
H A D | PPCELFStreamer.cpp | 142 const MCExpr *Expr = Operand.getExpr(); in emitGOTToPCRelReloc() 177 const MCExpr *Expr = Operand.getExpr(); in emitGOTToPCRelLabel() 215 const MCExpr *Expr = Operand.getExpr(); in isPartOfGOTToPCRelPair()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/AsmParser/ |
H A D | HexagonAsmParser.cpp | 266 const MCExpr *myMCExpr = &HexagonMCInstrInfo::getExpr(*getImm()); in CheckImmRange() 550 if (I.isExpr() && cast<HexagonMCExpr>(I.getExpr())->signMismatch() && in canonicalizeImmediates() 1401 HexagonMCInstrInfo::setMustNotExtend(*S27.getExpr()); in processInstruction() 1402 HexagonMCInstrInfo::setS27_2_reloc(*S27.getExpr()); in processInstruction() 1429 MCBinaryExpr::createSub(MO.getExpr(), in processInstruction() 1439 bool Success = MO.getExpr()->evaluateAsAbsolute(Value); in processInstruction() 1453 MCBinaryExpr::createSub(MO.getExpr(), in processInstruction() 1524 bool Absolute = MO_1.getExpr()->evaluateAsAbsolute(Value); in processInstruction() 1588 getStreamer().emitValue(MO_1.getExpr(), 4); in processInstruction() 1615 int sVal = (MO.getExpr()->evaluateAsAbsolute(Value) && Value < 0) ? -1 : 0; in processInstruction() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Sparc/MCTargetDesc/ |
H A D | SparcMCCodeEmitter.cpp | 132 const MCExpr *Expr = MO.getExpr(); in getMachineOpValue() 159 const MCExpr *Expr = MO.getExpr(); in getSImm13OpValue() 183 const MCExpr *Expr = MO.getExpr(); in getCallTargetOpValue() 213 Fixups.push_back(MCFixup::create(0, MO.getExpr(), in getBranchTargetOpValue() 226 Fixups.push_back(MCFixup::create(0, MO.getExpr(), in getBranchPredTargetOpValue() 240 MCFixup::create(0, MO.getExpr(), (MCFixupKind)Sparc::fixup_sparc_br16)); in getBranchOnRegTargetOpValue()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/M68k/MCTargetDesc/ |
H A D | M68kInstPrinter.cpp | 71 MO.getExpr()->print(O, &MAI); in printOperand() 81 MO.getExpr()->print(O, &MAI); in printImmediate() 147 Op.getExpr()->print(O, &MAI); in printDisp() 156 MO.getExpr()->print(O, &MAI); in printAbsMem()
|
H A D | M68kMCCodeEmitter.cpp | 126 const MCExpr *Expr = MCO.getExpr(); in encodeRelocImm() 153 const MCExpr *Expr = MCO.getExpr(); in encodePCRelImm() 217 if (!Op.getExpr()->evaluateAsAbsolute(Addr)) in encodeInstruction()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/MCTargetDesc/ |
H A D | MipsMCCodeEmitter.cpp | 237 MO.getExpr(), MCConstantExpr::create(-4, Ctx), Ctx); in getBranchTargetOpValue() 259 MO.getExpr(), MCConstantExpr::create(-4, Ctx), Ctx); in getBranchTargetOpValue1SImm16() 282 MO.getExpr(), MCConstantExpr::create(-2, Ctx), Ctx); in getBranchTargetOpValueMMR6() 305 MO.getExpr(), MCConstantExpr::create(-4, Ctx), Ctx); in getBranchTargetOpValueLsl2MMR6() 326 const MCExpr *Expr = MO.getExpr(); in getBranchTarget7OpValueMM() 347 const MCExpr *Expr = MO.getExpr(); in getBranchTargetOpValueMMPC10() 368 const MCExpr *Expr = MO.getExpr(); in getBranchTargetOpValueMM() 391 MO.getExpr(), MCConstantExpr::create(-4, Ctx), Ctx); in getBranchTarget21OpValue() 413 MO.getExpr(), MCConstantExpr::create(-4, Ctx), Ctx); in getBranchTarget21OpValueMM() 435 MO.getExpr(), MCConstantExp in getBranchTarget26OpValue() [all...] |
/freebsd/contrib/llvm-project/llvm/lib/MC/ |
H A D | MCInst.cpp | 38 OS << "Expr:(" << *getExpr() << ")"; in print() 62 const MCExpr *Expr = getExpr(); in isBareSymbolRef() 63 MCExpr::ExprKind Kind = getExpr()->getKind(); in isBareSymbolRef()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Lanai/MCTargetDesc/ |
H A D | LanaiInstPrinter.cpp | 159 Op.getExpr()->print(OS, &MAI); in printOperand() 172 Op.getExpr()->print(OS, &MAI); in printMemImmOperand() 185 Op.getExpr()->print(OS, &MAI); in printHi16ImmOperand() 197 Op.getExpr()->print(OS, &MAI); in printHi16AndImmOperand() 209 Op.getExpr()->print(OS, &MAI); in printLo16AndImmOperand() 234 OffsetOp.getExpr()->print(OS, &MAI); in printMemoryImmediateOffset()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/MCTargetDesc/ |
H A D | HexagonInstPrinter.cpp | 72 if (MO.getExpr()->evaluateAsAbsolute(Value)) in printOperand() 75 O << *MO.getExpr(); in printOperand() 85 MCExpr const &Expr = *MO.getExpr(); in printBrtarget()
|
H A D | HexagonMCExpr.cpp | 79 auto expr = getExpr(); in fixELFSymbolsInTLSFixups() 83 MCExpr const *HexagonMCExpr::getExpr() const { return Expr; } in getExpr() function in HexagonMCExpr
|
/freebsd/contrib/llvm-project/llvm/lib/Target/BPF/MCTargetDesc/ |
H A D | BPFInstPrinter.cpp | 66 printExpr(Op.getExpr(), O); 97 printExpr(Op.getExpr(), O); in printImm64Operand() 114 printExpr(Op.getExpr(), O);
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/MCTargetDesc/ |
H A D | AArch64MCCodeEmitter.cpp | 245 Fixups.push_back(MCFixup::create(0, MO.getExpr(), Kind, MI.getLoc())); 264 const MCExpr *Expr = MO.getExpr(); in getAdrLabelOpValue() 295 const MCExpr *Expr = MO.getExpr(); in getAddSubImmOpValue() 328 Fixups.push_back(MCFixup::create(0, MO.getExpr(), Kind, MI.getLoc())); in getCondBranchTargetOpValue() 351 Fixups.push_back(MCFixup::create(0, MO.getExpr(), Kind, MI.getLoc())); 373 Fixups.push_back(MCFixup::create(0, MO.getExpr(), Kind, MI.getLoc())); in getMoveWideImmOpValue() 401 0, MO.getExpr(), MCFixupKind(AArch64::fixup_aarch64_movw), MI.getLoc())); 421 Fixups.push_back(MCFixup::create(0, MO.getExpr(), Kind, MI.getLoc())); in getBranchTargetOpValue() 445 Fixups.push_back(MCFixup::create(0, MO.getExpr(), Kind, MI.getLoc())); in getVecShifterOpValue() 673 const MCExpr *E = UImm16MO.getExpr(); in encodeInstruction() [all...] |
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/MCTargetDesc/ |
H A D | SystemZInstPrinter.cpp | 56 MO.getExpr()->print(O, MAI); in printOperand() 89 O << *MO.getExpr(); in printUImmOperand() 102 O << *MO.getExpr(); in printSImmOperand() 178 MO.getExpr()->print(O, &MAI); in printPCRelOperand() 190 const MCSymbolRefExpr &refExp = cast<MCSymbolRefExpr>(*MO.getExpr()); in printPCRelTLSOperand()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/MSP430/MCTargetDesc/ |
H A D | MSP430InstPrinter.cpp | 52 Op.getExpr()->print(O, &MAI); in printPCRelImmOperand() 67 Op.getExpr()->print(O, &MAI); in printOperand() 89 Disp.getExpr()->print(O, &MAI); in printSrcMemOperand()
|
H A D | MSP430MCCodeEmitter.cpp | 116 Fixups.push_back(MCFixup::create(Offset, MO.getExpr(), in getMachineOpValue() 148 Fixups.push_back(MCFixup::create(Offset, MO2.getExpr(), in getMemOpValue() 162 Fixups.push_back(MCFixup::create(0, MO.getExpr(), in getPCRelImmOpValue()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Xtensa/MCTargetDesc/ |
H A D | XtensaInstPrinter.cpp | 65 printExpr(MC.getExpr(), O); in printOperand() 103 MC.getExpr()->print(OS, &MAI, true); in printBranchTarget() 118 MC.getExpr()->print(OS, &MAI, true); in printJumpTarget() 134 MC.getExpr()->print(OS, &MAI, true); in printCallOperand() 152 MC.getExpr()->print(O, &MAI, true); in printL32RTarget()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
H A D | HexagonAsmPrinter.cpp | 186 if (Imm.getExpr()->evaluateAsAbsolute(Value)) { in smallData() 240 OutStreamer.emitValue(Imm.getExpr(), AlignSize); in smallData() 257 const auto *HE = static_cast<const HexagonMCExpr*>(ImmOp.getExpr()); in ScaleVectorOffset() 258 int32_t V = cast<MCConstantExpr>(HE->getExpr())->getValue(); in ScaleVectorOffset() 282 HexagonMCInstrInfo::setMustNotExtend(*S16.getExpr()); in HexagonProcessInstruction() 283 HexagonMCInstrInfo::setS27_2_reloc(*S16.getExpr()); in HexagonProcessInstruction() 430 MCExpr const *Expr = MO.getExpr(); in HexagonProcessInstruction() 456 MCExpr const *Expr = MO2.getExpr(); in HexagonProcessInstruction() 492 MCExpr const *Expr = MO.getExpr(); in HexagonProcessInstruction() 525 bool Success = MO.getExpr()->evaluateAsAbsolute(Imm); in HexagonProcessInstruction() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/LoongArch/AsmParser/ |
H A D | LoongArchAsmParser.cpp | 914 ? Inst.getOperand(1).getExpr() in emitLoadAddressAbs() 915 : Inst.getOperand(2).getExpr(); in emitLoadAddressAbs() 940 const MCExpr *Symbol = Inst.getOperand(1).getExpr(); in emitLoadAddressPcrel() 963 const MCExpr *Symbol = Inst.getOperand(2).getExpr(); in emitLoadAddressPcrelLarge() 986 const MCExpr *Symbol = Inst.getOperand(1).getExpr(); in emitLoadAddressGot() 1009 const MCExpr *Symbol = Inst.getOperand(2).getExpr(); in emitLoadAddressGotLarge() 1032 const MCExpr *Symbol = Inst.getOperand(1).getExpr(); in emitLoadAddressTLSLE() 1050 const MCExpr *Symbol = Inst.getOperand(1).getExpr(); in emitLoadAddressTLSIE() 1073 const MCExpr *Symbol = Inst.getOperand(2).getExpr(); in emitLoadAddressTLSIELarge() 1096 const MCExpr *Symbol = Inst.getOperand(1).getExpr(); in emitLoadAddressTLSLD() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/ |
H A D | SystemZMCInstLower.cpp | 36 SystemZMCInstLower::getExpr(const MachineOperand &MO, in getExpr() function in SystemZMCInstLower 89 return MCOperand::createExpr(getExpr(MO, Kind)); in lowerOperand()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/MCTargetDesc/ |
H A D | AMDGPUMCCodeEmitter.cpp | 258 const auto *C = dyn_cast<MCConstantExpr>(MO.getExpr()); in getLitEncoding() 441 if (const auto *C = dyn_cast<MCConstantExpr>(Op.getExpr())) in encodeInstruction() 463 const MCExpr *Expr = MO.getExpr(); in getSOPPBrEncoding() 666 if (MO.isExpr() && MO.getExpr()->evaluateAsAbsolute(Val)) { in getMachineOpValueCommon() 671 if (MO.isExpr() && MO.getExpr()->getKind() != MCExpr::Constant) { in getMachineOpValueCommon() 683 if (needsPCRel(MO.getExpr())) in getMachineOpValueCommon() 692 Fixups.push_back(MCFixup::create(Offset, MO.getExpr(), Kind, MI.getLoc())); in getMachineOpValueCommon()
|