/external/llvm/lib/Target/Mips/MCTargetDesc/ |
D | MipsMCExpr.cpp | 174 AbsVal = SignExtend64<16>(AbsVal); in evaluateAsRelocatableImpl() 178 AbsVal = SignExtend64<16>((AbsVal + 0x8000) >> 16); in evaluateAsRelocatableImpl() 181 AbsVal = SignExtend64<16>((AbsVal + 0x80008000LL) >> 32); in evaluateAsRelocatableImpl() 184 AbsVal = SignExtend64<16>((AbsVal + 0x800080008000LL) >> 48); in evaluateAsRelocatableImpl()
|
/external/llvm/lib/Target/Hexagon/MCTargetDesc/ |
D | HexagonInstPrinter.cpp | 132 Imm = SignExtend64<9>(Imm); in prints3_6ImmOperand() 142 Imm = SignExtend64<10>(Imm); in prints3_7ImmOperand() 152 Imm = SignExtend64<10>(Imm); in prints4_6ImmOperand() 162 Imm = SignExtend64<11>(Imm); in prints4_7ImmOperand()
|
/external/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/ |
D | RuntimeDyldMachOAArch64.h | 77 Addend = SignExtend64(Addend, 28); in decodeAddend() 90 Addend = SignExtend64(Addend, 33); in decodeAddend() 270 ExplicitAddend = SignExtend64(RawAddend, 24); in processRelocationRef() 441 SignExtend64(readBytesUnaligned(LocalAddress, NumBytes), NumBytes * 8); in processSubtractRelocation()
|
D | RuntimeDyldMachOX86_64.h | 172 SignExtend64(readBytesUnaligned(LocalAddress, NumBytes), NumBytes * 8); in processSubtractRelocation()
|
/external/llvm/lib/Target/SystemZ/Disassembler/ |
D | SystemZDisassembler.cpp | 165 Inst.addOperand(MCOperand::createImm(SignExtend64<N>(Imm))); in decodeSImmOperand() 241 uint64_t Value = SignExtend64<N>(Imm) * 2 + Address; in decodePCDBLOperand() 284 Inst.addOperand(MCOperand::createImm(SignExtend64<20>(Disp))); in decodeBDAddr20Operand() 307 Inst.addOperand(MCOperand::createImm(SignExtend64<20>(Disp))); in decodeBDXAddr20Operand()
|
/external/llvm/lib/Target/PowerPC/Disassembler/ |
D | PPCDisassembler.cpp | 311 Inst.addOperand(MCOperand::createImm(SignExtend64<N>(Imm))); in decodeSImmOperand() 345 Inst.addOperand(MCOperand::createImm(SignExtend64<16>(Disp))); in decodeMemRIOperands() 366 Inst.addOperand(MCOperand::createImm(SignExtend64<16>(Disp << 2))); in decodeMemRIXOperands() 381 Inst.addOperand(MCOperand::createImm(SignExtend64<16>(Disp << 4))); in decodeMemRIX16Operands()
|
/external/llvm/lib/Target/Mips/Disassembler/ |
D | MipsDisassembler.cpp | 604 int64_t Imm = SignExtend64(fieldFromInstruction(insn, 0, 16), 16) * 4 + 4; in DecodeAddiGroupBranch() 633 InsnType Imm = SignExtend64(fieldFromInstruction(insn, 0, 16), 16) * 2; in DecodePOP35GroupBranchMMR6() 674 int64_t Imm = SignExtend64(fieldFromInstruction(insn, 0, 16), 16) * 4 + 4; in DecodeDaddiGroupBranch() 703 InsnType Imm = SignExtend64(fieldFromInstruction(insn, 0, 16), 16) * 2; in DecodePOP37GroupBranchMMR6() 745 int64_t Imm = SignExtend64(fieldFromInstruction(insn, 0, 16), 16) * 4 + 4; in DecodeBlezlGroupBranch() 790 int64_t Imm = SignExtend64(fieldFromInstruction(insn, 0, 16), 16) * 4 + 4; in DecodeBgtzlGroupBranch() 832 int64_t Imm = SignExtend64(fieldFromInstruction(insn, 0, 16), 16) * 4 + 4; in DecodeBgtzGroupBranch() 881 int64_t Imm = SignExtend64(fieldFromInstruction(insn, 0, 16), 16) * 4 + 4; in DecodeBlezGroupBranch() 1807 int64_t Offset = SignExtend64<9>((Insn >> 7) & 0x1ff); in DecodeSpecial3LlSc() 2288 InsnType Imm = SignExtend64(fieldFromInstruction(insn, 0, 16), 16) * 2; in DecodeBgtzGroupBranchMMR6() [all …]
|
/external/llvm/lib/Target/Mips/ |
D | Mips16RegisterInfo.cpp | 141 Offset = SignExtend64<16>(NewImm); in eliminateFI()
|
D | MipsAnalyzeImmediate.cpp | 94 int64_t Imm = SignExtend64<16>(Seq[0].ImmOpnd); in ReplaceADDiuSLLWithLUi()
|
D | MipsSERegisterInfo.cpp | 208 Offset = SignExtend64<16>(NewImm); in eliminateFI()
|
D | MipsSEInstrInfo.cpp | 492 BuildMI(MBB, II, DL, get(LUi), Reg).addImm(SignExtend64<16>(Inst->ImmOpnd)); in loadImmediate() 495 .addImm(SignExtend64<16>(Inst->ImmOpnd)); in loadImmediate() 500 .addImm(SignExtend64<16>(Inst->ImmOpnd)); in loadImmediate()
|
D | MipsSEISelDAGToDAG.cpp | 788 SDValue ImmOpnd = CurDAG->getTargetConstant(SignExtend64<16>(Inst->ImmOpnd), in trySelect() 804 ImmOpnd = CurDAG->getTargetConstant(SignExtend64<16>(Inst->ImmOpnd), DL, in trySelect()
|
/external/llvm/lib/Target/Hexagon/Disassembler/ |
D | HexagonDisassembler.cpp | 647 MI, SignExtend64<T>(tmp)); in signedDecoder() 648 int64_t Extended = SignExtend64<32>(FullValue); in signedDecoder() 686 HexagonMCInstrInfo::addConstant(MI, SignExtend64<12>(tmp), contextFromDecoder(Decoder)); in s11_1ImmDecoder() 766 MI, SignExtend64(tmp, Bits)); in brtargetDecoder() 767 int64_t Extended = SignExtend64<32>(FullValue) + Address; in brtargetDecoder() 1450 operand = SignExtend64<7>((inst & 0x7f0) >> 4); in addSubinstOperands() 1576 operand = SignExtend64<9>(((inst & 0x1f8) >> 3) << 3); in addSubinstOperands()
|
/external/llvm/include/llvm/Support/ |
D | MathExtras.h | 675 template <unsigned B> inline int64_t SignExtend64(uint64_t x) { 681 inline int64_t SignExtend64(uint64_t X, unsigned B) {
|
/external/swiftshader/third_party/LLVM/include/llvm/Support/ |
D | MathExtras.h | 454 template <unsigned B> inline int64_t SignExtend64(uint64_t x) { in SignExtend64() function
|
/external/llvm/lib/Target/AArch64/InstPrinter/ |
D | AArch64InstPrinter.cpp | 236 << formatImm(SignExtend64(Value, RegWidth)); in printInst() 251 << formatImm(SignExtend64(Value, RegWidth)); in printInst() 265 << formatImm(SignExtend64(Value, RegWidth)); in printInst()
|
/external/llvm/lib/Support/ |
D | APInt.cpp | 558 int64_t lhsSext = SignExtend64(VAL, BitWidth); in slt() 559 int64_t rhsSext = SignExtend64(RHS.VAL, BitWidth); in slt() 883 int64_t sext = SignExtend64(getWord(0), BitWidth); in roundToDouble()
|
/external/llvm/lib/Target/Hexagon/AsmParser/ |
D | HexagonAsmParser.cpp | 371 int64_t Extended = SignExtend64(Value, 32); in addSignedImmOperands()
|
/external/llvm/lib/Target/Mips/AsmParser/ |
D | MipsAsmParser.cpp | 956 Imm = SignExtend64<Bits>(Imm); in addConstantSImmOperands() 2162 ImmValue = SignExtend64<32>(ImmValue); in loadImmediate()
|
/external/llvm/lib/Target/SystemZ/ |
D | SystemZISelLowering.cpp | 4039 int64_t SignedValue = SignExtend64(Value, BitsPerElement); in tryBuildVectorReplicate()
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | SelectionDAG.cpp | 1270 Offset = SignExtend64(Offset, BitWidth); in getGlobalAddress()
|