Home
last modified time | relevance | path

Searched refs:SignExtend32 (Results 1 – 6 of 6) sorted by relevance

/external/llvm/lib/Target/Mips/Disassembler/
DMipsDisassembler.cpp385 int Offset = SignExtend32<16>(Insn & 0xffff); in DecodeMem()
407 int Offset = SignExtend32<16>(Insn & 0xffff); in DecodeFMem()
471 BranchOffset = SignExtend32<18>(BranchOffset << 2) + 4; in DecodeBranchTarget()
481 BranchOffset = SignExtend32<18>(BranchOffset << 2) + 4; in DecodeBC1()
501 Inst.addOperand(MCOperand::CreateImm(SignExtend32<16>(Insn))); in DecodeSimm16()
512 Inst.addOperand(MCOperand::CreateImm(SignExtend32<16>(Size))); in DecodeInsSize()
521 Inst.addOperand(MCOperand::CreateImm(SignExtend32<16>(Size))); in DecodeExtSize()
/external/llvm/include/llvm/Support/
DMathExtras.h462 template <unsigned B> inline int32_t SignExtend32(uint32_t x) { in SignExtend32() function
468 inline int32_t SignExtend32(uint32_t X, unsigned B) { in SignExtend32() function
/external/llvm/lib/Target/ARM/Disassembler/
DARMDisassembler.cpp2098 if (!tryAddingSymbolicOperand(Address, Address + SignExtend32<20>(imm<<1) + 4, in DecodeT2BInstruction()
2100 Inst.addOperand(MCOperand::CreateImm(SignExtend32<20>(imm << 1))); in DecodeT2BInstruction()
2115 if (!tryAddingSymbolicOperand(Address, Address + SignExtend32<26>(imm) + 8, in DecodeBranchImmInstruction()
2117 Inst.addOperand(MCOperand::CreateImm(SignExtend32<26>(imm))); in DecodeBranchImmInstruction()
2121 if (!tryAddingSymbolicOperand(Address, Address + SignExtend32<26>(imm) + 8, in DecodeBranchImmInstruction()
2123 Inst.addOperand(MCOperand::CreateImm(SignExtend32<26>(imm))); in DecodeBranchImmInstruction()
3028 if (!tryAddingSymbolicOperand(Address, Address + SignExtend32<12>(Val<<1) + 4, in DecodeThumbBROperand()
3030 Inst.addOperand(MCOperand::CreateImm(SignExtend32<12>(Val << 1))); in DecodeThumbBROperand()
3036 if (!tryAddingSymbolicOperand(Address, Address + SignExtend32<21>(Val) + 4, in DecodeT2BROperand()
3038 Inst.addOperand(MCOperand::CreateImm(SignExtend32<21>(Val))); in DecodeT2BROperand()
[all …]
/external/llvm/lib/Target/PowerPC/InstPrinter/
DPPCInstPrinter.cpp140 Value = SignExtend32<5>(Value); in printS5ImmOperand()
/external/llvm/lib/Target/CellSPU/
DSPUISelDAGToDAG.cpp86 return i_val == SignExtend32<16>(i_val); in isIntS16Immediate()
100 if (val == SignExtend32<16>(val)) { in isFPS16Immediate()
/external/llvm/lib/Target/PowerPC/
DPPCISelLowering.cpp831 int MaskVal = SignExtend32(Value, ByteSize * 8); in get_VSPLTI_elt()
837 if (SignExtend32<5>(MaskVal) == MaskVal) in get_VSPLTI_elt()
2443 SignExtend32<26>(Addr) != Addr) in isBLACompatibleAddress()