| /llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/ |
| H A D | sanitizer_ring_buffer.h | 94 static uptr SignExtend(uptr x) { return ((sptr)x) << kSizeBits >> kSizeBits; } in SignExtend() function 105 CHECK_EQ(st, SignExtend(st & kNextMask)); in Init() 127 T *Next() const { return (T *)(SignExtend(long_ & kNextMask)); } in Next()
|
| /llvm-project-15.0.7/llvm/include/llvm/ADT/ |
| H A D | Bitfields.h | 113 static constexpr Unsigned SignExtend = Unsigned(Smin << 1U); // 11000000 member 143 UserValue &= ~BP::SignExtend; 149 StorageValue |= BP::SignExtend;
|
| /llvm-project-15.0.7/lldb/source/Plugins/Instruction/ARM64/ |
| H A D | EmulateInstructionARM64.cpp | 873 if (!vector && is_signed && !data_Rt.SignExtend(datasize)) in EmulateLDPSTP() 890 if (!vector && is_signed && !data_Rt2.SignExtend(datasize)) in EmulateLDPSTP() 1082 bits(64) offset = SignExtend(imm19:'00', 64); in EmulateBcond() 1113 bits(64) offset = SignExtend(imm19:'00', 64); in EmulateCBZ() 1152 bits(64) offset = SignExtend(imm14:'00', 64); in EmulateTBZ()
|
| /llvm-project-15.0.7/llvm/lib/Target/AArch64/MCTargetDesc/ |
| H A D | AArch64InstPrinter.cpp | 1103 static void printMemExtendImpl(bool SignExtend, bool DoShift, in printMemExtendImpl() argument 1107 bool IsLSL = !SignExtend && SrcRegKind == 'x'; in printMemExtendImpl() 1111 O << (SignExtend ? 's' : 'u') << "xt" << SrcRegKind; in printMemExtendImpl() 1120 bool SignExtend = MI->getOperand(OpNum).getImm(); in printMemExtend() local 1122 printMemExtendImpl(SignExtend, DoShift, Width, SrcRegKind, O); in printMemExtend() 1125 template <bool SignExtend, int ExtWidth, char SrcRegKind, char Suffix> 1137 if (SignExtend || DoShift || SrcRegKind == 'w') { in printRegWithShiftExtend() 1139 printMemExtendImpl(SignExtend, DoShift, ExtWidth, SrcRegKind, O); in printRegWithShiftExtend()
|
| H A D | AArch64MCCodeEmitter.cpp | 340 unsigned SignExtend = MI.getOperand(OpIdx).getImm(); in getMemExtendOpValue() local 342 return (SignExtend << 1) | DoShift; in getMemExtendOpValue()
|
| /llvm-project-15.0.7/lldb/include/lldb/DataFormatters/ |
| H A D | FormattersHelpers.h | 150 InferiorSizedWord SignExtend() const { in SignExtend() function
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Utils/ |
| H A D | SimplifyIndVar.cpp | 1303 bool SignExtend = getExtendKind(NarrowDef) == ExtendKind::Sign; in cloneArithmeticIVUser() local 1304 if (!GuessNonIVOperand(SignExtend)) { in cloneArithmeticIVUser() 1305 SignExtend = !SignExtend; in cloneArithmeticIVUser() 1306 if (!GuessNonIVOperand(SignExtend)) in cloneArithmeticIVUser() 1313 SignExtend, NarrowUse); in cloneArithmeticIVUser() 1317 SignExtend, NarrowUse); in cloneArithmeticIVUser()
|
| /llvm-project-15.0.7/lldb/source/Utility/ |
| H A D | RegisterValue.cpp | 459 bool RegisterValue::SignExtend(uint32_t sign_bitpos) { in SignExtend() function in RegisterValue 469 return m_scalar.SignExtend(sign_bitpos); in SignExtend()
|
| H A D | Scalar.cpp | 745 bool Scalar::SignExtend(uint32_t sign_bit_pos) { in SignExtend() function in Scalar
|
| /llvm-project-15.0.7/lldb/include/lldb/Utility/ |
| H A D | RegisterValue.h | 234 bool SignExtend(uint32_t sign_bitpos);
|
| H A D | Scalar.h | 75 bool SignExtend(uint32_t bit_pos);
|
| /llvm-project-15.0.7/llvm/lib/Target/AArch64/ |
| H A D | AArch64ISelDAGToDAG.cpp | 153 SDValue &SignExtend, SDValue &DoShift) { in SelectAddrModeWRO() argument 159 SDValue &SignExtend, SDValue &DoShift) { in SelectAddrModeXRO() argument 388 SDValue &Offset, SDValue &SignExtend, 391 SDValue &Offset, SDValue &SignExtend, 395 SDValue &Offset, SDValue &SignExtend); 1126 SignExtend = CurDAG->getTargetConstant(0, dl, MVT::i32); in SelectExtendedSHL() 1140 SDValue &SignExtend, in SelectAddrModeWRO() argument 1167 SelectExtendedSHL(RHS, Size, true, Offset, SignExtend)) { in SelectAddrModeWRO() 1175 SelectExtendedSHL(LHS, Size, true, Offset, SignExtend)) { in SelectAddrModeWRO() 1229 SDValue &SignExtend, in SelectAddrModeXRO() argument [all …]
|
| /llvm-project-15.0.7/mlir/include/mlir/Dialect/SPIRV/IR/ |
| H A D | SPIRVImageOps.td | 50 | `"VolatileTexel"` | `"SignExtend"` | `"ZeroExtend"`
|
| /llvm-project-15.0.7/llvm/lib/Target/SPIRV/MCTargetDesc/ |
| H A D | SPIRVBaseInfo.h | 408 SignExtend = 0x1000, enumerator
|
| H A D | SPIRVBaseInfo.cpp | 517 if (e == static_cast<uint32_t>(ImageOperand::SignExtend)) in getImageOperandName() 519 if (e & static_cast<uint32_t>(ImageOperand::SignExtend)) { in getImageOperandName()
|
| /llvm-project-15.0.7/lldb/source/Plugins/ABI/SystemZ/ |
| H A D | ABISysV_s390x.cpp | 294 scalar.SignExtend(bit_width); in ReadIntegerArgument()
|
| /llvm-project-15.0.7/lldb/source/Plugins/ABI/X86/ |
| H A D | ABIWindows_x86_64.cpp | 218 scalar.SignExtend(bit_width); in ReadIntegerArgument()
|
| H A D | ABISysV_x86_64.cpp | 202 scalar.SignExtend(bit_width); in ReadIntegerArgument()
|
| /llvm-project-15.0.7/lldb/source/Plugins/ABI/AArch64/ |
| H A D | ABIMacOSX_arm64.cpp | 202 reg_value.SignExtend(bit_width); in GetArgumentValues()
|
| H A D | ABISysV_arm64.cpp | 173 reg_value.SignExtend(bit_width); in GetArgumentValues()
|
| /llvm-project-15.0.7/llvm/lib/Target/RISCV/AsmParser/ |
| H A D | RISCVAsmParser.cpp | 134 void emitPseudoExtend(MCInst &Inst, bool SignExtend, int64_t Width, 2453 void RISCVAsmParser::emitPseudoExtend(MCInst &Inst, bool SignExtend, in emitPseudoExtend() argument 2466 unsigned SecondOpcode = SignExtend ? RISCV::SRAI : RISCV::SRLI; in emitPseudoExtend()
|
| /llvm-project-15.0.7/lldb/source/Plugins/ABI/PowerPC/ |
| H A D | ABISysV_ppc.cpp | 324 scalar.SignExtend(bit_width); in ReadIntegerArgument()
|
| H A D | ABISysV_ppc64.cpp | 212 scalar.SignExtend(bit_width); in ReadIntegerArgument()
|
| /llvm-project-15.0.7/lldb/source/Plugins/ABI/ARM/ |
| H A D | ABIMacOSX_arm.cpp | 1394 reg_value.SignExtend(bit_width); in GetArgumentValues()
|
| /llvm-project-15.0.7/llvm/lib/Target/AArch64/GISel/ |
| H A D | AArch64InstructionSelector.cpp | 6109 unsigned SignExtend = 0; in selectExtendedSHL() local 6119 SignExtend = isSignExtendShiftType(Ext) ? 1 : 0; in selectExtendedSHL() 6121 if (SignExtend && Ext != AArch64_AM::SXTW) in selectExtendedSHL() 6138 MIB.addImm(SignExtend); in selectExtendedSHL() 6350 unsigned SignExtend = Ext == AArch64_AM::SXTW; in selectAddrModeWRO() local 6356 MIB.addImm(SignExtend); in selectAddrModeWRO()
|