Home
last modified time | relevance | path

Searched refs:getExpr (Results 1 – 25 of 154) sorted by relevance

1234567

/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/CSKY/MCTargetDesc/
H A DCSKYMCCodeEmitter.h59 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 DCSKYInstPrinter.cpp143 MO.getExpr()->print(O, &MAI); in printOperand()
155 MO.getExpr()->print(O, &MAI); in printDataSymbol()
178 MO.getExpr()->print(O, &MAI); in printConstpool()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AVR/MCTargetDesc/
H A DAVRMCCodeEmitter.cpp100 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 DAVRInstPrinter.cpp137 O << *Op.getExpr(); in printOperand()
169 O << *Op.getExpr(); in printPCRelImm()
192 O << *OffsetOp.getExpr(); in printMemri()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/PowerPC/MCTargetDesc/
H A DPPCMCCodeEmitter.cpp53 Fixups.push_back(MCFixup::create(0, MO.getExpr(), in getDirectBrEncoding()
161 Fixups.push_back(MCFixup::create(0, MO.getExpr(), in getCondBrEncoding()
174 Fixups.push_back(MCFixup::create(0, MO.getExpr(), in getAbsDirectBrEncoding()
187 Fixups.push_back(MCFixup::create(0, MO.getExpr(), in getAbsCondBrEncoding()
209 Fixups.push_back(MCFixup::create(IsLittleEndian? 0 : 2, MO.getExpr(), in getImm16Encoding()
224 Fixups.push_back(MCFixup::create(0, MO.getExpr(), Fixup)); in getImm34Encoding()
252 Fixups.push_back(MCFixup::create(IsLittleEndian? 0 : 2, MO.getExpr(), in getDispRIEncoding()
266 Fixups.push_back(MCFixup::create(IsLittleEndian? 0 : 2, MO.getExpr(), in getDispRIXEncoding()
324 const MCExpr *Expr = MO.getExpr(); in getDispRI34PCRelEncoding()
435 const MCExpr *Expr = MO.getExpr(); in getTLSRegEncoding()
[all …]
H A DPPCELFStreamer.cpp142 const MCExpr *Expr = Operand.getExpr(); in emitGOTToPCRelReloc()
177 const MCExpr *Expr = Operand.getExpr(); in emitGOTToPCRelLabel()
215 const MCExpr *Expr = Operand.getExpr(); in isPartOfGOTToPCRelPair()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Sparc/MCTargetDesc/
H A DSparcMCCodeEmitter.cpp132 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-14.2/contrib/llvm-project/llvm/lib/Target/Hexagon/AsmParser/
H A DHexagonAsmParser.cpp1372 MCBinaryExpr::createSub(MO.getExpr(), in processInstruction()
1396 MCBinaryExpr::createSub(MO.getExpr(), in processInstruction()
1570 if (MO.getExpr()->evaluateAsAbsolute(Value)) { in processInstruction()
1631 MCBinaryExpr::createSub(Imm6.getExpr(), in processInstruction()
1651 MCBinaryExpr::createSub(Imm6.getExpr(), in processInstruction()
1671 MCBinaryExpr::createSub(Imm6.getExpr(), in processInstruction()
1693 MCExpr const &Expr = *Imm.getExpr(); in processInstruction()
1728 MCBinaryExpr::createSub(Imm.getExpr(), in processInstruction()
1766 MCBinaryExpr::createSub(Imm.getExpr(), in processInstruction()
1878 MCBinaryExpr::createSub(Imm.getExpr(), in processInstruction()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/M68k/MCTargetDesc/
H A DM68kInstPrinter.cpp71 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 DM68kMCCodeEmitter.cpp126 const MCExpr *Expr = MCO.getExpr(); in encodeRelocImm()
153 const MCExpr *Expr = MCO.getExpr(); in encodePCRelImm()
217 if (!Op.getExpr()->evaluateAsAbsolute(Addr)) in getMachineOpValue()
/freebsd-14.2/contrib/llvm-project/llvm/lib/MC/
H A DMCInst.cpp38 OS << "Expr:(" << *getExpr() << ")"; in print()
59 const MCExpr *Expr = getExpr(); in isBareSymbolRef()
60 MCExpr::ExprKind Kind = getExpr()->getKind(); in isBareSymbolRef()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Hexagon/MCTargetDesc/
H A DHexagonInstPrinter.cpp72 if (MO.getExpr()->evaluateAsAbsolute(Value)) in printOperand()
75 O << *MO.getExpr(); in printOperand()
85 MCExpr const &Expr = *MO.getExpr(); in printBrtarget()
H A DHexagonMCExpr.cpp79 auto expr = getExpr(); in fixELFSymbolsInTLSFixups()
83 MCExpr const *HexagonMCExpr::getExpr() const { return Expr; } in getExpr() function in HexagonMCExpr
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Mips/MCTargetDesc/
H A DMipsMCCodeEmitter.cpp237 MO.getExpr(), MCConstantExpr::create(-4, Ctx), Ctx); in getBranchTargetOpValue()
259 MO.getExpr(), MCConstantExpr::create(-4, Ctx), Ctx); in getBranchTargetOpValue1SImm16()
326 const MCExpr *Expr = MO.getExpr(); in getBranchTarget7OpValueMM()
347 const MCExpr *Expr = MO.getExpr(); in getBranchTargetOpValueMMPC10()
368 const MCExpr *Expr = MO.getExpr(); in getBranchTargetOpValueMM()
477 const MCExpr *Expr = MO.getExpr(); in getJumpOffset16OpValue()
498 const MCExpr *Expr = MO.getExpr(); in getJumpTargetOpValue()
515 const MCExpr *Expr = MO.getExpr(); in getJumpTargetOpValueMM()
737 return getExprOpValue(MO.getExpr(),Fixups, STI); in getMachineOpValue()
960 const MCExpr *Expr = MO.getExpr(); in getSimm19Lsl2Encoding()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Lanai/MCTargetDesc/
H A DLanaiInstPrinter.cpp159 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-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/MCTargetDesc/
H A DAArch64MCCodeEmitter.cpp245 Fixups.push_back(MCFixup::create(0, MO.getExpr(), Kind, MI.getLoc())); in getLdStUImm12OpValue()
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())); in getPAuthPCRelOpValue()
373 Fixups.push_back(MCFixup::create(0, MO.getExpr(), Kind, MI.getLoc())); in getLoadLiteralOpValue()
401 0, MO.getExpr(), MCFixupKind(AArch64::fixup_aarch64_movw), MI.getLoc())); in getMoveWideImmOpValue()
421 Fixups.push_back(MCFixup::create(0, MO.getExpr(), Kind, MI.getLoc())); in getTestBranchTargetOpValue()
445 Fixups.push_back(MCFixup::create(0, MO.getExpr(), Kind, MI.getLoc())); in getBranchTargetOpValue()
673 const MCExpr *E = UImm16MO.getExpr(); in fixMOVZ()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/BPF/MCTargetDesc/
H A DBPFInstPrinter.cpp66 printExpr(Op.getExpr(), O); in printOperand()
97 printExpr(Op.getExpr(), O); in printImm64Operand()
114 printExpr(Op.getExpr(), O); in printBrTargetOperand()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/MSP430/MCTargetDesc/
H A DMSP430InstPrinter.cpp52 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 DMSP430MCCodeEmitter.cpp116 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-14.2/contrib/llvm-project/llvm/lib/Target/SystemZ/MCTargetDesc/
H A DSystemZInstPrinter.cpp56 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()
H A DSystemZMCCodeEmitter.cpp173 Fixups.push_back(MCFixup::create(BitOffset >> 3, MO.getExpr(), in getImmOpValue()
200 Expr = MO.getExpr(); in getPCRelEncoding()
216 0, MOTLS.getExpr(), (MCFixupKind)SystemZ::FK_390_TLS_CALL, Loc)); in getPCRelEncoding()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Xtensa/MCTargetDesc/
H A DXtensaInstPrinter.cpp65 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-14.2/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonAsmPrinter.cpp184 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-14.2/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZMCInstLower.cpp36 SystemZMCInstLower::getExpr(const MachineOperand &MO, in getExpr() function in SystemZMCInstLower
89 return MCOperand::createExpr(getExpr(MO, Kind)); in lowerOperand()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/LoongArch/AsmParser/
H A DLoongArchAsmParser.cpp870 const MCExpr *Symbol = Inst.getOperand(1).getExpr(); in emitLoadAddressPcrel()
893 const MCExpr *Symbol = Inst.getOperand(2).getExpr(); in emitLoadAddressPcrelLarge()
916 const MCExpr *Symbol = Inst.getOperand(1).getExpr(); in emitLoadAddressGot()
939 const MCExpr *Symbol = Inst.getOperand(2).getExpr(); in emitLoadAddressGotLarge()
962 const MCExpr *Symbol = Inst.getOperand(1).getExpr(); in emitLoadAddressTLSLE()
980 const MCExpr *Symbol = Inst.getOperand(1).getExpr(); in emitLoadAddressTLSIE()
1003 const MCExpr *Symbol = Inst.getOperand(2).getExpr(); in emitLoadAddressTLSIELarge()
1026 const MCExpr *Symbol = Inst.getOperand(1).getExpr(); in emitLoadAddressTLSLD()
1049 const MCExpr *Symbol = Inst.getOperand(2).getExpr(); in emitLoadAddressTLSLDLarge()
1072 const MCExpr *Symbol = Inst.getOperand(1).getExpr(); in emitLoadAddressTLSGD()
[all …]

1234567