Home
last modified time | relevance | path

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

12345678910>>...15

/external/llvm/lib/Target/Sparc/MCTargetDesc/
DSparcMCCodeEmitter.cpp127 const MCExpr *Expr = MO.getExpr(); in getMachineOpValue()
155 const SparcMCExpr *SExpr = dyn_cast<SparcMCExpr>(MO.getExpr()); in getCallTargetOpValue()
167 if (const SparcMCExpr *SExpr = dyn_cast<SparcMCExpr>(MO.getExpr())) { in getCallTargetOpValue()
172 Fixups.push_back(MCFixup::create(0, MO.getExpr(), fixupKind)); in getCallTargetOpValue()
185 Fixups.push_back(MCFixup::create(0, MO.getExpr(), in getBranchTargetOpValue()
198 Fixups.push_back(MCFixup::create(0, MO.getExpr(), in getBranchPredTargetOpValue()
210 Fixups.push_back(MCFixup::create(0, MO.getExpr(), in getBranchOnRegTargetOpValue()
212 Fixups.push_back(MCFixup::create(0, MO.getExpr(), in getBranchOnRegTargetOpValue()
/external/llvm-project/llvm/lib/Target/Sparc/MCTargetDesc/
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()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Sparc/MCTargetDesc/
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()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/MCTargetDesc/
DPPCMCCodeEmitter.cpp50 Fixups.push_back(MCFixup::create(0, MO.getExpr(), in getDirectBrEncoding()
62 Fixups.push_back(MCFixup::create(0, MO.getExpr(), in getCondBrEncoding()
75 Fixups.push_back(MCFixup::create(0, MO.getExpr(), in getAbsDirectBrEncoding()
88 Fixups.push_back(MCFixup::create(0, MO.getExpr(), in getAbsCondBrEncoding()
100 Fixups.push_back(MCFixup::create(IsLittleEndian? 0 : 2, MO.getExpr(), in getImm16Encoding()
118 Fixups.push_back(MCFixup::create(IsLittleEndian? 0 : 2, MO.getExpr(), in getMemRIEncoding()
136 Fixups.push_back(MCFixup::create(IsLittleEndian? 0 : 2, MO.getExpr(), in getMemRIXEncoding()
157 Fixups.push_back(MCFixup::create(IsLittleEndian? 0 : 2, MO.getExpr(), in getMemRIX16Encoding()
216 Fixups.push_back(MCFixup::create(0, MO.getExpr(), in getTLSRegEncoding()
230 Fixups.push_back(MCFixup::create(0, MO.getExpr(), in getTLSCallEncoding()
/external/llvm/lib/Target/Hexagon/MCTargetDesc/
DHexagonInstPrinter.cpp98 if (MO.getExpr()->evaluateAsAbsolute(Value)) in printOperand()
101 O << *MO.getExpr(); in printOperand()
131 bool Success = MI->getOperand(OpNo).getExpr()->evaluateAsAbsolute(Imm); in prints3_6ImmOperand()
141 bool Success = MI->getOperand(OpNo).getExpr()->evaluateAsAbsolute(Imm); in prints3_7ImmOperand()
151 bool Success = MI->getOperand(OpNo).getExpr()->evaluateAsAbsolute(Imm); in prints4_6ImmOperand()
161 bool Success = MI->getOperand(OpNo).getExpr()->evaluateAsAbsolute(Imm); in prints4_7ImmOperand()
217 MCExpr const &Expr = *MO.getExpr(); in printBrtarget()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AVR/MCTargetDesc/
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()
/external/llvm-project/llvm/lib/Target/AVR/MCTargetDesc/
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()
/external/llvm-project/llvm/lib/Target/PowerPC/MCTargetDesc/
DPPCMCCodeEmitter.cpp51 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()
234 const MCExpr *Expr = MO.getExpr(); in getMemRI34PCRelEncoding()
[all …]
/external/llvm/lib/Target/AMDGPU/MCTargetDesc/
DSIMCCodeEmitter.cpp168 const MCConstantExpr *C = dyn_cast<MCConstantExpr>(MO.getExpr()); in getLitEncoding()
227 if (const MCConstantExpr *C = dyn_cast<MCConstantExpr>(Op.getExpr())) in encodeInstruction()
248 const MCExpr *Expr = MO.getExpr(); in getSOPPBrEncoding()
264 if (MO.isExpr() && MO.getExpr()->getKind() != MCExpr::Constant) { in getMachineOpValue()
265 const MCSymbolRefExpr *Expr = dyn_cast<MCSymbolRefExpr>(MO.getExpr()); in getMachineOpValue()
271 Fixups.push_back(MCFixup::create(4, MO.getExpr(), Kind, MI.getLoc())); in getMachineOpValue()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/AsmParser/
DHexagonAsmParser.cpp268 const MCExpr *myMCExpr = &HexagonMCInstrInfo::getExpr(*getImm()); in CheckImmRange()
540 if (I.isExpr() && cast<HexagonMCExpr>(I.getExpr())->signMismatch() && in canonicalizeImmediates()
1317 HexagonMCInstrInfo::setMustNotExtend(*S27.getExpr()); in processInstruction()
1318 HexagonMCInstrInfo::setS27_2_reloc(*S27.getExpr()); in processInstruction()
1345 MCBinaryExpr::createSub(MO.getExpr(), in processInstruction()
1355 bool Success = MO.getExpr()->evaluateAsAbsolute(Value); in processInstruction()
1369 MCBinaryExpr::createSub(MO.getExpr(), in processInstruction()
1458 bool Absolute = MO_1.getExpr()->evaluateAsAbsolute(Value); in processInstruction()
1522 getStreamer().EmitValue(MO_1.getExpr(), 4); in processInstruction()
1549 int sVal = (MO.getExpr()->evaluateAsAbsolute(Value) && Value < 0) ? -1 : 0; in processInstruction()
[all …]
/external/llvm-project/llvm/lib/Target/Hexagon/AsmParser/
DHexagonAsmParser.cpp270 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 …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/MC/
DMCInst.cpp31 OS << "Expr:(" << *getExpr() << ")"; in print()
50 const MCExpr *Expr = getExpr(); in isBareSymbolRef()
51 MCExpr::ExprKind Kind = getExpr()->getKind(); in isBareSymbolRef()
/external/llvm-project/llvm/lib/MC/
DMCInst.cpp31 OS << "Expr:(" << *getExpr() << ")"; in print()
50 const MCExpr *Expr = getExpr(); in isBareSymbolRef()
51 MCExpr::ExprKind Kind = getExpr()->getKind(); in isBareSymbolRef()
/external/llvm/lib/Target/PowerPC/MCTargetDesc/
DPPCMCCodeEmitter.cpp160 Fixups.push_back(MCFixup::create(0, MO.getExpr(), in getDirectBrEncoding()
172 Fixups.push_back(MCFixup::create(0, MO.getExpr(), in getCondBrEncoding()
185 Fixups.push_back(MCFixup::create(0, MO.getExpr(), in getAbsDirectBrEncoding()
198 Fixups.push_back(MCFixup::create(0, MO.getExpr(), in getAbsCondBrEncoding()
210 Fixups.push_back(MCFixup::create(IsLittleEndian? 0 : 2, MO.getExpr(), in getImm16Encoding()
228 Fixups.push_back(MCFixup::create(IsLittleEndian? 0 : 2, MO.getExpr(), in getMemRIEncoding()
247 Fixups.push_back(MCFixup::create(IsLittleEndian? 0 : 2, MO.getExpr(), in getMemRIXEncoding()
323 Fixups.push_back(MCFixup::create(0, MO.getExpr(), in getTLSRegEncoding()
337 Fixups.push_back(MCFixup::create(0, MO.getExpr(), in getTLSCallEncoding()
/external/llvm/lib/Target/X86/InstPrinter/
DX86IntelInstPrinter.cpp132 const MCConstantExpr *BranchTarget = dyn_cast<MCConstantExpr>(Op.getExpr()); in printPCRelImm()
139 Op.getExpr()->print(O, &MAI); in printPCRelImm()
153 Op.getExpr()->print(O, &MAI); in printOperand()
190 DispSpec.getExpr()->print(O, &MAI); in printMemReference()
248 DispSpec.getExpr()->print(O, &MAI); in printMemOffset()
DX86ATTInstPrinter.cpp151 const MCConstantExpr *BranchTarget = dyn_cast<MCConstantExpr>(Op.getExpr()); in printPCRelImm()
157 Op.getExpr()->print(O, &MAI); in printPCRelImm()
190 Op.getExpr()->print(O, &MAI); in printOperand()
216 DispSpec.getExpr()->print(O, &MAI); in printMemReference()
286 DispSpec.getExpr()->print(O, &MAI); in printMemOffset()
/external/llvm/lib/Target/AArch64/MCTargetDesc/
DAArch64MCCodeEmitter.cpp208 Fixups.push_back(MCFixup::create(0, MO.getExpr(), Kind, MI.getLoc())); in getLdStUImm12OpValue()
227 const MCExpr *Expr = MO.getExpr(); in getAdrLabelOpValue()
258 const MCExpr *Expr = MO.getExpr(); in getAddSubImmOpValue()
282 Fixups.push_back(MCFixup::create(0, MO.getExpr(), Kind, MI.getLoc())); in getCondBranchTargetOpValue()
304 Fixups.push_back(MCFixup::create(0, MO.getExpr(), Kind, MI.getLoc())); in getLoadLiteralOpValue()
332 0, MO.getExpr(), MCFixupKind(AArch64::fixup_aarch64_movw), MI.getLoc())); in getMoveWideImmOpValue()
352 Fixups.push_back(MCFixup::create(0, MO.getExpr(), Kind, MI.getLoc())); in getTestBranchTargetOpValue()
376 Fixups.push_back(MCFixup::create(0, MO.getExpr(), Kind, MI.getLoc())); in getBranchTargetOpValue()
520 const AArch64MCExpr *A64E = cast<AArch64MCExpr>(UImm16MO.getExpr()); in fixMOVZ()
547 Fixups.push_back(MCFixup::create(0, MI.getOperand(0).getExpr(), Fixup)); in encodeInstruction()
/external/llvm/lib/Target/MSP430/InstPrinter/
DMSP430InstPrinter.cpp42 Op.getExpr()->print(O, &MAI); in printPCRelImmOperand()
57 Op.getExpr()->print(O, &MAI); in printOperand()
79 Disp.getExpr()->print(O, &MAI); in printSrcMemOperand()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/MCTargetDesc/
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()
/external/llvm-project/llvm/lib/Target/AArch64/MCTargetDesc/
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 MCExpr *E = UImm16MO.getExpr(); in fixMOVZ()
603 Fixups.push_back(MCFixup::create(0, MI.getOperand(0).getExpr(), Fixup)); in encodeInstruction()
/external/llvm-project/llvm/lib/Target/Hexagon/MCTargetDesc/
DHexagonInstPrinter.cpp72 if (MO.getExpr()->evaluateAsAbsolute(Value)) in printOperand()
75 O << *MO.getExpr(); in printOperand()
85 MCExpr const &Expr = *MO.getExpr(); in printBrtarget()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/MCTargetDesc/
DHexagonInstPrinter.cpp72 if (MO.getExpr()->evaluateAsAbsolute(Value)) in printOperand()
75 O << *MO.getExpr(); in printOperand()
85 MCExpr const &Expr = *MO.getExpr(); in printBrtarget()
/external/llvm-project/llvm/lib/Target/Mips/MCTargetDesc/
DMipsMCCodeEmitter.cpp248 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 …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/MCTargetDesc/
DMipsMCCodeEmitter.cpp248 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 …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/BPF/MCTargetDesc/
DBPFInstPrinter.cpp61 printExpr(Op.getExpr(), O); in printOperand()
92 printExpr(Op.getExpr(), O); in printImm64Operand()
104 printExpr(Op.getExpr(), O); in printBrTargetOperand()

12345678910>>...15