Home
last modified time | relevance | path

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

12345

/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/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()
DHexagonMCInstrInfo.cpp100 if (exOp.getExpr()->evaluateAsAbsolute(Value)) { in clampExtended()
143 XMI.addOperand(MCOperand::createExpr(MO.getExpr())); in deriveExtender()
243 MCExpr const &HexagonMCInstrInfo::getExpr(MCExpr const &Expr) { in getExpr() function in llvm::HexagonMCInstrInfo
245 assert(HExpr.getExpr()); in getExpr()
246 return *HExpr.getExpr(); in getExpr()
463 if (isa<HexagonMCExpr>(MO.getExpr()) && in isConstExtended()
464 HexagonMCInstrInfo::mustExtend(*MO.getExpr())) in isConstExtended()
479 if (isa<HexagonMCExpr>(MO.getExpr()) && in isConstExtended()
480 HexagonMCInstrInfo::mustNotExtend(*MO.getExpr())) in isConstExtended()
483 if (!MO.getExpr()->evaluateAsAbsolute(Value)) in isConstExtended()
[all …]
/external/swiftshader/third_party/LLVM/lib/Target/PowerPC/MCTargetDesc/
DPPCMCCodeEmitter.cpp92 Fixups.push_back(MCFixup::Create(0, MO.getExpr(), in getDirectBrEncoding()
103 Fixups.push_back(MCFixup::Create(0, MO.getExpr(), in getCondBrEncoding()
114 Fixups.push_back(MCFixup::Create(0, MO.getExpr(), in getHA16Encoding()
125 Fixups.push_back(MCFixup::Create(0, MO.getExpr(), in getLO16Encoding()
142 Fixups.push_back(MCFixup::Create(0, MO.getExpr(), in getMemRIEncoding()
160 Fixups.push_back(MCFixup::Create(0, MO.getExpr(), in getMemRIXEncoding()
/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/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/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/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/swiftshader/third_party/LLVM/lib/Target/MSP430/InstPrinter/
DMSP430InstPrinter.cpp41 O << *Op.getExpr(); in printPCRelImmOperand()
55 O << '#' << *Op.getExpr(); in printOperand()
77 O << *Disp.getExpr(); in printSrcMemOperand()
/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/llvm/lib/Target/Lanai/InstPrinter/
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()
/external/llvm/lib/Target/Mips/MCTargetDesc/
DMipsMCCodeEmitter.cpp282 MO.getExpr(), MCConstantExpr::create(-4, Ctx), Ctx); in getBranchTargetOpValue()
305 MO.getExpr(), MCConstantExpr::create(-4, Ctx), Ctx); in getBranchTargetOpValue1SImm16()
329 MO.getExpr(), MCConstantExpr::create(-2, Ctx), Ctx); in getBranchTargetOpValueMMR6()
351 const MCExpr *Expr = MO.getExpr(); in getBranchTarget7OpValueMM()
373 const MCExpr *Expr = MO.getExpr(); in getBranchTargetOpValueMMPC10()
395 const MCExpr *Expr = MO.getExpr(); in getBranchTargetOpValueMM()
419 MO.getExpr(), MCConstantExpr::create(-4, Ctx), Ctx); in getBranchTarget21OpValue()
442 MO.getExpr(), MCConstantExpr::create(-4, Ctx), Ctx); in getBranchTarget21OpValueMM()
465 MO.getExpr(), MCConstantExpr::create(-4, Ctx), Ctx); in getBranchTarget26OpValue()
488 MO.getExpr(), MCConstantExpr::create(-4, Ctx), Ctx); in getBranchTarget26OpValueMM()
[all …]
/external/swiftshader/third_party/LLVM/lib/Target/X86/InstPrinter/
DX86ATTInstPrinter.cpp86 O << *Op.getExpr(); in print_pcrel_imm()
104 O << '$' << *Op.getExpr(); in printOperand()
127 O << *DispSpec.getExpr(); in printMemReference()
DX86IntelInstPrinter.cpp73 O << *Op.getExpr(); in print_pcrel_imm()
91 O << *Op.getExpr(); in printOperand()
129 O << *DispSpec.getExpr(); in printMemReference()
/external/llvm/lib/Target/Hexagon/AsmParser/
DHexagonAsmParser.cpp245 const MCExpr *myMCExpr = &HexagonMCInstrInfo::getExpr(*getImm()); in CheckImmRange()
557 dyn_cast<MCConstantExpr>(&HexagonMCInstrInfo::getExpr(*getImm())); in adds4_6ImmOperands()
564 dyn_cast<MCConstantExpr>(&HexagonMCInstrInfo::getExpr(*getImm())); in adds3_6ImmOperands()
763 if (I.isExpr() && cast<HexagonMCExpr>(I.getExpr())->signMismatch() && in canonicalizeImmediates()
1542 HexagonMCInstrInfo::setMustNotExtend(*S16.getExpr()); in processInstruction()
1543 HexagonMCInstrInfo::setS23_2_reloc(*S16.getExpr()); in processInstruction()
1570 MO.getExpr(), MCConstantExpr::create(1, Context), Context), Context)); in processInstruction()
1578 bool Success = MO.getExpr()->evaluateAsAbsolute(Value); in processInstruction()
1592 MO.getExpr(), MCConstantExpr::create(1, Context), Context), Context)); in processInstruction()
1683 bool Absolute = MO_1.getExpr()->evaluateAsAbsolute(Value); in processInstruction()
[all …]
/external/llvm/lib/Target/Hexagon/
DHexagonAsmPrinter.cpp195 if (Imm.getExpr()->evaluateAsAbsolute(Value)) { in smallData()
249 OutStreamer.EmitValue(Imm.getExpr(), AlignSize); in smallData()
268 HexagonMCInstrInfo::setMustNotExtend(*S16.getExpr()); in HexagonProcessInstruction()
269 HexagonMCInstrInfo::setS23_2_reloc(*S16.getExpr()); in HexagonProcessInstruction()
378 MCExpr const *Expr = MO.getExpr(); in HexagonProcessInstruction()
403 MCExpr const *Expr = MO2.getExpr(); in HexagonProcessInstruction()
438 MCExpr const *Expr = MO.getExpr(); in HexagonProcessInstruction()
486 bool Success = MO.getExpr()->evaluateAsAbsolute(Imm); in HexagonProcessInstruction()
539 MCExpr const *Expr = Imm.getExpr(); in HexagonProcessInstruction()
/external/swiftshader/third_party/LLVM/lib/Target/PTX/InstPrinter/
DPTXInstPrinter.cpp99 O << *(MI->getOperand(Index++).getExpr()) << ", ("; in printCall()
130 const MCExpr *Expr = Op.getExpr(); in printOperand()
135 O << *Op.getExpr(); in printOperand()
/external/llvm/lib/Target/Lanai/MCTargetDesc/
DLanaiMCCodeEmitter.cpp122 const MCExpr *Expr = MCOp.getExpr(); in getMachineOpValue()
133 MCFixup::create(0, MCOp.getExpr(), MCFixupKind(FixupKind(Expr)))); in getMachineOpValue()
299 0, MCOp.getExpr(), static_cast<MCFixupKind>(Lanai::FIXUP_LANAI_25))); in getCallTargetOpValue()
312 0, MCOp.getExpr(), static_cast<MCFixupKind>(Lanai::FIXUP_LANAI_25))); in getBranchTargetOpValue()
/external/llvm/lib/Target/SystemZ/
DSystemZMCInstLower.cpp37 SystemZMCInstLower::getExpr(const MachineOperand &MO, in getExpr() function in SystemZMCInstLower
90 return MCOperand::createExpr(getExpr(MO, Kind)); in lowerOperand()
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()
/external/llvm/lib/Target/SystemZ/InstPrinter/
DSystemZInstPrinter.cpp47 MO.getExpr()->print(O, MAI); in printOperand()
151 MO.getExpr()->print(O, &MAI); in printPCRelOperand()
162 const MCSymbolRefExpr &refExp = cast<MCSymbolRefExpr>(*MO.getExpr()); in printPCRelTLSOperand()
/external/swiftshader/third_party/LLVM/lib/Target/PowerPC/InstPrinter/
DPPCInstPrinter.cpp265 O << *Op.getExpr(); in printOperand()
276 isa<MCBinaryExpr>(MI->getOperand(OpNo).getExpr())) { in printSymbolLo()
293 isa<MCBinaryExpr>(MI->getOperand(OpNo).getExpr())) { in printSymbolHi()
/external/javassist/src/main/javassist/compiler/
DNoFieldException.java38 public ASTree getExpr() { return expr; } in getExpr() method in NoFieldException
/external/swiftshader/third_party/LLVM/lib/Target/MBlaze/MCTargetDesc/
DMBlazeMCCodeEmitter.cpp165 Fixups.push_back(MCFixup::Create(0,oper.getExpr(),FixupKind)); in EmitImmediate()
171 Fixups.push_back(MCFixup::Create(0,oper.getExpr(),FixupKind)); in EmitImmediate()

12345