/external/llvm/lib/Target/Sparc/MCTargetDesc/ |
D | SparcMCCodeEmitter.cpp | 127 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/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Sparc/MCTargetDesc/ |
D | SparcMCCodeEmitter.cpp | 134 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/llvm/lib/Target/Hexagon/MCTargetDesc/ |
D | HexagonInstPrinter.cpp | 98 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-7.0/llvm/lib/Target/AVR/MCTargetDesc/ |
D | AVRMCCodeEmitter.cpp | 99 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/swiftshader/third_party/LLVM/lib/Target/PowerPC/MCTargetDesc/ |
D | PPCMCCodeEmitter.cpp | 92 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/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/AsmParser/ |
D | HexagonAsmParser.cpp | 269 const MCExpr *myMCExpr = &HexagonMCInstrInfo::getExpr(*getImm()); in CheckImmRange() 543 if (I.isExpr() && cast<HexagonMCExpr>(I.getExpr())->signMismatch() && in canonicalizeImmediates() 1319 HexagonMCInstrInfo::setMustNotExtend(*S27.getExpr()); in processInstruction() 1320 HexagonMCInstrInfo::setS27_2_reloc(*S27.getExpr()); in processInstruction() 1347 MCBinaryExpr::createSub(MO.getExpr(), in processInstruction() 1357 bool Success = MO.getExpr()->evaluateAsAbsolute(Value); in processInstruction() 1371 MCBinaryExpr::createSub(MO.getExpr(), in processInstruction() 1460 bool Absolute = MO_1.getExpr()->evaluateAsAbsolute(Value); in processInstruction() 1524 getStreamer().EmitValue(MO_1.getExpr(), 4); in processInstruction() 1551 int sVal = (MO.getExpr()->evaluateAsAbsolute(Value) && Value < 0) ? -1 : 0; in processInstruction() [all …]
|
/external/llvm/lib/Target/AMDGPU/MCTargetDesc/ |
D | SIMCCodeEmitter.cpp | 168 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/ |
D | PPCMCCodeEmitter.cpp | 160 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/swiftshader/third_party/llvm-7.0/llvm/lib/Target/PowerPC/MCTargetDesc/ |
D | PPCMCCodeEmitter.cpp | 167 Fixups.push_back(MCFixup::create(0, MO.getExpr(), in getDirectBrEncoding() 179 Fixups.push_back(MCFixup::create(0, MO.getExpr(), in getCondBrEncoding() 192 Fixups.push_back(MCFixup::create(0, MO.getExpr(), in getAbsDirectBrEncoding() 205 Fixups.push_back(MCFixup::create(0, MO.getExpr(), in getAbsCondBrEncoding() 217 Fixups.push_back(MCFixup::create(IsLittleEndian? 0 : 2, MO.getExpr(), in getImm16Encoding() 235 Fixups.push_back(MCFixup::create(IsLittleEndian? 0 : 2, MO.getExpr(), in getMemRIEncoding() 253 Fixups.push_back(MCFixup::create(IsLittleEndian? 0 : 2, MO.getExpr(), in getMemRIXEncoding() 327 Fixups.push_back(MCFixup::create(0, MO.getExpr(), in getTLSRegEncoding() 341 Fixups.push_back(MCFixup::create(0, MO.getExpr(), in getTLSCallEncoding()
|
/external/llvm/lib/Target/AArch64/MCTargetDesc/ |
D | AArch64MCCodeEmitter.cpp | 208 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/swiftshader/third_party/llvm-7.0/llvm/lib/MC/ |
D | MCInst.cpp | 32 OS << "Expr:(" << *getExpr() << ")"; in print() 51 const MCExpr *Expr = getExpr(); in isBareSymbolRef() 52 MCExpr::ExprKind Kind = getExpr()->getKind(); in isBareSymbolRef()
|
/external/llvm/lib/Target/X86/InstPrinter/ |
D | X86IntelInstPrinter.cpp | 132 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()
|
D | X86ATTInstPrinter.cpp | 151 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-7.0/llvm/lib/Target/X86/InstPrinter/ |
D | X86IntelInstPrinter.cpp | 68 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()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AArch64/MCTargetDesc/ |
D | AArch64MCCodeEmitter.cpp | 223 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/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Lanai/InstPrinter/ |
D | LanaiInstPrinter.cpp | 156 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/swiftshader/third_party/LLVM/lib/Target/MSP430/InstPrinter/ |
D | MSP430InstPrinter.cpp | 41 O << *Op.getExpr(); in printPCRelImmOperand() 55 O << '#' << *Op.getExpr(); in printOperand() 77 O << *Disp.getExpr(); in printSrcMemOperand()
|
/external/llvm/lib/Target/MSP430/InstPrinter/ |
D | MSP430InstPrinter.cpp | 42 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-7.0/llvm/lib/Target/MSP430/InstPrinter/ |
D | MSP430InstPrinter.cpp | 42 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-7.0/llvm/lib/Target/Mips/MCTargetDesc/ |
D | MipsMCCodeEmitter.cpp | 244 MO.getExpr(), MCConstantExpr::create(-4, Ctx), Ctx); in getBranchTargetOpValue() 266 MO.getExpr(), MCConstantExpr::create(-4, Ctx), Ctx); in getBranchTargetOpValue1SImm16() 289 MO.getExpr(), MCConstantExpr::create(-2, Ctx), Ctx); in getBranchTargetOpValueMMR6() 312 MO.getExpr(), MCConstantExpr::create(-4, Ctx), Ctx); in getBranchTargetOpValueLsl2MMR6() 333 const MCExpr *Expr = MO.getExpr(); in getBranchTarget7OpValueMM() 354 const MCExpr *Expr = MO.getExpr(); in getBranchTargetOpValueMMPC10() 375 const MCExpr *Expr = MO.getExpr(); in getBranchTargetOpValueMM() 398 MO.getExpr(), MCConstantExpr::create(-4, Ctx), Ctx); in getBranchTarget21OpValue() 420 MO.getExpr(), MCConstantExpr::create(-4, Ctx), Ctx); in getBranchTarget21OpValueMM() 442 MO.getExpr(), MCConstantExpr::create(-4, Ctx), Ctx); in getBranchTarget26OpValue() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/MCTargetDesc/ |
D | SIMCCodeEmitter.cpp | 216 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()
|
/external/llvm/lib/Target/Lanai/InstPrinter/ |
D | LanaiInstPrinter.cpp | 156 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/ |
D | MipsMCCodeEmitter.cpp | 282 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-7.0/llvm/lib/Target/BPF/InstPrinter/ |
D | BPFInstPrinter.cpp | 61 printExpr(Op.getExpr(), O); in printOperand() 92 printExpr(Op.getExpr(), O); in printImm64Operand() 104 printExpr(Op.getExpr(), O); in printBrTargetOperand()
|
/external/llvm/lib/Target/Hexagon/AsmParser/ |
D | HexagonAsmParser.cpp | 245 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 …]
|