Home
last modified time | relevance | path

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

12

/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/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Mips/Disassembler/
DMipsDisassembler.cpp1523 int Offset = SignExtend32<16>(Insn & 0xffff); in DecodeMem()
1545 int Offset = SignExtend32<9>(Insn >> 7); in DecodeMemEVA()
1566 int Offset = SignExtend32<16>(Insn & 0xffff); in DecodeLoadByte15()
1584 int Offset = SignExtend32<16>(Insn & 0xffff); in DecodeCacheOp()
1601 int Offset = SignExtend32<12>(Insn & 0xfff); in DecodeCacheOpMM()
1618 int Offset = SignExtend32<9>(Insn & 0x1ff); in DecodePrefeOpMM()
1635 int Offset = SignExtend32<9>(Insn >> 7); in DecodeCacheeOp_CacheOpR6()
1652 int Offset = SignExtend32<16>(Insn & 0xffff); in DecodeSyncI()
1665 int Offset = SignExtend32<16>(Insn & 0xffff); in DecodeSyncI_MM()
1680 int Immediate = SignExtend32<16>(Insn & 0xffff); in DecodeSynciR6()
[all …]
/external/capstone/arch/Mips/
DMipsDisassembler.c889 int Offset = SignExtend32(Insn & 0xffff, 16); in DecodeMem()
910 int Offset = SignExtend32(Insn & 0xffff, 16); in DecodeCachePref()
926 int Offset = SignExtend32(fieldFromInstruction(Insn, 16, 10), 10); in DecodeMSA128Mem()
973 int Offset = SignExtend32(Insn & 0x0fff, 12); in DecodeMemMMImm12()
993 int Offset = SignExtend32(Insn & 0xffff, 16); in DecodeMemMMImm16()
1010 int Offset = SignExtend32(Insn & 0xffff, 16); in DecodeFMem()
1027 int Offset = SignExtend32(Insn & 0xffff, 16); in DecodeCOP2Mem()
1044 int Offset = SignExtend32(Insn & 0xffff, 16); in DecodeCOP3Mem()
1234 uint64_t TargetAddress = (SignExtend32(Offset, 16) * 4) + Address + 4; in DecodeBranchTarget()
1252 int32_t BranchOffset = SignExtend32(Offset, 21) * 4; in DecodeBranchTarget21()
[all …]
/external/capstone/arch/Sparc/
DSparcDisassembler.c263 simm13 = SignExtend32(fieldFromInstruction_4(insn, 0, 13), 13); in DecodeMem()
366 unsigned tgt = SignExtend32(fieldFromInstruction_4(insn, 0, 13), 13); in DecodeSIMM13()
384 simm13 = SignExtend32(fieldFromInstruction_4(insn, 0, 13), 13); in DecodeJMPL()
419 simm13 = SignExtend32(fieldFromInstruction_4(insn, 0, 13), 13); in DecodeReturn()
451 simm13 = SignExtend32(fieldFromInstruction_4(insn, 0, 13), 13); in DecodeSWAP()
DSparcInstPrinter.c202 Imm = SignExtend32(Imm, 30); in printOperand()
220 Imm = SignExtend32(Imm, 19); in printOperand()
231 Imm = SignExtend32(Imm, 22); in printOperand()
260 Imm = SignExtend32(Imm, 16); in printOperand()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Lanai/Disassembler/
DLanaiDisassembler.cpp179 Inst.addOperand(MCOperand::createImm(SignExtend32<16>(Offset))); in decodeRiMemoryValue()
203 Inst.addOperand(MCOperand::createImm(SignExtend32<10>(Offset))); in decodeSplsValue()
228 Inst.addOperand(MCOperand::createImm(SignExtend32<16>(Offset))); in decodeShiftImm()
/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/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARC/Disassembler/
DARCDisassembler.cpp165 Inst.addOperand(MCOperand::createImm(SignExtend32<9>(S9))); in DecodeMEMrs9()
192 DecodeSymbolicOperandOff(Inst, Address, SignExtend32<B>(InsnS), Decoder); in DecodeBranchTargetS()
203 SignExtend32<B>(maskTrailingOnes<decltype(InsnS)>(B) & InsnS))); in DecodeSignedOperand()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Sparc/Disassembler/
DSparcDisassembler.cpp391 simm13 = SignExtend32<13>(fieldFromInstruction(insn, 0, 13)); in DecodeMem()
532 unsigned tgt = SignExtend32<13>(fieldFromInstruction(insn, 0, 13)); in DecodeSIMM13()
546 simm13 = SignExtend32<13>(fieldFromInstruction(insn, 0, 13)); in DecodeJMPL()
579 simm13 = SignExtend32<13>(fieldFromInstruction(insn, 0, 13)); in DecodeReturn()
610 simm13 = SignExtend32<13>(fieldFromInstruction(insn, 0, 13)); in DecodeSWAP()
/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/swiftshader/third_party/llvm-7.0/llvm/lib/Target/PowerPC/InstPrinter/
DPPCInstPrinter.cpp314 Value = SignExtend32<5>(Value); in printS5ImmOperand()
394 O << SignExtend32<32>((unsigned)MI->getOperand(OpNo).getImm() << 2); in printAbsBranchOperand()
/external/capstone/
DMathExtras.h409 static inline int32_t SignExtend32(uint32_t X, unsigned B) { in SignExtend32() function
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/BPF/Disassembler/
DBPFDisassembler.cpp134 Inst.addOperand(MCOperand::createImm(SignExtend32<16>(Offset))); in decodeMemoryOpValue()
/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-subzero/include/llvm/Support/
DMathExtras.h715 template <unsigned B> constexpr inline int32_t SignExtend32(uint32_t X) {
723 inline int32_t SignExtend32(uint32_t X, unsigned B) {
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/
DMathExtras.h733 template <unsigned B> constexpr inline int32_t SignExtend32(uint32_t X) {
741 inline int32_t SignExtend32(uint32_t X, unsigned B) {
/external/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/
DRuntimeDyldMachOARM.h48 return SignExtend32<26>(Temp << 2); in decodeAddend()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ExecutionEngine/RuntimeDyld/
DRuntimeDyldELF.cpp1314 int64_t Addend = Value.Addend + SignExtend32<16>(Opcode & 0x0000ffff); in processRelocationRef()
1339 Value.Addend += SignExtend32<18>((Opcode & 0x0000ffff) << 2); in processRelocationRef()
1341 Value.Addend += SignExtend32<21>((Opcode & 0x0007ffff) << 2); in processRelocationRef()
1343 Value.Addend += SignExtend32<23>((Opcode & 0x001fffff) << 2); in processRelocationRef()
1345 Value.Addend += SignExtend32<28>((Opcode & 0x03ffffff) << 2); in processRelocationRef()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARM/Disassembler/
DARMDisassembler.cpp2277 int imm32 = SignExtend32<25>(tmp << 1); in DecodeT2BInstruction()
2296 if (!tryAddingSymbolicOperand(Address, Address + SignExtend32<26>(imm) + 8, in DecodeBranchImmInstruction()
2298 Inst.addOperand(MCOperand::createImm(SignExtend32<26>(imm))); in DecodeBranchImmInstruction()
2302 if (!tryAddingSymbolicOperand(Address, Address + SignExtend32<26>(imm) + 8, in DecodeBranchImmInstruction()
2304 Inst.addOperand(MCOperand::createImm(SignExtend32<26>(imm))); in DecodeBranchImmInstruction()
3258 if (!tryAddingSymbolicOperand(Address, Address + SignExtend32<12>(Val<<1) + 4, in DecodeThumbBROperand()
3260 Inst.addOperand(MCOperand::createImm(SignExtend32<12>(Val << 1))); in DecodeThumbBROperand()
3266 if (!tryAddingSymbolicOperand(Address, Address + SignExtend32<21>(Val) + 4, in DecodeT2BROperand()
3268 Inst.addOperand(MCOperand::createImm(SignExtend32<21>(Val))); in DecodeT2BROperand()
3959 int imm32 = SignExtend32<25>(tmp << 1); in DecodeThumbBLXOffset()
[all …]
/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/capstone/arch/ARM/
DARMDisassembler.c2237 int imm32 = SignExtend32(tmp << 1, 25); in DecodeT2BInstruction()
2254 MCOperand_CreateImm0(Inst, SignExtend32(imm, 26)); in DecodeBranchImmInstruction()
2258 MCOperand_CreateImm0(Inst, SignExtend32(imm, 26)); in DecodeBranchImmInstruction()
3235 MCOperand_CreateImm0(Inst, SignExtend32(Val << 1, 12)); in DecodeThumbBROperand()
3242 MCOperand_CreateImm0(Inst, SignExtend32(Val, 21)); in DecodeT2BROperand()
3897 int imm32 = SignExtend32(tmp << 1, 25); in DecodeThumbBLXOffset()
4007 MCOperand_CreateImm0(Inst, SignExtend32(Val << 1, 9)); in DecodeThumbBCCTargetOperand()
4027 int imm32 = SignExtend32(tmp << 1, 25); in DecodeThumbBLTargetOperand()
4953 MCOperand_CreateImm0(Inst, SignExtend32(Val, 13)); in DecodeT2Adr()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/
DRuntimeDyldMachOARM.h73 return SignExtend32<26>(Temp << 2); in decodeAddend()
/external/capstone/arch/PowerPC/
DPPCInstPrinter.c389 Value = SignExtend32(Value, 5); in printS5ImmOperand()

12