/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/ |
H A D | APSInt.h | 113 if (IsUnsigned) in extend() 120 if (IsUnsigned) in extOrTrunc() 127 assert(IsUnsigned == RHS.IsUnsigned && "Signedness mismatch!"); 128 if (IsUnsigned) 135 assert(IsUnsigned == RHS.IsUnsigned && "Signedness mismatch!"); 143 assert(IsUnsigned == RHS.IsUnsigned && "Signedness mismatch!"); 147 assert(IsUnsigned == RHS.IsUnsigned && "Signedness mismatch!"); 167 assert(IsUnsigned == RHS.IsUnsigned && "Signedness mismatch!"); 171 assert(IsUnsigned == RHS.IsUnsigned && "Signedness mismatch!"); 175 assert(IsUnsigned == RHS.IsUnsigned && "Signedness mismatch!"); [all …]
|
/freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
H A D | APSIntType.h | 21 bool IsUnsigned; variable 25 : BitWidth(Width), IsUnsigned(Unsigned) {} 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; 100 return std::tie(BitWidth, IsUnsigned) < [all …]
|
/freebsd/contrib/llvm-project/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.getSignificantBits() - IsUnsigned; in testInRange() 38 MinBits = Value.getActiveBits() + !IsUnsigned; in testInRange()
|
/freebsd/contrib/llvm-project/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()
|
/freebsd/contrib/llvm-project/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()
|
/freebsd/contrib/llvm-project/llvm/lib/IR/ |
H A D | LLVMContextImpl.h | 440 bool IsUnsigned; 442 MDNodeKeyImpl(APInt Value, bool IsUnsigned, MDString *Name) 443 : Value(Value), Name(Name), IsUnsigned(IsUnsigned) {} 444 MDNodeKeyImpl(int64_t Value, bool IsUnsigned, MDString *Name) 445 : Value(APInt(64, Value, !IsUnsigned)), Name(Name), 446 IsUnsigned(IsUnsigned) {} 449 IsUnsigned(N->isUnsigned()) {} 453 Value == RHS->getValue() && IsUnsigned == RHS->isUnsigned() &&
|
H A D | DebugInfoMetadata.cpp | 644 const APInt &Value, bool IsUnsigned, in DIEnumerator() argument 648 SubclassData32 = IsUnsigned; in DIEnumerator() 651 bool IsUnsigned, MDString *Name, in getImpl() argument 654 DEFINE_GETIMPL_LOOKUP(DIEnumerator, (Value, IsUnsigned, Name)); in getImpl() 656 DEFINE_GETIMPL_STORE(DIEnumerator, (Value, IsUnsigned), Ops); in getImpl()
|
H A D | DIBuilder.cpp | 247 bool IsUnsigned) { in createEnumerator() argument 249 return DIEnumerator::get(VMContext, APInt(64, Val, !IsUnsigned), IsUnsigned, in createEnumerator()
|
/freebsd/contrib/llvm-project/clang/include/clang/AST/ |
H A D | TemplateBase.h | 131 unsigned IsUnsigned : 1; 369 return APSInt(APInt(Integer.BitWidth, Integer.VAL), Integer.IsUnsigned); 373 Integer.IsUnsigned);
|
/freebsd/contrib/llvm-project/clang/include/clang/Basic/ |
H A D | TargetBuiltins.h | 205 NeonTypeFlags(EltType ET, bool IsUnsigned, bool IsQuad) : Flags(ET) { in NeonTypeFlags() argument 206 if (IsUnsigned) in NeonTypeFlags()
|
/freebsd/contrib/llvm-project/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 | 464 bool IsUnsigned, ArrayRef<Metadata *> Ops); 466 bool IsUnsigned, ArrayRef<Metadata *> Ops) in DIEnumerator() argument 467 : DIEnumerator(C, Storage, APInt(64, Value, !IsUnsigned), IsUnsigned, in DIEnumerator() 472 bool IsUnsigned, StringRef Name, 474 return getImpl(Context, Value, IsUnsigned, 478 bool IsUnsigned, MDString *Name, 488 (APInt(64, Value, !IsUnsigned), IsUnsigned, Name)) 491 (APInt(64, Value, !IsUnsigned), IsUnsigned, Name)) 493 (APInt Value, bool IsUnsigned, StringRef Name), 494 (Value, IsUnsigned, Name)) [all …]
|
/freebsd/contrib/llvm-project/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);
|
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/ |
H A D | ARMTargetTransformInfo.h | 285 InstructionCost getExtendedReductionCost(unsigned Opcode, bool IsUnsigned, 289 InstructionCost getMulAccReductionCost(bool IsUnsigned, Type *ResTy,
|
H A D | ARMISelDAGToDAG.cpp | 210 bool IsUnsigned, 2710 bool IsUnsigned = SDValueToConstBool(N->getOperand(1)); in SelectBaseMVE_VMLLDAV() local 2713 if (IsUnsigned) { in SelectBaseMVE_VMLLDAV() 2728 const uint16_t *Opcodes = IsUnsigned ? OpcodesU : OpcodesS; in SelectBaseMVE_VMLLDAV() 3171 bool IsUnsigned, in transformFixedFloatingPointConversion() argument 3181 if (ScalarBits == 16 && !FMulFlags.hasNoInfs() && IsUnsigned) in transformFixedFloatingPointConversion() 3252 Opcode = IsUnsigned ? ARM::MVE_VCVTf16u16_fix : ARM::MVE_VCVTf16s16_fix; in transformFixedFloatingPointConversion() 3254 Opcode = IsUnsigned ? ARM::MVE_VCVTu16f16_fix : ARM::MVE_VCVTs16f16_fix; in transformFixedFloatingPointConversion() 3280 bool IsUnsigned = N->getOpcode() == ISD::FP_TO_UINT || in tryFP_TO_INT() local 3292 if (ScalarBits == 16 && !Flags.hasNoInfs() && IsUnsigned) in tryFP_TO_INT() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | SIShrinkInstructions.cpp | 47 bool isKImmOrKUImmOperand(const MachineOperand &Src, bool &IsUnsigned) const; 172 bool &IsUnsigned) const { in isKImmOrKUImmOperand() 174 IsUnsigned = false; in isKImmOrKUImmOperand() 179 IsUnsigned = true; in isKImmOrKUImmOperand()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/ |
H A D | TargetTransformInfo.h | 1475 bool IsUnsigned, Type *ResTy, VectorType *Ty, 1483 unsigned Opcode, bool IsUnsigned, Type *ResTy, VectorType *Ty, 2039 unsigned Opcode, bool IsUnsigned, Type *ResTy, VectorType *Ty, 2043 bool IsUnsigned, Type *ResTy, VectorType *Ty, 2694 getExtendedReductionCost(unsigned Opcode, bool IsUnsigned, Type *ResTy, in getExtendedReductionCost() argument 2697 return Impl.getExtendedReductionCost(Opcode, IsUnsigned, ResTy, Ty, FMF, in getExtendedReductionCost() 2701 getMulAccReductionCost(bool IsUnsigned, Type *ResTy, VectorType *Ty, in getMulAccReductionCost() argument 2703 return Impl.getMulAccReductionCost(IsUnsigned, ResTy, Ty, CostKind); in getMulAccReductionCost()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/ |
H A D | RISCVTargetTransformInfo.cpp | 989 unsigned Opcode, bool IsUnsigned, Type *ResTy, VectorType *ValTy, in getExtendedReductionCost() argument 992 return BaseT::getExtendedReductionCost(Opcode, IsUnsigned, ResTy, ValTy, in getExtendedReductionCost() 997 return BaseT::getExtendedReductionCost(Opcode, IsUnsigned, ResTy, ValTy, in getExtendedReductionCost() 1001 return BaseT::getExtendedReductionCost(Opcode, IsUnsigned, ResTy, ValTy, in getExtendedReductionCost() 1007 return BaseT::getExtendedReductionCost(Opcode, IsUnsigned, ResTy, ValTy, in getExtendedReductionCost()
|
H A D | RISCVTargetTransformInfo.h | 159 InstructionCost getExtendedReductionCost(unsigned Opcode, bool IsUnsigned,
|
H A D | RISCVISelDAGToDAG.cpp | 1430 bool IsUnsigned = IntNo == Intrinsic::riscv_vmsgeu; in Select() local 1439 if (!IsUnsigned || CVal != 0) in Select() 1451 VMSLTOpcode = IsUnsigned ? RISCV::PseudoVMSLTU_VX_##suffix \ in Select() 1489 bool IsUnsigned = IntNo == Intrinsic::riscv_vmsgeu_mask; in Select() local 1498 if (!IsUnsigned || CVal != 0) in Select() 1511 VMSLTOpcode = IsUnsigned ? RISCV::PseudoVMSLTU_VX_##suffix \ in Select() 1513 VMSLTMaskOpcode = IsUnsigned ? RISCV::PseudoVMSLTU_VX_##suffix##_MASK \ in Select()
|
/freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | TargetTransformInfo.cpp | 1113 unsigned Opcode, bool IsUnsigned, Type *ResTy, VectorType *Ty, in getExtendedReductionCost() argument 1115 return TTIImpl->getExtendedReductionCost(Opcode, IsUnsigned, ResTy, Ty, FMF, in getExtendedReductionCost() 1120 bool IsUnsigned, Type *ResTy, VectorType *Ty, in getMulAccReductionCost() argument 1122 return TTIImpl->getMulAccReductionCost(IsUnsigned, ResTy, Ty, CostKind); in getMulAccReductionCost()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
H A D | BasicTTIImpl.h | 2048 bool IsUnsigned = IID == Intrinsic::umax || IID == Intrinsic::umin; in getTypeBasedIntrinsicInstrCost() local 2050 IsUnsigned ? CmpInst::ICMP_UGT : CmpInst::ICMP_SGT; in getTypeBasedIntrinsicInstrCost() 2524 InstructionCost getExtendedReductionCost(unsigned Opcode, bool IsUnsigned, in getExtendedReductionCost() argument 2534 IsUnsigned ? Instruction::ZExt : Instruction::SExt, ExtTy, Ty, in getExtendedReductionCost() 2540 InstructionCost getMulAccReductionCost(bool IsUnsigned, Type *ResTy, in getMulAccReductionCost() argument 2550 IsUnsigned ? Instruction::ZExt : Instruction::SExt, ExtTy, Ty, in getMulAccReductionCost()
|
/freebsd/contrib/llvm-project/clang/lib/AST/ |
H A D | Type.cpp | 364 BitIntType::BitIntType(bool IsUnsigned, unsigned NumBits) in BitIntType() argument 365 : Type(BitInt, QualType{}, TypeDependence::None), IsUnsigned(IsUnsigned), in BitIntType() 368 DependentBitIntType::DependentBitIntType(bool IsUnsigned, Expr *NumBitsExpr) in DependentBitIntType() argument 371 ExprAndUnsigned(NumBitsExpr, IsUnsigned) {} 382 const ASTContext &Context, bool IsUnsigned, in Profile() argument 384 ID.AddBoolean(IsUnsigned); in Profile()
|