Home
last modified time | relevance | path

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

/external/llvm/lib/Target/Mips/Disassembler/
DMipsDisassembler.cpp1270 int Offset = SignExtend32<16>(Insn & 0xffff); in DecodeMem()
1292 int Offset = SignExtend32<9>(Insn >> 7); in DecodeMemEVA()
1313 int Offset = SignExtend32<9>(Insn & 0x1ff); in DecodeLoadByte9()
1331 int Offset = SignExtend32<16>(Insn & 0xffff); in DecodeLoadByte15()
1349 int Offset = SignExtend32<16>(Insn & 0xffff); in DecodeCacheOp()
1366 int Offset = SignExtend32<12>(Insn & 0xfff); in DecodeCacheOpMM()
1383 int Offset = SignExtend32<9>(Insn & 0x1ff); in DecodePrefeOpMM()
1400 int Offset = SignExtend32<9>(Insn >> 7); in DecodeCacheeOp_CacheOpR6()
1417 int Offset = SignExtend32<9>(Insn & 0x1ff); in DecodeStoreEvaOpMM()
1435 int Offset = SignExtend32<16>(Insn & 0xffff); in DecodeSyncI()
[all …]
/external/llvm/lib/Target/Lanai/Disassembler/
DLanaiDisassembler.cpp180 Inst.addOperand(MCOperand::createImm(SignExtend32<16>(Offset))); in decodeRiMemoryValue()
204 Inst.addOperand(MCOperand::createImm(SignExtend32<10>(Offset))); in decodeSplsValue()
229 Inst.addOperand(MCOperand::createImm(SignExtend32<16>(Offset))); in decodeShiftImm()
/external/llvm/lib/Target/Sparc/Disassembler/
DSparcDisassembler.cpp389 simm13 = SignExtend32<13>(fieldFromInstruction(insn, 0, 13)); in DecodeMem()
530 unsigned tgt = SignExtend32<13>(fieldFromInstruction(insn, 0, 13)); in DecodeSIMM13()
544 simm13 = SignExtend32<13>(fieldFromInstruction(insn, 0, 13)); in DecodeJMPL()
577 simm13 = SignExtend32<13>(fieldFromInstruction(insn, 0, 13)); in DecodeReturn()
608 simm13 = SignExtend32<13>(fieldFromInstruction(insn, 0, 13)); in DecodeSWAP()
/external/llvm/lib/ExecutionEngine/RuntimeDyld/
DRuntimeDyldELF.cpp1008 if (SignExtend32<32>(Result) != Result) in resolvePPC64Relocation()
1015 if (SignExtend32<26>(delta) != delta) in resolvePPC64Relocation()
1023 if (SignExtend32<32>(delta) != delta) in resolvePPC64Relocation()
1433 int64_t Addend = Value.Addend + SignExtend32<16>(Opcode & 0x0000ffff); in processRelocationRef()
1458 Value.Addend += SignExtend32<18>((Opcode & 0x0000ffff) << 2); in processRelocationRef()
1460 Value.Addend += SignExtend32<21>((Opcode & 0x0007ffff) << 2); in processRelocationRef()
1462 Value.Addend += SignExtend32<23>((Opcode & 0x001fffff) << 2); in processRelocationRef()
1464 Value.Addend += SignExtend32<28>((Opcode & 0x03ffffff) << 2); in processRelocationRef()
1513 if (SignExtend32<26>(delta) == delta) { in processRelocationRef()
/external/llvm/lib/Target/PowerPC/InstPrinter/
DPPCInstPrinter.cpp273 Value = SignExtend32<5>(Value); in printS5ImmOperand()
351 O << SignExtend32<32>((unsigned)MI->getOperand(OpNo).getImm() << 2); in printAbsBranchOperand()
/external/llvm/include/llvm/Support/
DMathExtras.h663 template <unsigned B> inline int32_t SignExtend32(uint32_t x) {
669 inline int32_t SignExtend32(uint32_t X, unsigned B) {
/external/swiftshader/third_party/LLVM/include/llvm/Support/
DMathExtras.h448 template <unsigned B> inline int32_t SignExtend32(uint32_t x) { in SignExtend32() function
/external/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/
DRuntimeDyldMachOARM.h48 return SignExtend32<26>(Temp << 2); in decodeAddend()
/external/llvm/lib/Target/ARM/Disassembler/
DARMDisassembler.cpp2278 int imm32 = SignExtend32<25>(tmp << 1); in DecodeT2BInstruction()
2297 if (!tryAddingSymbolicOperand(Address, Address + SignExtend32<26>(imm) + 8, in DecodeBranchImmInstruction()
2299 Inst.addOperand(MCOperand::createImm(SignExtend32<26>(imm))); in DecodeBranchImmInstruction()
2303 if (!tryAddingSymbolicOperand(Address, Address + SignExtend32<26>(imm) + 8, in DecodeBranchImmInstruction()
2305 Inst.addOperand(MCOperand::createImm(SignExtend32<26>(imm))); in DecodeBranchImmInstruction()
3259 if (!tryAddingSymbolicOperand(Address, Address + SignExtend32<12>(Val<<1) + 4, in DecodeThumbBROperand()
3261 Inst.addOperand(MCOperand::createImm(SignExtend32<12>(Val << 1))); in DecodeThumbBROperand()
3267 if (!tryAddingSymbolicOperand(Address, Address + SignExtend32<21>(Val) + 4, in DecodeT2BROperand()
3269 Inst.addOperand(MCOperand::createImm(SignExtend32<21>(Val))); in DecodeT2BROperand()
3959 int imm32 = SignExtend32<25>(tmp << 1); in DecodeThumbBLXOffset()
[all …]
/external/swiftshader/third_party/LLVM/lib/Target/ARM/Disassembler/
DARMDisassembler.cpp1918 Inst.addOperand(MCOperand::CreateImm(SignExtend32<26>(imm))); in DecodeBranchImmInstruction()
1922 if (!tryAddingSymbolicOperand(Address, Address + SignExtend32<26>(imm) + 8, true, in DecodeBranchImmInstruction()
1924 Inst.addOperand(MCOperand::CreateImm(SignExtend32<26>(imm))); in DecodeBranchImmInstruction()
2762 Inst.addOperand(MCOperand::CreateImm(SignExtend32<12>(Val << 1))); in DecodeThumbBROperand()
2768 Inst.addOperand(MCOperand::CreateImm(SignExtend32<21>(Val))); in DecodeT2BROperand()
2774 Inst.addOperand(MCOperand::CreateImm(SignExtend32<7>(Val << 1))); in DecodeThumbCmpBROperand()
3088 (Address & ~2u) + SignExtend32<22>(Val << 1) + 4, in DecodeThumbBLXOffset()
3090 Inst.addOperand(MCOperand::CreateImm(SignExtend32<22>(Val << 1))); in DecodeThumbBLXOffset()
3202 Inst.addOperand(MCOperand::CreateImm(SignExtend32<22>(Val << 1))); in DecodeThumbBLTargetOperand()
4067 Inst.addOperand(MCOperand::CreateImm(SignExtend32<13>(Val))); in DecodeT2Adr()
/external/llvm/lib/Target/PowerPC/
DPPCISelLowering.cpp1695 int MaskVal = SignExtend32(Value, ByteSize * 8); in get_VSPLTI_elt()
1701 if (SignExtend32<5>(MaskVal) == MaskVal) in get_VSPLTI_elt()
4140 SignExtend32<26>(Addr) != Addr) in isBLACompatibleAddress()