Home
last modified time | relevance | path

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

123

/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/capstone/arch/Mips/
DMipsDisassembler.c982 int Offset = SignExtend32(Insn & 0xffff, 16); in DecodeMem()
1004 int Offset = SignExtend32(Insn & 0xffff, 16); in DecodeCacheOp()
1020 int Offset = SignExtend32(Insn & 0xfff, 12); in DecodeCacheOpMM()
1052 int Offset = SignExtend32(Insn & 0xffff, 16); in DecodeSyncI()
1066 int Offset = SignExtend32(fieldFromInstruction(Insn, 16, 10), 10); in DecodeMSA128Mem()
1194 int Offset = SignExtend32(Insn & 0xf, 4); in DecodeMemMMReglistImm4Lsl2()
1208 int Offset = SignExtend32(Insn & 0x0fff, 12); in DecodeMemMMImm12()
1242 int Offset = SignExtend32(Insn & 0xffff, 16); in DecodeMemMMImm16()
1259 int Offset = SignExtend32(Insn & 0xffff, 16); in DecodeFMem()
1276 int Offset = SignExtend32(Insn & 0xffff, 16); in DecodeFMem2()
[all …]
/external/llvm-project/llvm/lib/Target/Mips/Disassembler/
DMipsDisassembler.cpp1536 int Offset = SignExtend32<16>(Insn & 0xffff); in DecodeMem()
1558 int Offset = SignExtend32<9>(Insn >> 7); in DecodeMemEVA()
1579 int Offset = SignExtend32<16>(Insn & 0xffff); in DecodeLoadByte15()
1597 int Offset = SignExtend32<16>(Insn & 0xffff); in DecodeCacheOp()
1614 int Offset = SignExtend32<12>(Insn & 0xfff); in DecodeCacheOpMM()
1631 int Offset = SignExtend32<9>(Insn & 0x1ff); in DecodePrefeOpMM()
1648 int Offset = SignExtend32<9>(Insn >> 7); in DecodeCacheeOp_CacheOpR6()
1665 int Offset = SignExtend32<16>(Insn & 0xffff); in DecodeSyncI()
1678 int Offset = SignExtend32<16>(Insn & 0xffff); in DecodeSyncI_MM()
1693 int Immediate = SignExtend32<16>(Insn & 0xffff); in DecodeSynciR6()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/Disassembler/
DMipsDisassembler.cpp1536 int Offset = SignExtend32<16>(Insn & 0xffff); in DecodeMem()
1558 int Offset = SignExtend32<9>(Insn >> 7); in DecodeMemEVA()
1579 int Offset = SignExtend32<16>(Insn & 0xffff); in DecodeLoadByte15()
1597 int Offset = SignExtend32<16>(Insn & 0xffff); in DecodeCacheOp()
1614 int Offset = SignExtend32<12>(Insn & 0xfff); in DecodeCacheOpMM()
1631 int Offset = SignExtend32<9>(Insn & 0x1ff); in DecodePrefeOpMM()
1648 int Offset = SignExtend32<9>(Insn >> 7); in DecodeCacheeOp_CacheOpR6()
1665 int Offset = SignExtend32<16>(Insn & 0xffff); in DecodeSyncI()
1678 int Offset = SignExtend32<16>(Insn & 0xffff); in DecodeSyncI_MM()
1693 int Immediate = SignExtend32<16>(Insn & 0xffff); in DecodeSynciR6()
[all …]
/external/capstone/arch/Sparc/
DSparcDisassembler.c261 simm13 = SignExtend32(fieldFromInstruction_4(insn, 0, 13), 13); in DecodeMem()
364 unsigned tgt = SignExtend32(fieldFromInstruction_4(insn, 0, 13), 13); in DecodeSIMM13()
382 simm13 = SignExtend32(fieldFromInstruction_4(insn, 0, 13), 13); in DecodeJMPL()
417 simm13 = SignExtend32(fieldFromInstruction_4(insn, 0, 13), 13); in DecodeReturn()
449 simm13 = SignExtend32(fieldFromInstruction_4(insn, 0, 13), 13); in DecodeSWAP()
DSparcInstPrinter.c221 Imm = SignExtend32(Imm, 19); in printOperand()
232 Imm = SignExtend32(Imm, 22); in printOperand()
261 Imm = SignExtend32(Imm, 16); in printOperand()
/external/llvm-project/llvm/lib/Target/Lanai/Disassembler/
DLanaiDisassembler.cpp181 Inst.addOperand(MCOperand::createImm(SignExtend32<16>(Offset))); in decodeRiMemoryValue()
205 Inst.addOperand(MCOperand::createImm(SignExtend32<10>(Offset))); in decodeSplsValue()
230 Inst.addOperand(MCOperand::createImm(SignExtend32<16>(Offset))); in decodeShiftImm()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Lanai/Disassembler/
DLanaiDisassembler.cpp181 Inst.addOperand(MCOperand::createImm(SignExtend32<16>(Offset))); in decodeRiMemoryValue()
205 Inst.addOperand(MCOperand::createImm(SignExtend32<10>(Offset))); in decodeSplsValue()
230 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/llvm-project/lldb/source/Plugins/Instruction/PPC64/
DEmulateInstructionPPC64.cpp243 int32_t ids = llvm::SignExtend32<16>(ds << 2); in EmulateLD()
286 int32_t ids = llvm::SignExtend32<16>(ds << 2); in EmulateSTD()
378 int32_t si_val = llvm::SignExtend32<16>(si); in EmulateADDI()
/external/llvm-project/llvm/lib/Target/ARC/Disassembler/
DARCDisassembler.cpp164 Inst.addOperand(MCOperand::createImm(SignExtend32<9>(S9))); in DecodeMEMrs9()
191 DecodeSymbolicOperandOff(Inst, Address, SignExtend32<B>(InsnS), Decoder); in DecodeBranchTargetS()
202 SignExtend32<B>(maskTrailingOnes<decltype(InsnS)>(B) & InsnS))); in DecodeSignedOperand()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARC/Disassembler/
DARCDisassembler.cpp164 Inst.addOperand(MCOperand::createImm(SignExtend32<9>(S9))); in DecodeMEMrs9()
191 DecodeSymbolicOperandOff(Inst, Address, SignExtend32<B>(InsnS), Decoder); in DecodeBranchTargetS()
202 SignExtend32<B>(maskTrailingOnes<decltype(InsnS)>(B) & InsnS))); in DecodeSignedOperand()
/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/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Sparc/Disassembler/
DSparcDisassembler.cpp381 simm13 = SignExtend32<13>(fieldFromInstruction(insn, 0, 13)); in DecodeMem()
522 unsigned tgt = SignExtend32<13>(fieldFromInstruction(insn, 0, 13)); in DecodeSIMM13()
536 simm13 = SignExtend32<13>(fieldFromInstruction(insn, 0, 13)); in DecodeJMPL()
569 simm13 = SignExtend32<13>(fieldFromInstruction(insn, 0, 13)); in DecodeReturn()
600 simm13 = SignExtend32<13>(fieldFromInstruction(insn, 0, 13)); in DecodeSWAP()
/external/llvm-project/llvm/lib/Target/Sparc/Disassembler/
DSparcDisassembler.cpp381 simm13 = SignExtend32<13>(fieldFromInstruction(insn, 0, 13)); in DecodeMem()
522 unsigned tgt = SignExtend32<13>(fieldFromInstruction(insn, 0, 13)); in DecodeSIMM13()
536 simm13 = SignExtend32<13>(fieldFromInstruction(insn, 0, 13)); in DecodeJMPL()
569 simm13 = SignExtend32<13>(fieldFromInstruction(insn, 0, 13)); in DecodeReturn()
600 simm13 = SignExtend32<13>(fieldFromInstruction(insn, 0, 13)); in DecodeSWAP()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/MCTargetDesc/
DPPCInstPrinter.cpp338 Value = SignExtend32<5>(Value); in printS5ImmOperand()
410 int32_t Imm = SignExtend32<32>((unsigned)MI->getOperand(OpNo).getImm() << 2); in printBranchOperand()
421 O << SignExtend32<32>((unsigned)MI->getOperand(OpNo).getImm() << 2); in printAbsBranchOperand()
/external/llvm-project/llvm/lib/Target/PowerPC/MCTargetDesc/
DPPCInstPrinter.cpp352 Value = SignExtend32<5>(Value); in printS5ImmOperand()
438 int32_t Imm = SignExtend32<32>((unsigned)MI->getOperand(OpNo).getImm() << 2); in printBranchOperand()
464 O << SignExtend32<32>((unsigned)MI->getOperand(OpNo).getImm() << 2); in printAbsBranchOperand()
/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-project/llvm/lib/Target/PowerPC/Disassembler/
DPPCDisassembler.cpp66 Inst.addOperand(MCOperand::createImm(SignExtend32<14>(Imm))); in decodeCondBrTarget()
73 int32_t Offset = SignExtend32<24>(Imm); in decodeDirectBrTarget()
/external/llvm-project/llvm/lib/Target/BPF/Disassembler/
DBPFDisassembler.cpp134 Inst.addOperand(MCOperand::createImm(SignExtend32<16>(Offset))); in decodeMemoryOpValue()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/BPF/Disassembler/
DBPFDisassembler.cpp131 Inst.addOperand(MCOperand::createImm(SignExtend32<16>(Offset))); in decodeMemoryOpValue()
/external/capstone/
DMathExtras.h407 static inline int32_t SignExtend32(uint32_t X, unsigned B) { in SignExtend32() function
/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/llvm-project/llvm/lib/Target/VE/Disassembler/
DVEDisassembler.cpp331 MI.addOperand(MCOperand::createImm(SignExtend32<7>(sy))); in DecodeASX()
479 MI.addOperand(MCOperand::createImm(SignExtend32<7>(sy))); in DecodeCAS()
601 MI.addOperand(MCOperand::createImm(SignExtend32<7>(sy))); in DecodeBranchCondition()

123