/openbsd/gnu/llvm/llvm/lib/Target/CSKY/MCTargetDesc/ |
H A D | CSKYMCCodeEmitter.h | 59 MCFixupKind Kind = getTargetFixup(MO.getExpr()); in getImmOpValue() 110 if (MO.getExpr()->getKind() == MCExpr::Target) in getBranchSymbolOpValue() 111 Kind = getTargetFixup(MO.getExpr()); in getBranchSymbolOpValue() 125 if (MO.getExpr()->getKind() == MCExpr::Target) in getConstpoolSymbolOpValue() 126 Kind = getTargetFixup(MO.getExpr()); in getConstpoolSymbolOpValue() 140 if (MO.getExpr()->getKind() == MCExpr::Target) in getDataSymbolOpValue() 141 Kind = getTargetFixup(MO.getExpr()); in getDataSymbolOpValue() 154 if (MO.getExpr()->getKind() == MCExpr::Target) in getCallSymbolOpValue() 155 Kind = getTargetFixup(MO.getExpr()); in getCallSymbolOpValue() 168 if (MO.getExpr()->getKind() == MCExpr::Target) in getBareSymbolOpValue() [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()
|
/openbsd/gnu/llvm/llvm/lib/Target/AVR/MCTargetDesc/ |
H A D | AVRMCCodeEmitter.cpp | 100 MCFixup::create(0, MO.getExpr(), MCFixupKind(Fixup), MI.getLoc())); in encodeRelCondBrTarget() 164 Fixups.push_back(MCFixup::create(0, OffsetOp.getExpr(), in encodeMemri() 190 if (isa<AVRMCExpr>(MO.getExpr())) { in encodeImm() 195 return getExprOpValue(MO.getExpr(), Fixups, STI); in encodeImm() 200 MCFixup::create(Offset, MO.getExpr(), FixupKind, MI.getLoc())); in encodeImm() 216 Fixups.push_back(MCFixup::create(0, MO.getExpr(), FixupKind, MI.getLoc())); in encodeCallTarget() 269 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()
|
/openbsd/gnu/llvm/llvm/lib/Target/Sparc/MCTargetDesc/ |
H A D | SparcMCCodeEmitter.cpp | 131 const MCExpr *Expr = MO.getExpr(); in getMachineOpValue() 158 const MCExpr *Expr = MO.getExpr(); in getSImm13OpValue() 182 const MCExpr *Expr = MO.getExpr(); in getCallTargetOpValue() 212 Fixups.push_back(MCFixup::create(0, MO.getExpr(), in getBranchTargetOpValue() 225 Fixups.push_back(MCFixup::create(0, MO.getExpr(), in getBranchPredTargetOpValue() 238 Fixups.push_back(MCFixup::create(0, MO.getExpr(), in getBranchOnRegTargetOpValue() 240 Fixups.push_back(MCFixup::create(0, MO.getExpr(), in getBranchOnRegTargetOpValue()
|
/openbsd/gnu/llvm/llvm/lib/Target/PowerPC/MCTargetDesc/ |
H A D | PPCMCCodeEmitter.cpp | 53 Fixups.push_back(MCFixup::create(0, MO.getExpr(), in getDirectBrEncoding() 67 Fixups.push_back(MCFixup::create(0, MO.getExpr(), in getCondBrEncoding() 80 Fixups.push_back(MCFixup::create(0, MO.getExpr(), in getAbsDirectBrEncoding() 93 Fixups.push_back(MCFixup::create(0, MO.getExpr(), in getAbsCondBrEncoding() 115 Fixups.push_back(MCFixup::create(IsLittleEndian? 0 : 2, MO.getExpr(), in getImm16Encoding() 130 Fixups.push_back(MCFixup::create(0, MO.getExpr(), Fixup)); in getImm34Encoding() 163 Fixups.push_back(MCFixup::create(IsLittleEndian? 0 : 2, MO.getExpr(), in getMemRIEncoding() 181 Fixups.push_back(MCFixup::create(IsLittleEndian? 0 : 2, MO.getExpr(), in getMemRIXEncoding() 253 const MCExpr *Expr = MO.getExpr(); in getMemRI34PCRelEncoding() 383 const MCExpr *Expr = MO.getExpr(); in getTLSRegEncoding() [all …]
|
H A D | PPCELFStreamer.cpp | 143 const MCExpr *Expr = Operand.getExpr(); in emitGOTToPCRelReloc() 178 const MCExpr *Expr = Operand.getExpr(); in emitGOTToPCRelLabel() 216 const MCExpr *Expr = Operand.getExpr(); in isPartOfGOTToPCRelPair()
|
/openbsd/gnu/llvm/llvm/lib/Target/Hexagon/AsmParser/ |
H A D | HexagonAsmParser.cpp | 1374 MCBinaryExpr::createSub(MO.getExpr(), in processInstruction() 1398 MCBinaryExpr::createSub(MO.getExpr(), in processInstruction() 1572 if (MO.getExpr()->evaluateAsAbsolute(Value)) { in processInstruction() 1633 MCBinaryExpr::createSub(Imm6.getExpr(), in processInstruction() 1653 MCBinaryExpr::createSub(Imm6.getExpr(), in processInstruction() 1673 MCBinaryExpr::createSub(Imm6.getExpr(), in processInstruction() 1695 MCExpr const &Expr = *Imm.getExpr(); in processInstruction() 1730 MCBinaryExpr::createSub(Imm.getExpr(), in processInstruction() 1768 MCBinaryExpr::createSub(Imm.getExpr(), in processInstruction() 1880 MCBinaryExpr::createSub(Imm.getExpr(), in processInstruction() [all …]
|
/openbsd/gnu/llvm/llvm/lib/MC/ |
H A D | MCInst.cpp | 38 OS << "Expr:(" << *getExpr() << ")"; in print() 59 const MCExpr *Expr = getExpr(); in isBareSymbolRef() 60 MCExpr::ExprKind Kind = getExpr()->getKind(); in isBareSymbolRef()
|
/openbsd/gnu/llvm/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
|
/openbsd/gnu/llvm/llvm/lib/Target/Mips/MCTargetDesc/ |
H A D | MipsMCCodeEmitter.cpp | 246 MO.getExpr(), MCConstantExpr::create(-4, Ctx), Ctx); in getBranchTargetOpValue() 268 MO.getExpr(), MCConstantExpr::create(-4, Ctx), Ctx); in getBranchTargetOpValue1SImm16() 335 const MCExpr *Expr = MO.getExpr(); in getBranchTarget7OpValueMM() 356 const MCExpr *Expr = MO.getExpr(); in getBranchTargetOpValueMMPC10() 377 const MCExpr *Expr = MO.getExpr(); in getBranchTargetOpValueMM() 486 const MCExpr *Expr = MO.getExpr(); in getJumpOffset16OpValue() 507 const MCExpr *Expr = MO.getExpr(); in getJumpTargetOpValue() 524 const MCExpr *Expr = MO.getExpr(); in getJumpTargetOpValueMM() 746 return getExprOpValue(MO.getExpr(),Fixups, STI); in getMachineOpValue() 969 const MCExpr *Expr = MO.getExpr(); in getSimm19Lsl2Encoding() [all …]
|
/openbsd/gnu/llvm/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() 197 MO.getExpr()->print(O, &MAI); in printAbsMem()
|
H A D | M68kMCCodeEmitter.cpp | 122 const MCExpr *Expr = MCO.getExpr(); in encodeRelocImm() 149 const MCExpr *Expr = MCO.getExpr(); in encodePCRelImm() 193 if (!Op.getExpr()->evaluateAsAbsolute(Addr)) in getMachineOpValue()
|
/openbsd/gnu/llvm/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()
|
/openbsd/gnu/llvm/llvm/lib/Target/BPF/MCTargetDesc/ |
H A D | BPFInstPrinter.cpp | 63 printExpr(Op.getExpr(), O); in printOperand() 94 printExpr(Op.getExpr(), O); in printImm64Operand() 106 printExpr(Op.getExpr(), O); in printBrTargetOperand()
|
/openbsd/gnu/llvm/llvm/lib/Target/MSP430/MCTargetDesc/ |
H A D | MSP430InstPrinter.cpp | 48 Op.getExpr()->print(O, &MAI); in printPCRelImmOperand() 63 Op.getExpr()->print(O, &MAI); in printOperand() 85 Disp.getExpr()->print(O, &MAI); in printSrcMemOperand()
|
H A D | MSP430MCCodeEmitter.cpp | 114 Fixups.push_back(MCFixup::create(Offset, MO.getExpr(), in getMachineOpValue() 146 Fixups.push_back(MCFixup::create(Offset, MO2.getExpr(), in getMemOpValue() 160 Fixups.push_back(MCFixup::create(0, MO.getExpr(), in getPCRelImmOpValue()
|
/openbsd/gnu/llvm/llvm/lib/Target/AArch64/MCTargetDesc/ |
H A D | AArch64MCCodeEmitter.cpp | 239 Fixups.push_back(MCFixup::create(0, MO.getExpr(), Kind, MI.getLoc())); in getLdStUImm12OpValue() 258 const MCExpr *Expr = MO.getExpr(); in getAdrLabelOpValue() 289 const MCExpr *Expr = MO.getExpr(); in getAddSubImmOpValue() 322 Fixups.push_back(MCFixup::create(0, MO.getExpr(), Kind, MI.getLoc())); in getCondBranchTargetOpValue() 344 Fixups.push_back(MCFixup::create(0, MO.getExpr(), Kind, MI.getLoc())); in getLoadLiteralOpValue() 372 0, MO.getExpr(), MCFixupKind(AArch64::fixup_aarch64_movw), MI.getLoc())); in getMoveWideImmOpValue() 392 Fixups.push_back(MCFixup::create(0, MO.getExpr(), Kind, MI.getLoc())); in getTestBranchTargetOpValue() 416 Fixups.push_back(MCFixup::create(0, MO.getExpr(), Kind, MI.getLoc())); in getBranchTargetOpValue() 644 const MCExpr *E = UImm16MO.getExpr(); in fixMOVZ() 675 MCFixup::create(0, MI.getOperand(0).getExpr(), in encodeInstruction()
|
/openbsd/gnu/llvm/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()
|
H A D | XtensaMCCodeEmitter.cpp | 168 const MCExpr *Expr = MO.getExpr(); in getJumpTargetEncoding() 181 const MCExpr *Expr = MO.getExpr(); in getBranchTargetEncoding() 212 const MCExpr *Expr = MO.getExpr(); in getCallEncoding() 234 0, MO.getExpr(), MCFixupKind(Xtensa::fixup_xtensa_l32r_16), MI.getLoc())); in getL32RTargetEncoding()
|
/openbsd/gnu/llvm/llvm/lib/Target/Hexagon/ |
H A D | HexagonAsmPrinter.cpp | 185 if (Imm.getExpr()->evaluateAsAbsolute(Value)) { in smallData() 239 OutStreamer.emitValue(Imm.getExpr(), AlignSize); in smallData() 256 const auto *HE = static_cast<const HexagonMCExpr*>(ImmOp.getExpr()); in ScaleVectorOffset() 257 int32_t V = cast<MCConstantExpr>(HE->getExpr())->getValue(); in ScaleVectorOffset() 281 HexagonMCInstrInfo::setMustNotExtend(*S16.getExpr()); in HexagonProcessInstruction() 282 HexagonMCInstrInfo::setS27_2_reloc(*S16.getExpr()); in HexagonProcessInstruction() 429 MCExpr const *Expr = MO.getExpr(); in HexagonProcessInstruction() 455 MCExpr const *Expr = MO2.getExpr(); in HexagonProcessInstruction() 491 MCExpr const *Expr = MO.getExpr(); in HexagonProcessInstruction() 524 bool Success = MO.getExpr()->evaluateAsAbsolute(Imm); in HexagonProcessInstruction() [all …]
|
/openbsd/gnu/llvm/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()
|
/openbsd/gnu/llvm/llvm/lib/Target/AMDGPU/MCTargetDesc/ |
H A D | SIMCCodeEmitter.cpp | 227 const auto *C = dyn_cast<MCConstantExpr>(MO.getExpr()); in getLitEncoding() 397 if (const auto *C = dyn_cast<MCConstantExpr>(Op.getExpr())) in encodeInstruction() 419 const MCExpr *Expr = MO.getExpr(); in getSOPPBrEncoding() 556 if (MO.isExpr() && MO.getExpr()->getKind() != MCExpr::Constant) { in getMachineOpValueCommon() 568 if (needsPCRel(MO.getExpr())) in getMachineOpValueCommon() 577 Fixups.push_back(MCFixup::create(Offset, MO.getExpr(), Kind, MI.getLoc())); in getMachineOpValueCommon()
|
/openbsd/gnu/llvm/llvm/lib/Target/LoongArch/AsmParser/ |
H A D | LoongArchAsmParser.cpp | 857 const MCExpr *Symbol = Inst.getOperand(1).getExpr(); in emitLoadAddressPcrel() 880 const MCExpr *Symbol = Inst.getOperand(2).getExpr(); in emitLoadAddressPcrelLarge() 903 const MCExpr *Symbol = Inst.getOperand(1).getExpr(); in emitLoadAddressGot() 926 const MCExpr *Symbol = Inst.getOperand(2).getExpr(); in emitLoadAddressGotLarge() 949 const MCExpr *Symbol = Inst.getOperand(1).getExpr(); in emitLoadAddressTLSLE() 967 const MCExpr *Symbol = Inst.getOperand(1).getExpr(); in emitLoadAddressTLSIE() 990 const MCExpr *Symbol = Inst.getOperand(2).getExpr(); in emitLoadAddressTLSIELarge() 1013 const MCExpr *Symbol = Inst.getOperand(1).getExpr(); in emitLoadAddressTLSLD() 1036 const MCExpr *Symbol = Inst.getOperand(2).getExpr(); in emitLoadAddressTLSLDLarge() 1059 const MCExpr *Symbol = Inst.getOperand(1).getExpr(); in emitLoadAddressTLSGD() [all …]
|