/freebsd-11-stable/contrib/llvm-project/clang/lib/AST/Interp/ |
H A D | Integral.h | 41 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 D | CheckedArithmetic.h | 30 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 D | AMDGPUHSAMetadataStreamer.cpp | 133 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 D | AMDGPUHSAMetadataStreamer.h | 70 std::string getTypeName(Type *Ty, bool Signed) const; 138 std::string getTypeName(Type *Ty, bool Signed) const;
|
H A D | SIISelLowering.h | 45 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 D | AMDGPULegalizerInfo.h | 52 MachineIRBuilder &B, bool Signed) const;
|
H A D | AMDGPUISelLowering.h | 65 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 D | AMDGPUInstructionSelector.h | 152 template <bool Signed>
|
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Analysis/ |
H A D | TargetLibraryInfo.h | 359 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 D | IVDescriptors.h | 93 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 D | ScalarEvolutionExpander.h | 228 bool Signed);
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/NVPTX/ |
H A D | NVPTX.h | 99 Signed, enumerator in enum:llvm::NVPTX::PTXLdStInstCode::FromType
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/WebAssembly/Disassembler/ |
H A D | WebAssemblyDisassembler.cpp | 85 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 D | DWARFExpression.cpp | 135 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 D | DWARFFormValue.h | 65 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 D | VariantValue.h | 266 VariantValue(int Signed) : VariantValue(static_cast<unsigned>(Signed)) {} argument
|
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/ |
H A D | LoopUtils.h | 354 bool Signed); 358 bool Signed);
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/Mips/ |
H A D | MipsSEISelDAGToDAG.h | 99 bool selectVSplatCommon(SDValue N, SDValue &Imm, bool Signed,
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | LoopUtils.cpp | 1025 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 D | HexagonConstPropagation.cpp | 418 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 D | HexagonSplitDouble.cpp | 798 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 D | ThreadSafetyTraverse.h | 570 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 D | ConstantRange.h | 272 enum PreferredRangeType { Smallest, Unsigned, Signed }; enumerator in enum:llvm::ConstantRange::PreferredRangeType
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/NVPTX/MCTargetDesc/ |
H A D | NVPTXInstPrinter.cpp | 252 if (Imm == NVPTX::PTXLdStInstCode::Signed)
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/ARM/ |
H A D | ARMISelLowering.h | 95 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...] |