| /openbsd-src/gnu/llvm/llvm/include/llvm/ADT/ |
| H A D | APSInt.h | 24 bool IsUnsigned = false; variable 32 : APInt(BitWidth, 0), IsUnsigned(isUnsigned) {} 35 : APInt(std::move(I)), IsUnsigned(isUnsigned) {} in APInt() 77 bool isSigned() const { return !IsUnsigned; } in isSigned() 78 bool isUnsigned() const { return IsUnsigned; } in isUnsigned() 79 void setIsUnsigned(bool Val) { IsUnsigned = Val; } in setIsUnsigned() 80 void setIsSigned(bool Val) { IsUnsigned = !Val; } in setIsSigned() 109 return APSInt(APInt::trunc(width), IsUnsigned); in trunc() 113 if (IsUnsigned) in extend() 114 return APSInt(zext(width), IsUnsigned); in extend() [all …]
|
| /openbsd-src/gnu/llvm/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
| H A D | APSIntType.h | 21 bool IsUnsigned; variable 25 : BitWidth(Width), IsUnsigned(Unsigned) {} in APSIntType() 28 : BitWidth(Value.getBitWidth()), IsUnsigned(Value.isUnsigned()) {} in APSIntType() 31 bool isUnsigned() const { return IsUnsigned; } in isUnsigned() 41 Value.setIsUnsigned(IsUnsigned); in apply() 56 return llvm::APSInt(BitWidth, IsUnsigned); in getZeroValue() 61 return llvm::APSInt::getMinValue(BitWidth, IsUnsigned); in getMinValue() 66 return llvm::APSInt::getMaxValue(BitWidth, IsUnsigned); in getMaxValue() 70 return (llvm::APSInt(BitWidth, IsUnsigned) = RawValue); in getValue() 92 return BitWidth == Other.BitWidth && IsUnsigned == Other.IsUnsigned; [all …]
|
| /openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Core/ |
| H A D | APSIntType.cpp | 19 if (IsUnsigned && !AllowSignConversions && in testInRange() 25 if (Value.isSigned() && !IsUnsigned) in testInRange() 36 MinBits = Value.getMinSignedBits() - IsUnsigned; in testInRange() 38 MinBits = Value.getActiveBits() + !IsUnsigned; in testInRange()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/Mips/ |
| H A D | MipsExpandPseudo.cpp | 344 bool IsUnsigned = false; in expandAtomicBinOpSubword() local 392 IsUnsigned = true; in expandAtomicBinOpSubword() 400 IsUnsigned = true; in expandAtomicBinOpSubword() 457 unsigned SLTScratch4 = IsUnsigned ? SLTu : SLT; in expandAtomicBinOpSubword() 645 bool IsUnsigned = false; in expandAtomicBinOp() local 696 IsUnsigned = true; in expandAtomicBinOp() 704 IsUnsigned = true; in expandAtomicBinOp() 743 unsigned SLTScratch2 = IsUnsigned ? SLTu : SLT; in expandAtomicBinOp()
|
| H A D | MipsFastISel.cpp | 195 unsigned getRegEnsuringSimpleIntegerWidening(const Value *, bool IsUnsigned); 635 bool IsUnsigned = CI->isUnsigned(); in emitCmp() local 636 unsigned LeftReg = getRegEnsuringSimpleIntegerWidening(Left, IsUnsigned); in emitCmp() 639 unsigned RightReg = getRegEnsuringSimpleIntegerWidening(Right, IsUnsigned); in emitCmp() 2087 bool IsUnsigned) { in getRegEnsuringSimpleIntegerWidening() argument 2098 if (!emitIntExt(VMVT, VReg, MVT::i32, TempReg, IsUnsigned)) in getRegEnsuringSimpleIntegerWidening()
|
| /openbsd-src/gnu/llvm/llvm/lib/Support/ |
| H A D | APSInt.cpp | 41 ID.AddInteger((unsigned) (IsUnsigned ? 1 : 0)); in Profile()
|
| H A D | APFixedPoint.cpp | 120 bool IsUnsigned = !Sema.isSigned(); in getMax() local 121 auto Val = APSInt::getMaxValue(Sema.getWidth(), IsUnsigned); in getMax() 122 if (IsUnsigned && Sema.hasUnsignedPadding()) in getMax()
|
| /openbsd-src/gnu/llvm/clang/include/clang/AST/ |
| H A D | TemplateBase.h | 116 unsigned IsUnsigned : 1; 319 return APSInt(APInt(Integer.BitWidth, Integer.VAL), Integer.IsUnsigned); 323 Integer.IsUnsigned);
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/Analysis/ |
| H A D | TargetTransformInfo.h | 1308 VectorType *Ty, VectorType *CondTy, bool IsUnsigned, 1317 bool IsUnsigned, Type *ResTy, VectorType *Ty, 1325 unsigned Opcode, bool IsUnsigned, Type *ResTy, VectorType *Ty, 1836 getMinMaxReductionCost(VectorType *Ty, VectorType *CondTy, bool IsUnsigned, 1839 unsigned Opcode, bool IsUnsigned, Type *ResTy, VectorType *Ty, 1843 bool IsUnsigned, Type *ResTy, VectorType *Ty, 2436 getMinMaxReductionCost(VectorType *Ty, VectorType *CondTy, bool IsUnsigned, in getMinMaxReductionCost() argument 2438 return Impl.getMinMaxReductionCost(Ty, CondTy, IsUnsigned, CostKind); in getMinMaxReductionCost() 2441 unsigned Opcode, bool IsUnsigned, Type *ResTy, VectorType *Ty, 2444 return Impl.getExtendedReductionCost(Opcode, IsUnsigned, ResTy, Ty, FMF, [all …]
|
| /openbsd-src/gnu/llvm/clang/include/clang/Basic/ |
| H A D | TargetBuiltins.h | 192 NeonTypeFlags(EltType ET, bool IsUnsigned, bool IsQuad) : Flags(ET) { in NeonTypeFlags() argument 193 if (IsUnsigned) in NeonTypeFlags()
|
| /openbsd-src/gnu/llvm/llvm/lib/IR/ |
| H A D | LLVMContextImpl.h | 441 bool IsUnsigned; 443 MDNodeKeyImpl(APInt Value, bool IsUnsigned, MDString *Name) 444 : Value(Value), Name(Name), IsUnsigned(IsUnsigned) {} 445 MDNodeKeyImpl(int64_t Value, bool IsUnsigned, MDString *Name) 446 : Value(APInt(64, Value, !IsUnsigned)), Name(Name), 447 IsUnsigned(IsUnsigned) {} 450 IsUnsigned(N->isUnsigned()) {} 454 Value == RHS->getValue() && IsUnsigned == RHS->isUnsigned() &&
|
| H A D | DebugInfoMetadata.cpp | 577 const APInt &Value, bool IsUnsigned, in DIEnumerator() argument 581 SubclassData32 = IsUnsigned; in DIEnumerator() 584 bool IsUnsigned, MDString *Name, in getImpl() argument 587 DEFINE_GETIMPL_LOOKUP(DIEnumerator, (Value, IsUnsigned, Name)); in getImpl() 589 DEFINE_GETIMPL_STORE(DIEnumerator, (Value, IsUnsigned), Ops); in getImpl()
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/IR/ |
| H A D | MatrixBuilder.h | 216 Value *CreateScalarDiv(Value *LHS, Value *RHS, bool IsUnsigned) { in CreateScalarDiv() argument 227 : (IsUnsigned ? B.CreateUDiv(LHS, RHS) : B.CreateSDiv(LHS, RHS)); in CreateScalarDiv()
|
| H A D | DebugInfoMetadata.h | 454 bool IsUnsigned, ArrayRef<Metadata *> Ops); 456 bool IsUnsigned, ArrayRef<Metadata *> Ops) in DIEnumerator() argument 457 : DIEnumerator(C, Storage, APInt(64, Value, !IsUnsigned), IsUnsigned, in DIEnumerator() 462 bool IsUnsigned, StringRef Name, 464 return getImpl(Context, Value, IsUnsigned, 468 bool IsUnsigned, MDString *Name, 477 (int64_t Value, bool IsUnsigned, StringRef Name), 478 (APInt(64, Value, !IsUnsigned), IsUnsigned, Name)) 480 (int64_t Value, bool IsUnsigned, MDString *Name), 481 (APInt(64, Value, !IsUnsigned), IsUnsigned, Name)) [all …]
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/X86/ |
| H A D | X86TargetTransformInfo.h | 199 InstructionCost getMinMaxCost(Type *Ty, Type *CondTy, bool IsUnsigned); 202 bool IsUnsigned,
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/RISCV/ |
| H A D | RISCVTargetTransformInfo.h | 136 bool IsUnsigned, 143 InstructionCost getExtendedReductionCost(unsigned Opcode, bool IsUnsigned,
|
| H A D | RISCVTargetTransformInfo.cpp | 1002 bool IsUnsigned, in getMinMaxReductionCost() argument 1005 return BaseT::getMinMaxReductionCost(Ty, CondTy, IsUnsigned, CostKind); in getMinMaxReductionCost() 1009 return BaseT::getMinMaxReductionCost(Ty, CondTy, IsUnsigned, CostKind); in getMinMaxReductionCost() 1055 unsigned Opcode, bool IsUnsigned, Type *ResTy, VectorType *ValTy, in getExtendedReductionCost() argument 1058 return BaseT::getExtendedReductionCost(Opcode, IsUnsigned, ResTy, ValTy, in getExtendedReductionCost() 1063 return BaseT::getExtendedReductionCost(Opcode, IsUnsigned, ResTy, ValTy, in getExtendedReductionCost() 1067 return BaseT::getExtendedReductionCost(Opcode, IsUnsigned, ResTy, ValTy, in getExtendedReductionCost() 1073 return BaseT::getExtendedReductionCost(Opcode, IsUnsigned, ResTy, ValTy, in getExtendedReductionCost()
|
| /openbsd-src/gnu/llvm/llvm/lib/Analysis/ |
| H A D | TargetTransformInfo.cpp | 1020 VectorType *Ty, VectorType *CondTy, bool IsUnsigned, in getMinMaxReductionCost() argument 1023 TTIImpl->getMinMaxReductionCost(Ty, CondTy, IsUnsigned, CostKind); in getMinMaxReductionCost() 1029 unsigned Opcode, bool IsUnsigned, Type *ResTy, VectorType *Ty, in getExtendedReductionCost() argument 1031 return TTIImpl->getExtendedReductionCost(Opcode, IsUnsigned, ResTy, Ty, FMF, in getExtendedReductionCost() 1036 bool IsUnsigned, Type *ResTy, VectorType *Ty, in getMulAccReductionCost() argument 1038 return TTIImpl->getMulAccReductionCost(IsUnsigned, ResTy, Ty, CostKind); in getMulAccReductionCost()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/ARM/ |
| H A D | ARMTargetTransformInfo.h | 281 InstructionCost getExtendedReductionCost(unsigned Opcode, bool IsUnsigned, 285 InstructionCost getMulAccReductionCost(bool IsUnsigned, Type *ResTy,
|
| H A D | ARMISelDAGToDAG.cpp | 210 bool IsUnsigned, 2712 bool IsUnsigned = SDValueToConstBool(N->getOperand(1)); in SelectBaseMVE_VMLLDAV() local 2715 if (IsUnsigned) { in SelectBaseMVE_VMLLDAV() 2733 const uint16_t *Opcodes = IsUnsigned ? OpcodesU : OpcodesS; in SelectBaseMVE_VMLLDAV() 3176 bool IsUnsigned, in transformFixedFloatingPointConversion() argument 3186 if (ScalarBits == 16 && !FMulFlags.hasNoInfs() && IsUnsigned) in transformFixedFloatingPointConversion() 3257 Opcode = IsUnsigned ? ARM::MVE_VCVTf16u16_fix : ARM::MVE_VCVTf16s16_fix; in transformFixedFloatingPointConversion() 3259 Opcode = IsUnsigned ? ARM::MVE_VCVTu16f16_fix : ARM::MVE_VCVTs16f16_fix; in transformFixedFloatingPointConversion() 3263 Opcode = IsUnsigned ? ARM::MVE_VCVTf32u32_fix : ARM::MVE_VCVTf32s32_fix; in transformFixedFloatingPointConversion() 3265 Opcode = IsUnsigned ? ARM::MVE_VCVTu32f32_fix : ARM::MVE_VCVTs32f32_fix; in transformFixedFloatingPointConversion() [all …]
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/DebugInfo/PDB/ |
| H A D | PDBTypes.h | 511 #define VARIANT_APSINT(Enum, NumBits, IsUnsigned) \ argument 513 return APSInt(APInt(NumBits, Value.Enum), IsUnsigned);
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/AMDGPU/ |
| H A D | SIShrinkInstructions.cpp | 47 bool isKImmOrKUImmOperand(const MachineOperand &Src, bool &IsUnsigned) const; 175 bool &IsUnsigned) const { in isKImmOrKUImmOperand() 177 IsUnsigned = false; in isKImmOrKUImmOperand() 182 IsUnsigned = true; in isKImmOrKUImmOperand()
|
| H A D | AMDGPUTargetTransformInfo.h | 224 VectorType *Ty, VectorType *CondTy, bool IsUnsigned,
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/CodeGen/ |
| H A D | BasicTTIImpl.h | 1917 bool IsUnsigned = IID == Intrinsic::umax || IID == Intrinsic::umin; in getTypeBasedIntrinsicInstrCost() local 1919 IsUnsigned ? CmpInst::ICMP_UGT : CmpInst::ICMP_SGT; in getTypeBasedIntrinsicInstrCost() 2344 bool IsUnsigned, in getMinMaxReductionCost() argument 2408 InstructionCost getExtendedReductionCost(unsigned Opcode, bool IsUnsigned, in getExtendedReductionCost() argument 2418 IsUnsigned ? Instruction::ZExt : Instruction::SExt, ExtTy, Ty, in getExtendedReductionCost() 2424 InstructionCost getMulAccReductionCost(bool IsUnsigned, Type *ResTy, in getMulAccReductionCost() argument 2434 IsUnsigned ? Instruction::ZExt : Instruction::SExt, ExtTy, Ty, in getMulAccReductionCost()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/AArch64/ |
| H A D | AArch64TargetTransformInfo.h | 180 bool IsUnsigned,
|