Searched refs:Signed (Results 1 - 25 of 73) sorted by relevance

123

/freebsd-11-stable/contrib/llvm-project/clang/lib/AST/Interp/
H A DIntegral.h41 template <unsigned Bits, bool Signed> struct Repr;
56 template <unsigned Bits, bool Signed> class Integral {
61 using T = typename Repr<Bits, Signed>::Type;
107 return APSInt(APInt(Bits, static_cast<uint64_t>(V), Signed), !Signed);
110 if (Signed)
111 return APSInt(toAPSInt().sextOrTrunc(NumBits), !Signed);
113 return APSInt(toAPSInt().zextOrTrunc(NumBits), !Signed);
127 bool isMinusOne() const { return Signed && V == T(-1); }
129 constexpr static bool isSigned() { return Signed; }
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Support/
H A DCheckedArithmetic.h30 checkedOp(T LHS, T RHS, F Op, bool Signed = true) {
31 llvm::APInt ALHS(/*BitSize=*/sizeof(T) * 8, LHS, Signed);
32 llvm::APInt ARHS(/*BitSize=*/sizeof(T) * 8, RHS, Signed);
37 return Signed ? Out.getSExtValue() : Out.getZExtValue();
87 return checkedOp(LHS, RHS, &llvm::APInt::uadd_ov, /*Signed=*/false);
96 return checkedOp(LHS, RHS, &llvm::APInt::umul_ov, /*Signed=*/false);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUHSAMetadataStreamer.cpp133 auto Signed = !TypeName.startswith("u"); local
136 return Signed ? ValueType::I8 : ValueType::U8;
138 return Signed ? ValueType::I16 : ValueType::U16;
140 return Signed ? ValueType::I32 : ValueType::U32;
142 return Signed ? ValueType::I64 : ValueType::U64;
162 std::string MetadataStreamerV2::getTypeName(Type *Ty, bool Signed) const {
165 if (!Signed)
192 return (Twine(getTypeName(ElTy, Signed)) + Twine(NumElements)).str();
579 auto Signed = !TypeName.startswith("u"); local
582 return Signed
[all...]
H A DAMDGPUHSAMetadataStreamer.h70 std::string getTypeName(Type *Ty, bool Signed) const;
138 std::string getTypeName(Type *Ty, bool Signed) const;
H A DSIISelLowering.h45 uint64_t Offset, unsigned Align, bool Signed,
87 SDValue LowerINT_TO_FP(SDValue Op, SelectionDAG &DAG, bool Signed) const;
117 bool Signed, const ISD::InputArg *Arg = nullptr) const;
163 SDValue Op0, SDValue Op1, bool Signed) const;
H A DAMDGPULegalizerInfo.h52 MachineIRBuilder &B, bool Signed) const;
H A DAMDGPUISelLowering.h65 SDValue LowerINT_TO_FP32(SDValue Op, SelectionDAG &DAG, bool Signed) const;
66 SDValue LowerINT_TO_FP64(SDValue Op, SelectionDAG &DAG, bool Signed) const;
70 SDValue LowerFP64_TO_INT(SDValue Op, SelectionDAG &DAG, bool Signed) const;
H A DAMDGPUInstructionSelector.h152 template <bool Signed>
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DTargetLibraryInfo.h359 Attribute::AttrKind getExtAttrForI32Param(bool Signed = true) const {
361 return Signed ? Attribute::SExt : Attribute::ZExt;
370 Attribute::AttrKind getExtAttrForI32Return(bool Signed = true) const {
372 return Signed ? Attribute::SExt : Attribute::ZExt;
H A DIVDescriptors.h93 Instruction *UAI, Type *RT, bool Signed,
97 IsSigned(Signed) {
91 RecurrenceDescriptor(Value *Start, Instruction *Exit, RecurrenceKind K, FastMathFlags FMF, MinMaxRecurrenceKind MK, Instruction *UAI, Type *RT, bool Signed, SmallPtrSetImpl<Instruction *> &CI) argument
H A DScalarEvolutionExpander.h228 bool Signed);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTX.h99 Signed, enumerator in enum:llvm::NVPTX::PTXLdStInstCode::FromType
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/WebAssembly/Disassembler/
H A DWebAssemblyDisassembler.cpp85 bool Signed) {
88 Val = Signed ? decodeSLEB128(Bytes.data() + Size, &N,
100 ArrayRef<uint8_t> Bytes, bool Signed) {
102 if (!nextLEB(Val, Bytes, Size, Signed))
84 nextLEB(int64_t &Val, ArrayRef<uint8_t> Bytes, uint64_t &Size, bool Signed) argument
99 parseLEBImmediate(MCInst &MI, uint64_t &Size, ArrayRef<uint8_t> Bytes, bool Signed) argument
/freebsd-11-stable/contrib/llvm-project/llvm/lib/DebugInfo/DWARF/
H A DDWARFExpression.cpp135 unsigned Signed = Size & Operation::SignBit; local
143 if (Signed)
148 if (Signed)
153 if (Signed)
180 if (Signed)
259 unsigned Signed = Size & Operation::SignBit; local
279 if (Signed)
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/
H A DDWARFFormValue.h65 int64_t Signed() const { return m_value.value.sval; } function in class:DWARFFormValue
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/ASTMatchers/Dynamic/
H A DVariantValue.h266 VariantValue(int Signed) : VariantValue(static_cast<unsigned>(Signed)) {} argument
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DLoopUtils.h354 bool Signed);
358 bool Signed);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsSEISelDAGToDAG.h99 bool selectVSplatCommon(SDValue N, SDValue &Imm, bool Signed,
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLoopUtils.cpp1025 bool Signed) {
1027 APInt Min = Signed ? APInt::getSignedMinValue(BitWidth) :
1029 auto Predicate = Signed ? ICmpInst::ICMP_SGT : ICmpInst::ICMP_UGT;
1036 bool Signed) {
1038 APInt Max = Signed ? APInt::getSignedMaxValue(BitWidth) :
1040 auto Predicate = Signed ? ICmpInst::ICMP_SLT : ICmpInst::ICMP_ULT;
1024 cannotBeMinInLoop(const SCEV *S, const Loop *L, ScalarEvolution &SE, bool Signed) argument
1035 cannotBeMaxInLoop(const SCEV *S, const Loop *L, ScalarEvolution &SE, bool Signed) argument
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonConstPropagation.cpp418 unsigned Offset, bool Signed, const CellMap &Inputs,
421 bool Signed, APInt &Result);
1230 // Signed comparison.
1276 // Signed comparisons are different.
1341 // Signed comparison. The comparison is not NE.
1734 unsigned Width, unsigned Bits, unsigned Offset, bool Signed,
1756 evaluateEXTRACTi(A, Bits, Offset, Signed, CA);
1766 unsigned Offset, bool Signed, APInt &Result) {
1777 if (Signed)
1781 Result = APInt(BW, V, Signed);
1733 evaluateEXTRACTr(const RegisterSubReg &R1, unsigned Width, unsigned Bits, unsigned Offset, bool Signed, const CellMap &Inputs, LatticeCell &Result) argument
1765 evaluateEXTRACTi(const APInt &A1, unsigned Bits, unsigned Offset, bool Signed, APInt &Result) argument
2151 bool Signed = (Opc == Hexagon::S4_extract) || local
2470 bool Signed = false; local
2743 bool Signed = false; local
[all...]
H A DHexagonSplitDouble.cpp798 bool Signed = (Opc == S2_asr_i_p); local
804 : (Signed ? S2_asr_i_r : S2_lsr_i_r);
837 else if (S == 16 && Signed)
871 if (!Signed)
883 else if (S == 16 && Signed)
891 if (Signed)
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Analysis/Analyses/
H A DThreadSafetyTraverse.h570 if (VT.Signed)
576 if (VT.Signed)
582 if (VT.Signed)
588 if (VT.Signed)
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/IR/
H A DConstantRange.h272 enum PreferredRangeType { Smallest, Unsigned, Signed }; enumerator in enum:llvm::ConstantRange::PreferredRangeType
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/NVPTX/MCTargetDesc/
H A DNVPTXInstPrinter.cpp252 if (Imm == NVPTX::PTXLdStInstCode::Signed)
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMISelLowering.h95 SSAT, // Signed saturation
208 SMULWB, // Signed multiply word by half word, bottom
209 SMULWT, // Signed multiply word by half word, top
211 SMLAL, // 64bit Signed Accumulate Multiply
217 SMLALD, // Signed multiply accumulate long dual
218 SMLALDX, // Signed multiply accumulate long dual exchange
219 SMLSLD, // Signed multiply subtract long dual
220 SMLSLDX, // Signed multiply subtract long dual exchange
221 SMMLAR, // Signed multiply long, round and add
222 SMMLSR, // Signed multipl
[all...]

Completed in 202 milliseconds

123