| /freebsd/contrib/llvm-project/llvm/lib/Target/CSKY/MCTargetDesc/ |
| H A D | CSKYMCCodeEmitter.cpp | 85 MCFixupKind Kind = getTargetFixup(MO.getExpr()); in getImmOpValue() 86 addFixup(Fixups, 0, MO.getExpr(), Kind); in getImmOpValue() 136 if (MO.getExpr()->getKind() == MCExpr::Specifier) in getBranchSymbolOpValue() 137 Kind = getTargetFixup(MO.getExpr()); in getBranchSymbolOpValue() 139 addFixup(Fixups, 0, MO.getExpr(), Kind); in getBranchSymbolOpValue() 151 if (MO.getExpr()->getKind() == MCExpr::Specifier) in getConstpoolSymbolOpValue() 152 Kind = getTargetFixup(MO.getExpr()); in getConstpoolSymbolOpValue() 154 addFixup(Fixups, 0, MO.getExpr(), Kind); in getConstpoolSymbolOpValue() 166 if (MO.getExpr()->getKind() == MCExpr::Specifier) in getDataSymbolOpValue() 167 Kind = getTargetFixup(MO.getExpr()); in getDataSymbolOpValue() [all …]
|
| H A D | CSKYInstPrinter.cpp | 141 MAI.printExpr(O, *MO.getExpr()); in printOperand() 153 MAI.printExpr(O, *MO.getExpr()); in printDataSymbol() 176 MAI.printExpr(O, *MO.getExpr()); in printConstpool()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AVR/MCTargetDesc/ |
| H A D | AVRMCCodeEmitter.cpp | 124 addFixup(Fixups, 0, MO.getExpr(), MCFixupKind(Fixup)); in encodeRelCondBrTarget() 169 addFixup(Fixups, 0, OffsetOp.getExpr(), AVR::fixup_6); in encodeMemri() 194 if (isa<AVRMCExpr>(MO.getExpr())) { in encodeImm() 199 return getExprOpValue(MO.getExpr(), Fixups, STI); in encodeImm() 203 addFixup(Fixups, Offset, MO.getExpr(), FixupKind); in encodeImm() 219 addFixup(Fixups, 0, MO.getExpr(), FixupKind); in encodeCallTarget() 272 return getExprOpValue(MO.getExpr(), Fixups, STI); in getMachineOpValue()
|
| H A D | AVRInstPrinter.cpp | 137 MAI.printExpr(O, *Op.getExpr()); in printOperand() 169 MAI.printExpr(O, *Op.getExpr()); in printPCRelImm() 192 MAI.printExpr(O, *OffsetOp.getExpr()); in printMemri()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/Sparc/MCTargetDesc/ |
| H A D | SparcMCCodeEmitter.cpp | 151 const MCExpr *Expr = MO.getExpr(); in getMachineOpValue() 176 const MCExpr *Expr = MO.getExpr(); in getSImm5OpValue() 202 const MCExpr *Expr = MO.getExpr(); in getSImm13OpValue() 227 addFixup(Fixups, 0, MO.getExpr(), Sparc::fixup_sparc_call30); in getCallTargetOpValue() 239 addFixup(Fixups, 0, MO.getExpr(), ELF::R_SPARC_WDISP22); in getBranchTargetOpValue() 250 addFixup(Fixups, 0, MO.getExpr(), ELF::R_SPARC_WDISP19); in getBranchPredTargetOpValue() 261 addFixup(Fixups, 0, MO.getExpr(), ELF::R_SPARC_WDISP16); in getBranchOnRegTargetOpValue() 272 addFixup(Fixups, 0, MO.getExpr(), ELF::R_SPARC_WDISP10); in getCompareAndBranchTargetOpValue()
|
| /freebsd/contrib/llvm-project/llvm/lib/MC/ |
| H A D | MCInst.cpp | 42 Ctx->getAsmInfo()->printExpr(OS, *getExpr()); in print() 44 getExpr()->print(OS, nullptr); in print() 68 const MCExpr *Expr = getExpr(); in isBareSymbolRef() 69 MCExpr::ExprKind Kind = getExpr()->getKind(); in isBareSymbolRef()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/MCTargetDesc/ |
| H A D | PPCMCCodeEmitter.cpp | 66 Fixups, 0, MO.getExpr(), in getDirectBrEncoding() 172 addFixup(Fixups, 0, MO.getExpr(), PPC::fixup_ppc_brcond14); in getCondBrEncoding() 184 addFixup(Fixups, 0, MO.getExpr(), PPC::fixup_ppc_br24abs); in getAbsDirectBrEncoding() 196 addFixup(Fixups, 0, MO.getExpr(), PPC::fixup_ppc_brcond14abs); in getAbsCondBrEncoding() 217 addFixup(Fixups, IsLittleEndian ? 0 : 2, MO.getExpr(), PPC::fixup_ppc_half16); in getImm16Encoding() 231 addFixup(Fixups, 0, MO.getExpr(), Fixup); in getImm34Encoding() 257 addFixup(Fixups, IsLittleEndian ? 0 : 2, MO.getExpr(), PPC::fixup_ppc_half16); in getDispRIEncoding() 270 addFixup(Fixups, IsLittleEndian ? 0 : 2, MO.getExpr(), in getDispRIXEncoding() 287 addFixup(Fixups, IsLittleEndian ? 0 : 2, MO.getExpr(), in getDispRIX16Encoding() 328 const MCExpr *Expr = MO.getExpr(); in getDispRI34PCRelEncoding() [all …]
|
| H A D | PPCELFStreamer.cpp | 140 const MCExpr *Expr = Operand.getExpr(); in emitGOTToPCRelReloc() 173 const MCExpr *Expr = Operand.getExpr(); in emitGOTToPCRelLabel() 211 const MCExpr *Expr = Operand.getExpr(); in isPartOfGOTToPCRelPair()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/AsmParser/ |
| H A D | HexagonAsmParser.cpp | 268 const MCExpr *myMCExpr = &HexagonMCInstrInfo::getExpr(*getImm()); in CheckImmRange() 552 if (I.isExpr() && cast<HexagonMCExpr>(I.getExpr())->signMismatch() && in canonicalizeImmediates() 1407 HexagonMCInstrInfo::setMustNotExtend(*S27.getExpr()); in processInstruction() 1408 HexagonMCInstrInfo::setS27_2_reloc(*S27.getExpr()); in processInstruction() 1435 MCBinaryExpr::createSub(MO.getExpr(), in processInstruction() 1445 bool Success = MO.getExpr()->evaluateAsAbsolute(Value); in processInstruction() 1459 MCBinaryExpr::createSub(MO.getExpr(), in processInstruction() 1533 bool Absolute = MO_1.getExpr()->evaluateAsAbsolute(Value); in processInstruction() 1597 getStreamer().emitValue(MO_1.getExpr(), 4); in processInstruction() 1624 int sVal = (MO.getExpr()->evaluateAsAbsolute(Value) && Value < 0) ? -1 : 0; in processInstruction() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/M68k/MCTargetDesc/ |
| H A D | M68kInstPrinter.cpp | 72 MAI.printExpr(O, *MO.getExpr()); in printOperand() 82 MAI.printExpr(O, *MO.getExpr()); in printImmediate() 148 MAI.printExpr(O, *Op.getExpr()); in printDisp() 157 MAI.printExpr(O, *MO.getExpr()); in printAbsMem()
|
| H A D | M68kMCCodeEmitter.cpp | 136 const MCExpr *Expr = MCO.getExpr(); in encodeRelocImm() 161 const MCExpr *Expr = MCO.getExpr(); in encodePCRelImm() 231 if (!Op.getExpr()->evaluateAsAbsolute(Addr)) in getMachineOpValue()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/Lanai/MCTargetDesc/ |
| H A D | LanaiInstPrinter.cpp | 155 MAI.printExpr(OS, *Op.getExpr()); in printOperand() 168 MAI.printExpr(OS, *Op.getExpr()); in printMemImmOperand() 181 MAI.printExpr(OS, *Op.getExpr()); in printHi16ImmOperand() 193 MAI.printExpr(OS, *Op.getExpr()); in printHi16AndImmOperand() 205 MAI.printExpr(OS, *Op.getExpr()); in printLo16AndImmOperand() 230 MAI.printExpr(OS, *OffsetOp.getExpr()); in printMemoryImmediateOffset()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/MCTargetDesc/ |
| H A D | SystemZInstPrinterCommon.cpp | 56 MAI->printExpr(O, *MO.getExpr()); in printOperand() 70 MAI.printExpr(O, *MO.getExpr()); in printUImmOperand() 83 MAI.printExpr(O, *MO.getExpr()); in printSImmOperand() 168 const MCConstantExpr *BranchTarget = dyn_cast<MCConstantExpr>(MO.getExpr()); in printPCRelOperand() 174 MAI.printExpr(O, *MO.getExpr()); in printPCRelOperand() 187 const MCSymbolRefExpr &refExp = cast<MCSymbolRefExpr>(*MO.getExpr()); in printPCRelTLSOperand()
|
| H A D | SystemZMCCodeEmitter.cpp | 178 addFixup(Fixups, BitOffset >> 3, MO.getExpr(), Kind); in getImmOpValue() 203 Expr = MO.getExpr(); in getPCRelEncoding() 218 addFixup(Fixups, 0, MOTLS.getExpr(), SystemZ::FK_390_TLS_CALL); in getPCRelEncoding()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/MCTargetDesc/ |
| H A D | HexagonInstPrinter.cpp | 60 if (MO.getExpr()->evaluateAsAbsolute(Value)) in printOperand() 63 MAI.printExpr(O, *MO.getExpr()); in printOperand() 73 MCExpr const &Expr = *MO.getExpr(); in printBrtarget()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/BPF/MCTargetDesc/ |
| H A D | BPFInstPrinter.cpp | 44 MAI.printExpr(O, *Op.getExpr()); in printOperand() 75 MAI.printExpr(O, *Op.getExpr()); in printImm64Operand() 92 MAI.printExpr(O, *Op.getExpr()); in printBrTargetOperand()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/Mips/MCTargetDesc/ |
| H A D | MipsMCCodeEmitter.cpp | 262 MO.getExpr(), MCConstantExpr::create(-4, Ctx), Ctx); in getBranchTargetOpValue() 283 MO.getExpr(), MCConstantExpr::create(-4, Ctx), Ctx); in getBranchTargetOpValue1SImm16() 305 MO.getExpr(), MCConstantExpr::create(-2, Ctx), Ctx); in getBranchTargetOpValueMMR6() 327 MO.getExpr(), MCConstantExpr::create(-4, Ctx), Ctx); in getBranchTargetOpValueLsl2MMR6() 347 const MCExpr *Expr = MO.getExpr(); in getBranchTarget7OpValueMM() 367 const MCExpr *Expr = MO.getExpr(); in getBranchTargetOpValueMMPC10() 387 const MCExpr *Expr = MO.getExpr(); in getBranchTargetOpValueMM() 408 MO.getExpr(), MCConstantExpr::create(-4, Ctx), Ctx); in getBranchTarget21OpValue() 429 MO.getExpr(), MCConstantExpr::create(-4, Ctx), Ctx); in getBranchTarget21OpValueMM() 450 MO.getExpr(), MCConstantExpr::create(-4, Ctx), Ctx); in getBranchTarget26OpValue() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/MCTargetDesc/ |
| H A D | AArch64MCCodeEmitter.cpp | 256 addFixup(Fixups, 0, MO.getExpr(), Kind); in getLdStUImm12OpValue() 275 const MCExpr *Expr = MO.getExpr(); in getAdrLabelOpValue() 303 const MCExpr *Expr = MO.getExpr(); in getAddSubImmOpValue() 334 addFixup(Fixups, 0, MO.getExpr(), AArch64::fixup_aarch64_pcrel_branch19, in getCondBranchTargetOpValue() 352 Fixups.push_back(MCFixup::create(0, MO.getExpr(), in getCondCompBranchTargetOpValue() 372 addFixup(Fixups, 0, MO.getExpr(), AArch64::fixup_aarch64_pcrel_branch16, in getPAuthPCRelOpValue() 391 addFixup(Fixups, 0, MO.getExpr(), AArch64::fixup_aarch64_ldr_pcrel_imm19, in getLoadLiteralOpValue() 417 MCFixup::create(0, MO.getExpr(), AArch64::fixup_aarch64_movw)); in getMoveWideImmOpValue() 436 addFixup(Fixups, 0, MO.getExpr(), AArch64::fixup_aarch64_pcrel_branch14, in getTestBranchTargetOpValue() 458 addFixup(Fixups, 0, MO.getExpr(), Kind, true); in getBranchTargetOpValue() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/MSP430/MCTargetDesc/ |
| H A D | MSP430InstPrinter.cpp | 51 MAI.printExpr(O, *Op.getExpr()); in printPCRelImmOperand() 65 MAI.printExpr(O, *Op.getExpr()); in printOperand() 86 MAI.printExpr(O, *Disp.getExpr()); in printSrcMemOperand()
|
| H A D | MSP430MCCodeEmitter.cpp | 128 addFixup(Fixups, Offset, MO.getExpr(), MSP430::fixup_16_byte); in getMachineOpValue() 159 addFixup(Fixups, Offset, MO2.getExpr(), FixupKind); in getMemOpValue() 172 addFixup(Fixups, 0, MO.getExpr(), MSP430::fixup_10_pcrel); in getPCRelImmOpValue()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/Xtensa/MCTargetDesc/ |
| H A D | XtensaInstPrinter.cpp | 56 printExpr(MC.getExpr(), O); in printOperand() 91 MAI.printExpr(O, *MC.getExpr()); in printBranchTarget() 103 MAI.printExpr(O, *MC.getExpr()); in printLoopTarget() 115 MAI.printExpr(O, *MC.getExpr()); in printJumpTarget() 138 MAI.printExpr(O, *MC.getExpr()); in printCallOperand() 162 MAI.printExpr(O, *MC.getExpr()); in printL32RTarget()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
| H A D | HexagonAsmPrinter.cpp | 184 if (Imm.getExpr()->evaluateAsAbsolute(Value)) { in smallData() 238 OutStreamer.emitValue(Imm.getExpr(), AlignSize); in smallData() 255 const auto *HE = static_cast<const HexagonMCExpr*>(ImmOp.getExpr()); in ScaleVectorOffset() 256 int32_t V = cast<MCConstantExpr>(HE->getExpr())->getValue(); in ScaleVectorOffset() 280 HexagonMCInstrInfo::setMustNotExtend(*S16.getExpr()); in HexagonProcessInstruction() 281 HexagonMCInstrInfo::setS27_2_reloc(*S16.getExpr()); in HexagonProcessInstruction() 428 MCExpr const *Expr = MO.getExpr(); in HexagonProcessInstruction() 454 MCExpr const *Expr = MO2.getExpr(); in HexagonProcessInstruction() 490 MCExpr const *Expr = MO.getExpr(); in HexagonProcessInstruction() 523 bool Success = MO.getExpr()->evaluateAsAbsolute(Imm); in HexagonProcessInstruction() [all …]
|
| /freebsd/contrib/llvm-project/clang/lib/AST/ByteCode/ |
| H A D | InterpFrame.cpp | 139 const Expr *CallExpr = Caller->getExpr(getRetPC()); in describe() 257 const Expr *InterpFrame::getExpr(CodePtr PC) const { in getExpr() function in InterpFrame 259 return Caller->getExpr(RetPC); in getExpr() 261 return S.getExpr(Func, PC); in getExpr()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/ |
| H A D | SystemZMCInstLower.cpp | 36 const MCExpr *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/LoongArch/AsmParser/ |
| H A D | LoongArchAsmParser.cpp | 956 ? Inst.getOperand(1).getExpr() in emitLoadAddressAbs() 957 : Inst.getOperand(2).getExpr(); in emitLoadAddressAbs() 982 const MCExpr *Symbol = Inst.getOperand(1).getExpr(); in emitLoadAddressPcrel() 1005 const MCExpr *Symbol = Inst.getOperand(2).getExpr(); in emitLoadAddressPcrelLarge() 1025 const MCExpr *Symbol = Inst.getOperand(1).getExpr(); in emitLoadAddressGot() 1079 const MCExpr *Symbol = Inst.getOperand(2).getExpr(); in emitLoadAddressGotLarge() 1102 const MCExpr *Symbol = Inst.getOperand(1).getExpr(); in emitLoadAddressTLSLE() 1117 const MCExpr *Symbol = Inst.getOperand(1).getExpr(); in emitLoadAddressTLSIE() 1172 const MCExpr *Symbol = Inst.getOperand(2).getExpr(); in emitLoadAddressTLSIELarge() 1192 const MCExpr *Symbol = Inst.getOperand(1).getExpr(); in emitLoadAddressTLSLD() [all …]
|