Home
last modified time | relevance | path

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

1234

/freebsd-12.1/contrib/llvm/lib/Target/Sparc/MCTargetDesc/
H A DSparcMCCodeEmitter.cpp134 const MCExpr *Expr = MO.getExpr(); in getMachineOpValue()
162 const SparcMCExpr *SExpr = dyn_cast<SparcMCExpr>(MO.getExpr()); in getCallTargetOpValue()
174 if (const SparcMCExpr *SExpr = dyn_cast<SparcMCExpr>(MO.getExpr())) { in getCallTargetOpValue()
179 Fixups.push_back(MCFixup::create(0, MO.getExpr(), fixupKind)); in getCallTargetOpValue()
192 Fixups.push_back(MCFixup::create(0, MO.getExpr(), in getBranchTargetOpValue()
205 Fixups.push_back(MCFixup::create(0, MO.getExpr(), in getBranchPredTargetOpValue()
218 Fixups.push_back(MCFixup::create(0, MO.getExpr(), in getBranchOnRegTargetOpValue()
220 Fixups.push_back(MCFixup::create(0, MO.getExpr(), in getBranchOnRegTargetOpValue()
/freebsd-12.1/contrib/llvm/lib/Target/PowerPC/MCTargetDesc/
H A DPPCMCCodeEmitter.cpp51 Fixups.push_back(MCFixup::create(0, MO.getExpr(), in getDirectBrEncoding()
63 Fixups.push_back(MCFixup::create(0, MO.getExpr(), in getCondBrEncoding()
76 Fixups.push_back(MCFixup::create(0, MO.getExpr(), in getAbsDirectBrEncoding()
89 Fixups.push_back(MCFixup::create(0, MO.getExpr(), in getAbsCondBrEncoding()
101 Fixups.push_back(MCFixup::create(IsLittleEndian? 0 : 2, MO.getExpr(), in getImm16Encoding()
119 Fixups.push_back(MCFixup::create(IsLittleEndian? 0 : 2, MO.getExpr(), in getMemRIEncoding()
137 Fixups.push_back(MCFixup::create(IsLittleEndian? 0 : 2, MO.getExpr(), in getMemRIXEncoding()
158 Fixups.push_back(MCFixup::create(IsLittleEndian? 0 : 2, MO.getExpr(), in getMemRIX16Encoding()
217 Fixups.push_back(MCFixup::create(0, MO.getExpr(), in getTLSRegEncoding()
231 Fixups.push_back(MCFixup::create(0, MO.getExpr(), in getTLSCallEncoding()
/freebsd-12.1/contrib/llvm/lib/Target/AVR/MCTargetDesc/
H A DAVRMCCodeEmitter.cpp99 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()
266 return getExprOpValue(MO.getExpr(), Fixups, STI); in getMachineOpValue()
/freebsd-12.1/contrib/llvm/lib/Target/Hexagon/AsmParser/
H A DHexagonAsmParser.cpp1346 MCBinaryExpr::createSub(MO.getExpr(), in processInstruction()
1370 MCBinaryExpr::createSub(MO.getExpr(), in processInstruction()
1562 if (MO.getExpr()->evaluateAsAbsolute(Value)) { in processInstruction()
1623 MCBinaryExpr::createSub(Imm6.getExpr(), in processInstruction()
1643 MCBinaryExpr::createSub(Imm6.getExpr(), in processInstruction()
1663 MCBinaryExpr::createSub(Imm6.getExpr(), in processInstruction()
1685 MCExpr const &Expr = *Imm.getExpr(); in processInstruction()
1720 MCBinaryExpr::createSub(Imm.getExpr(), in processInstruction()
1758 MCBinaryExpr::createSub(Imm.getExpr(), in processInstruction()
1870 MCBinaryExpr::createSub(Imm.getExpr(), in processInstruction()
[all …]
/freebsd-12.1/contrib/llvm/lib/Target/AArch64/MCTargetDesc/
H A DAArch64MCCodeEmitter.cpp223 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 AArch64MCExpr *A64E = cast<AArch64MCExpr>(UImm16MO.getExpr()); in fixMOVZ()
602 Fixups.push_back(MCFixup::create(0, MI.getOperand(0).getExpr(), Fixup)); in encodeInstruction()
/freebsd-12.1/contrib/llvm/lib/MC/
H A DMCInst.cpp32 OS << "Expr:(" << *getExpr() << ")"; in print()
51 const MCExpr *Expr = getExpr(); in isBareSymbolRef()
52 MCExpr::ExprKind Kind = getExpr()->getKind(); in isBareSymbolRef()
/freebsd-12.1/contrib/llvm/lib/Target/Lanai/InstPrinter/
H A DLanaiInstPrinter.cpp156 Op.getExpr()->print(OS, &MAI); in printOperand()
169 Op.getExpr()->print(OS, &MAI); in printMemImmOperand()
182 Op.getExpr()->print(OS, &MAI); in printHi16ImmOperand()
194 Op.getExpr()->print(OS, &MAI); in printHi16AndImmOperand()
206 Op.getExpr()->print(OS, &MAI); in printLo16AndImmOperand()
231 OffsetOp.getExpr()->print(OS, &MAI); in printMemoryImmediateOffset()
/freebsd-12.1/contrib/llvm/lib/Target/X86/InstPrinter/
H A DX86IntelInstPrinter.cpp68 Op.getExpr()->print(O, &MAI); in printOperand()
101 DispSpec.getExpr()->print(O, &MAI); in printMemReference()
150 DispSpec.getExpr()->print(O, &MAI); in printMemOffset()
159 return MI->getOperand(Op).getExpr()->print(O, &MAI); in printU8Imm()
H A DX86ATTInstPrinter.cpp106 Op.getExpr()->print(O, &MAI); in printOperand()
128 DispSpec.getExpr()->print(O, &MAI); in printMemReference()
189 DispSpec.getExpr()->print(O, &MAI); in printMemOffset()
H A DX86InstPrinterCommon.cpp108 const MCConstantExpr *BranchTarget = dyn_cast<MCConstantExpr>(Op.getExpr()); in printPCRelImm()
114 Op.getExpr()->print(O, &MAI); in printPCRelImm()
/freebsd-12.1/contrib/llvm/lib/Target/Hexagon/MCTargetDesc/
H A DHexagonInstPrinter.cpp73 if (MO.getExpr()->evaluateAsAbsolute(Value)) in printOperand()
76 O << *MO.getExpr(); in printOperand()
86 MCExpr const &Expr = *MO.getExpr(); in printBrtarget()
H A DHexagonMCInstrInfo.cpp172 XMI.addOperand(MCOperand::createExpr(MO.getExpr())); in deriveExtender()
280 MCExpr const &HexagonMCInstrInfo::getExpr(MCExpr const &Expr) { in getExpr() function in HexagonMCInstrInfo
282 assert(HExpr.getExpr()); in getExpr()
283 return *HExpr.getExpr(); in getExpr()
502 if (isa<HexagonMCExpr>(MO.getExpr()) && in isConstExtended()
503 HexagonMCInstrInfo::mustExtend(*MO.getExpr())) in isConstExtended()
518 if (isa<HexagonMCExpr>(MO.getExpr()) && in isConstExtended()
519 HexagonMCInstrInfo::mustNotExtend(*MO.getExpr())) in isConstExtended()
522 if (!MO.getExpr()->evaluateAsAbsolute(Value)) in isConstExtended()
773 if (!MCO.getExpr()->evaluateAsAbsolute(Value)) in minConstant()
H A DHexagonMCExpr.cpp79 auto expr = getExpr(); in fixELFSymbolsInTLSFixups()
83 MCExpr const *HexagonMCExpr::getExpr() const { return Expr; } in getExpr() function in HexagonMCExpr
/freebsd-12.1/contrib/llvm/lib/Target/AMDGPU/MCTargetDesc/
H A DSIMCCodeEmitter.cpp216 const auto *C = dyn_cast<MCConstantExpr>(MO.getExpr()); in getLitEncoding()
298 if (const auto *C = dyn_cast<MCConstantExpr>(Op.getExpr())) in encodeInstruction()
319 const MCExpr *Expr = MO.getExpr(); in getSOPPBrEncoding()
403 if (MO.isExpr() && MO.getExpr()->getKind() != MCExpr::Constant) { in getMachineOpValue()
415 if (needsPCRel(MO.getExpr())) in getMachineOpValue()
419 Fixups.push_back(MCFixup::create(4, MO.getExpr(), Kind, MI.getLoc())); in getMachineOpValue()
/freebsd-12.1/contrib/llvm/lib/Target/Mips/MCTargetDesc/
H A DMipsMCCodeEmitter.cpp250 MO.getExpr(), MCConstantExpr::create(-4, Ctx), Ctx); in getBranchTargetOpValue()
272 MO.getExpr(), MCConstantExpr::create(-4, Ctx), Ctx); in getBranchTargetOpValue1SImm16()
295 MO.getExpr(), MCConstantExpr::create(-2, Ctx), Ctx); in getBranchTargetOpValueMMR6()
339 const MCExpr *Expr = MO.getExpr(); in getBranchTarget7OpValueMM()
360 const MCExpr *Expr = MO.getExpr(); in getBranchTargetOpValueMMPC10()
381 const MCExpr *Expr = MO.getExpr(); in getBranchTargetOpValueMM()
508 const MCExpr *Expr = MO.getExpr(); in getJumpTargetOpValue()
525 const MCExpr *Expr = MO.getExpr(); in getJumpTargetOpValueMM()
759 return getExprOpValue(MO.getExpr(),Fixups, STI); in getMachineOpValue()
979 const MCExpr *Expr = MO.getExpr(); in getSimm19Lsl2Encoding()
[all …]
/freebsd-12.1/contrib/llvm/lib/Target/BPF/InstPrinter/
H A DBPFInstPrinter.cpp61 printExpr(Op.getExpr(), O); in printOperand()
92 printExpr(Op.getExpr(), O); in printImm64Operand()
104 printExpr(Op.getExpr(), O); in printBrTargetOperand()
/freebsd-12.1/contrib/llvm/lib/Target/MSP430/InstPrinter/
H A DMSP430InstPrinter.cpp48 Op.getExpr()->print(O, &MAI); in printPCRelImmOperand()
63 Op.getExpr()->print(O, &MAI); in printOperand()
85 Disp.getExpr()->print(O, &MAI); in printSrcMemOperand()
/freebsd-12.1/contrib/llvm/lib/Target/AVR/InstPrinter/
H A DAVRInstPrinter.cpp120 O << *Op.getExpr(); in printOperand()
142 O << *Op.getExpr(); in printPCRelImm()
164 O << *OffsetOp.getExpr(); in printMemri()
/freebsd-12.1/contrib/llvm/lib/Target/Hexagon/
H A DHexagonAsmPrinter.cpp193 if (Imm.getExpr()->evaluateAsAbsolute(Value)) { in smallData()
247 OutStreamer.EmitValue(Imm.getExpr(), AlignSize); in smallData()
264 const auto *HE = static_cast<const HexagonMCExpr*>(ImmOp.getExpr()); in ScaleVectorOffset()
265 int32_t V = cast<MCConstantExpr>(HE->getExpr())->getValue(); in ScaleVectorOffset()
289 HexagonMCInstrInfo::setMustNotExtend(*S16.getExpr()); in HexagonProcessInstruction()
290 HexagonMCInstrInfo::setS27_2_reloc(*S16.getExpr()); in HexagonProcessInstruction()
435 MCExpr const *Expr = MO.getExpr(); in HexagonProcessInstruction()
461 MCExpr const *Expr = MO2.getExpr(); in HexagonProcessInstruction()
497 MCExpr const *Expr = MO.getExpr(); in HexagonProcessInstruction()
530 bool Success = MO.getExpr()->evaluateAsAbsolute(Imm); in HexagonProcessInstruction()
[all …]
/freebsd-12.1/contrib/llvm/lib/Target/MSP430/MCTargetDesc/
H A DMSP430MCCodeEmitter.cpp115 Fixups.push_back(MCFixup::create(Offset, MO.getExpr(), in getMachineOpValue()
147 Fixups.push_back(MCFixup::create(Offset, MO2.getExpr(), in getMemOpValue()
161 Fixups.push_back(MCFixup::create(0, MO.getExpr(), in getPCRelImmOpValue()
/freebsd-12.1/contrib/llvm/lib/Target/SystemZ/
H A DSystemZMCInstLower.cpp37 SystemZMCInstLower::getExpr(const MachineOperand &MO, in getExpr() function in SystemZMCInstLower
90 return MCOperand::createExpr(getExpr(MO, Kind)); in lowerOperand()
H A DSystemZAsmPrinter.cpp194 .addExpr(Lower.getExpr(MI->getOperand(0), MCSymbolRefExpr::VK_PLT)); in EmitInstruction()
205 .addExpr(Lower.getExpr(MI->getOperand(0), MCSymbolRefExpr::VK_PLT)); in EmitInstruction()
212 .addExpr(Lower.getExpr(MI->getOperand(2), MCSymbolRefExpr::VK_PLT)); in EmitInstruction()
302 .addExpr(Lower.getExpr(MI->getOperand(0), MCSymbolRefExpr::VK_TLSGD)); in EmitInstruction()
309 .addExpr(Lower.getExpr(MI->getOperand(0), MCSymbolRefExpr::VK_TLSLDM)); in EmitInstruction()
577 const MCExpr *Expr = Lower.getExpr(CalleeMO, MCSymbolRefExpr::VK_PLT); in LowerPATCHPOINT()
/freebsd-12.1/contrib/llvm/lib/Target/SystemZ/InstPrinter/
H A DSystemZInstPrinter.cpp50 MO.getExpr()->print(O, MAI); in printOperand()
152 MO.getExpr()->print(O, &MAI); in printPCRelOperand()
163 const MCSymbolRefExpr &refExp = cast<MCSymbolRefExpr>(*MO.getExpr()); in printPCRelTLSOperand()
/freebsd-12.1/contrib/llvm/lib/Target/Lanai/MCTargetDesc/
H A DLanaiMCCodeEmitter.cpp120 const MCExpr *Expr = MCOp.getExpr(); in getMachineOpValue()
131 MCFixup::create(0, MCOp.getExpr(), MCFixupKind(FixupKind(Expr)))); in getMachineOpValue()
297 0, MCOp.getExpr(), static_cast<MCFixupKind>(Lanai::FIXUP_LANAI_25))); in getBranchTargetOpValue()
/freebsd-12.1/contrib/llvm/lib/Target/ARM/MCTargetDesc/
H A DARMMCCodeEmitter.cpp296 const MCExpr *Expr = MO.getExpr(); in getSOImmOpValue()
327 const MCExpr *Expr = MO.getExpr(); in getModImmOpValue()
346 const MCExpr *Expr = MO.getExpr(); in getT2SOImmOpValue()
600 const MCExpr *Expr = MO.getExpr(); in getBranchTargetOpValue()
898 const MCExpr *Expr = MO.getExpr(); in getAddrModeImm12OpValue()
983 const MCExpr *Expr = MO.getExpr(); in getT2AddrModeImm8s4OpValue()
1032 const MCExpr *E = MO.getExpr(); in getHiLo16ImmOpValue()
1183 const MCExpr *Expr = MO.getExpr(); in getAddrMode3OpValue()
1261 const MCExpr *Expr = MO.getExpr(); in getAddrMode5OpValue()
1301 const MCExpr *Expr = MO.getExpr(); in getAddrMode5FP16OpValue()

1234