| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/CSKY/MCTargetDesc/ |
| H A D | CSKYMCCodeEmitter.h | 82 if (MO.getExpr()->getKind() == MCExpr::Target) in getBranchSymbolOpValue() 83 Kind = getTargetFixup(MO.getExpr()); in getBranchSymbolOpValue() 85 Fixups.push_back(MCFixup::create(0, MO.getExpr(), Kind, MI.getLoc())); in getBranchSymbolOpValue() 97 if (MO.getExpr()->getKind() == MCExpr::Target) in getConstpoolSymbolOpValue() 98 Kind = getTargetFixup(MO.getExpr()); in getConstpoolSymbolOpValue() 100 Fixups.push_back(MCFixup::create(0, MO.getExpr(), Kind, MI.getLoc())); in getConstpoolSymbolOpValue() 111 if (MO.getExpr()->getKind() == MCExpr::Target) in getCallSymbolOpValue() 112 Kind = getTargetFixup(MO.getExpr()); in getCallSymbolOpValue() 114 Fixups.push_back(MCFixup::create(0, MO.getExpr(), Kind, MI.getLoc())); in getCallSymbolOpValue() 125 if (MO.getExpr()->getKind() == MCExpr::Target) in getBareSymbolOpValue() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/Sparc/MCTargetDesc/ |
| H A D | SparcMCCodeEmitter.cpp | 137 const MCExpr *Expr = MO.getExpr(); in getMachineOpValue() 164 const MCExpr *Expr = MO.getExpr(); in getSImm13OpValue() 188 const MCExpr *Expr = MO.getExpr(); in getCallTargetOpValue() 218 Fixups.push_back(MCFixup::create(0, MO.getExpr(), in getBranchTargetOpValue() 231 Fixups.push_back(MCFixup::create(0, MO.getExpr(), in getBranchPredTargetOpValue() 244 Fixups.push_back(MCFixup::create(0, MO.getExpr(), in getBranchOnRegTargetOpValue() 246 Fixups.push_back(MCFixup::create(0, MO.getExpr(), in getBranchOnRegTargetOpValue()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AVR/MCTargetDesc/ |
| H A D | AVRMCCodeEmitter.cpp | 99 Fixups.push_back(MCFixup::create(0, MO.getExpr(), in encodeRelCondBrTarget() 161 Fixups.push_back(MCFixup::create(0, OffsetOp.getExpr(), in encodeMemri() 187 if (isa<AVRMCExpr>(MO.getExpr())) { in encodeImm() 192 return getExprOpValue(MO.getExpr(), Fixups, STI); in encodeImm() 196 Fixups.push_back(MCFixup::create(Offset, MO.getExpr(), FixupKind, MI.getLoc())); in encodeImm() 212 Fixups.push_back(MCFixup::create(0, MO.getExpr(), FixupKind, MI.getLoc())); in encodeCallTarget() 263 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() 191 O << *OffsetOp.getExpr(); in printMemri()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/Hexagon/AsmParser/ |
| H A D | HexagonAsmParser.cpp | 270 const MCExpr *myMCExpr = &HexagonMCInstrInfo::getExpr(*getImm()); in CheckImmRange() 546 if (I.isExpr() && cast<HexagonMCExpr>(I.getExpr())->signMismatch() && in canonicalizeImmediates() 1347 HexagonMCInstrInfo::setMustNotExtend(*S27.getExpr()); in processInstruction() 1348 HexagonMCInstrInfo::setS27_2_reloc(*S27.getExpr()); in processInstruction() 1375 MCBinaryExpr::createSub(MO.getExpr(), in processInstruction() 1385 bool Success = MO.getExpr()->evaluateAsAbsolute(Value); in processInstruction() 1399 MCBinaryExpr::createSub(MO.getExpr(), in processInstruction() 1470 bool Absolute = MO_1.getExpr()->evaluateAsAbsolute(Value); in processInstruction() 1534 getStreamer().emitValue(MO_1.getExpr(), 4); in processInstruction() 1561 int sVal = (MO.getExpr()->evaluateAsAbsolute(Value) && Value < 0) ? -1 : 0; in processInstruction() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/PowerPC/MCTargetDesc/ |
| H A D | PPCMCCodeEmitter.cpp | 51 Fixups.push_back(MCFixup::create(0, MO.getExpr(), in getDirectBrEncoding() 66 Fixups.push_back(MCFixup::create(0, MO.getExpr(), in getCondBrEncoding() 79 Fixups.push_back(MCFixup::create(0, MO.getExpr(), in getAbsDirectBrEncoding() 92 Fixups.push_back(MCFixup::create(0, MO.getExpr(), in getAbsCondBrEncoding() 114 Fixups.push_back(MCFixup::create(IsLittleEndian? 0 : 2, MO.getExpr(), in getImm16Encoding() 129 Fixups.push_back(MCFixup::create(0, MO.getExpr(), Fixup)); in getImm34Encoding() 162 Fixups.push_back(MCFixup::create(IsLittleEndian? 0 : 2, MO.getExpr(), in getMemRIEncoding() 180 Fixups.push_back(MCFixup::create(IsLittleEndian? 0 : 2, MO.getExpr(), in getMemRIXEncoding() 201 Fixups.push_back(MCFixup::create(IsLittleEndian? 0 : 2, MO.getExpr(), in getMemRIX16Encoding() 252 const MCExpr *Expr = MO.getExpr(); in getMemRI34PCRelEncoding() [all …]
|
| H A D | PPCELFStreamer.cpp | 144 const MCExpr *Expr = Operand.getExpr(); in emitGOTToPCRelReloc() 179 const MCExpr *Expr = Operand.getExpr(); in emitGOTToPCRelLabel() 216 const MCExpr *Expr = Operand.getExpr(); in isPartOfGOTToPCRelPair()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/Mips/MCTargetDesc/ |
| H A D | MipsMCCodeEmitter.cpp | 248 MO.getExpr(), MCConstantExpr::create(-4, Ctx), Ctx); in getBranchTargetOpValue() 270 MO.getExpr(), MCConstantExpr::create(-4, Ctx), Ctx); in getBranchTargetOpValue1SImm16() 293 MO.getExpr(), MCConstantExpr::create(-2, Ctx), Ctx); in getBranchTargetOpValueMMR6() 316 MO.getExpr(), MCConstantExpr::create(-4, Ctx), Ctx); in getBranchTargetOpValueLsl2MMR6() 337 const MCExpr *Expr = MO.getExpr(); in getBranchTarget7OpValueMM() 358 const MCExpr *Expr = MO.getExpr(); in getBranchTargetOpValueMMPC10() 379 const MCExpr *Expr = MO.getExpr(); in getBranchTargetOpValueMM() 402 MO.getExpr(), MCConstantExpr::create(-4, Ctx), Ctx); in getBranchTarget21OpValue() 424 MO.getExpr(), MCConstantExpr::create(-4, Ctx), Ctx); in getBranchTarget21OpValueMM() 446 MO.getExpr(), MCConstantExpr::create(-4, Ctx), Ctx); in getBranchTarget26OpValue() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AArch64/MCTargetDesc/ |
| H A D | AArch64MCCodeEmitter.cpp | 223 Fixups.push_back(MCFixup::create(0, MO.getExpr(), Kind, MI.getLoc())); in getLdStUImm12OpValue() 242 const MCExpr *Expr = MO.getExpr(); in getAdrLabelOpValue() 273 const MCExpr *Expr = MO.getExpr(); in getAddSubImmOpValue() 306 Fixups.push_back(MCFixup::create(0, MO.getExpr(), Kind, MI.getLoc())); in getCondBranchTargetOpValue() 328 Fixups.push_back(MCFixup::create(0, MO.getExpr(), Kind, MI.getLoc())); in getLoadLiteralOpValue() 356 0, MO.getExpr(), MCFixupKind(AArch64::fixup_aarch64_movw), MI.getLoc())); in getMoveWideImmOpValue() 376 Fixups.push_back(MCFixup::create(0, MO.getExpr(), Kind, MI.getLoc())); in getTestBranchTargetOpValue() 400 Fixups.push_back(MCFixup::create(0, MO.getExpr(), Kind, MI.getLoc())); in getBranchTargetOpValue() 572 const MCExpr *E = UImm16MO.getExpr(); in fixMOVZ() 606 MCFixup::create(0, MI.getOperand(0).getExpr(), in encodeInstruction()
|
| /netbsd-src/external/apache2/llvm/dist/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()
|
| H A D | LanaiMCCodeEmitter.cpp | 119 const MCExpr *Expr = MCOp.getExpr(); in getMachineOpValue() 130 MCFixup::create(0, MCOp.getExpr(), MCFixupKind(FixupKind(Expr)))); in getMachineOpValue() 296 0, MCOp.getExpr(), static_cast<MCFixupKind>(Lanai::FIXUP_LANAI_25))); in getBranchTargetOpValue()
|
| /netbsd-src/external/apache2/llvm/dist/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()
|
| /netbsd-src/external/apache2/llvm/dist/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()
|
| /netbsd-src/external/apache2/llvm/dist/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 | HexagonMCInstrInfo.cpp | 195 XMI.addOperand(MCOperand::createExpr(MO.getExpr())); in deriveExtender() 303 MCExpr const &HexagonMCInstrInfo::getExpr(MCExpr const &Expr) { in getExpr() function in HexagonMCInstrInfo 305 assert(HExpr.getExpr()); in getExpr() 306 return *HExpr.getExpr(); in getExpr() 545 if (isa<HexagonMCExpr>(MO.getExpr()) && in isConstExtended() 546 HexagonMCInstrInfo::mustExtend(*MO.getExpr())) in isConstExtended() 561 if (isa<HexagonMCExpr>(MO.getExpr()) && in isConstExtended() 562 HexagonMCInstrInfo::mustNotExtend(*MO.getExpr())) in isConstExtended() 565 if (!MO.getExpr()->evaluateAsAbsolute(Value)) in isConstExtended() 868 if (!MCO.getExpr()->evaluateAsAbsolute(Value)) in minConstant()
|
| H A D | HexagonMCExpr.cpp | 78 auto expr = getExpr(); in fixELFSymbolsInTLSFixups() 82 MCExpr const *HexagonMCExpr::getExpr() const { return Expr; } in getExpr() function in HexagonMCExpr
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/BPF/MCTargetDesc/ |
| H A D | BPFInstPrinter.cpp | 61 printExpr(Op.getExpr(), O); in printOperand() 92 printExpr(Op.getExpr(), O); in printImm64Operand() 104 printExpr(Op.getExpr(), O); in printBrTargetOperand()
|
| /netbsd-src/external/apache2/llvm/dist/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() 427 MCExpr const *Expr = MO.getExpr(); in HexagonProcessInstruction() 453 MCExpr const *Expr = MO2.getExpr(); in HexagonProcessInstruction() 489 MCExpr const *Expr = MO.getExpr(); in HexagonProcessInstruction() 522 bool Success = MO.getExpr()->evaluateAsAbsolute(Imm); in HexagonProcessInstruction() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/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()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/MCTargetDesc/ |
| H A D | SIMCCodeEmitter.cpp | 218 const auto *C = dyn_cast<MCConstantExpr>(MO.getExpr()); in getLitEncoding() 362 if (const auto *C = dyn_cast<MCConstantExpr>(Op.getExpr())) in encodeInstruction() 383 const MCExpr *Expr = MO.getExpr(); in getSOPPBrEncoding() 503 if (MO.isExpr() && MO.getExpr()->getKind() != MCExpr::Constant) { in getMachineOpValue() 515 if (needsPCRel(MO.getExpr())) in getMachineOpValue() 525 MCFixup::create(Offset, MO.getExpr(), Kind, MI.getLoc())); in getMachineOpValue()
|
| /netbsd-src/external/apache2/llvm/dist/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()
|
| H A D | SystemZAsmPrinter.cpp | 223 .addExpr(Lower.getExpr(MI->getOperand(0), in emitInstruction() 242 .addExpr(Lower.getExpr(MI->getOperand(0), MCSymbolRefExpr::VK_PLT)); in emitInstruction() 253 .addExpr(Lower.getExpr(MI->getOperand(0), MCSymbolRefExpr::VK_PLT)); in emitInstruction() 260 .addExpr(Lower.getExpr(MI->getOperand(2), MCSymbolRefExpr::VK_PLT)); in emitInstruction() 351 .addExpr(Lower.getExpr(MI->getOperand(0), MCSymbolRefExpr::VK_TLSGD)); in emitInstruction() 358 .addExpr(Lower.getExpr(MI->getOperand(0), MCSymbolRefExpr::VK_TLSLDM)); in emitInstruction() 683 const MCExpr *Expr = Lower.getExpr(CalleeMO, MCSymbolRefExpr::VK_PLT); in LowerPATCHPOINT()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/SystemZ/MCTargetDesc/ |
| H A D | SystemZInstPrinter.cpp | 54 MO.getExpr()->print(O, MAI); in printOperand() 163 MO.getExpr()->print(O, &MAI); in printPCRelOperand() 175 const MCSymbolRefExpr &refExp = cast<MCSymbolRefExpr>(*MO.getExpr()); in printPCRelTLSOperand()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/VE/MCTargetDesc/ |
| H A D | VEMCCodeEmitter.cpp | 110 const MCExpr *Expr = MO.getExpr(); in getMachineOpValue() 134 MCFixup::create(0, MO.getExpr(), (MCFixupKind)VE::fixup_ve_pc_lo32)); in getBranchTargetOpValue()
|