| /llvm-project-15.0.7/llvm/include/llvm/ADT/ |
| H A D | APSInt.h | 99 if (IsUnsigned) in extend() 106 if (IsUnsigned) in extOrTrunc() 113 assert(IsUnsigned == RHS.IsUnsigned && "Signedness mismatch!"); 114 if (IsUnsigned) 121 assert(IsUnsigned == RHS.IsUnsigned && "Signedness mismatch!"); 122 if (IsUnsigned) 129 assert(IsUnsigned == RHS.IsUnsigned && "Signedness mismatch!"); 133 assert(IsUnsigned == RHS.IsUnsigned && "Signedness mismatch!"); 149 assert(IsUnsigned == RHS.IsUnsigned && "Signedness mismatch!"); 153 assert(IsUnsigned == RHS.IsUnsigned && "Signedness mismatch!"); [all …]
|
| /llvm-project-15.0.7/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 …]
|
| /llvm-project-15.0.7/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()
|
| /llvm-project-15.0.7/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()
|
| /llvm-project-15.0.7/llvm/lib/Support/ |
| H A D | APSInt.cpp | 41 ID.AddInteger((unsigned) (IsUnsigned ? 1 : 0)); in Profile()
|
| H A D | APFixedPoint.cpp | 116 bool IsUnsigned = !Sema.isSigned(); in getMax() local 117 auto Val = APSInt::getMaxValue(Sema.getWidth(), IsUnsigned); in getMax() 118 if (IsUnsigned && Sema.hasUnsignedPadding()) in getMax()
|
| /llvm-project-15.0.7/llvm/lib/Target/RISCV/ |
| H A D | RISCVTargetTransformInfo.cpp | 322 bool IsUnsigned, in getMinMaxReductionCost() argument 325 return BaseT::getMinMaxReductionCost(Ty, CondTy, IsUnsigned, CostKind); in getMinMaxReductionCost() 329 return BaseT::getMinMaxReductionCost(Ty, CondTy, IsUnsigned, CostKind); in getMinMaxReductionCost()
|
| H A D | RISCVTargetTransformInfo.h | 107 bool IsUnsigned,
|
| H A D | RISCVISelDAGToDAG.cpp | 1001 bool IsUnsigned = IntNo == Intrinsic::riscv_vmsgeu; in Select() local 1010 if (!IsUnsigned || CVal != 0) in Select() 1022 VMSLTOpcode = IsUnsigned ? RISCV::PseudoVMSLTU_VX_##suffix \ in Select() 1060 bool IsUnsigned = IntNo == Intrinsic::riscv_vmsgeu_mask; in Select() local 1069 if (!IsUnsigned || CVal != 0) in Select() 1082 VMSLTOpcode = IsUnsigned ? RISCV::PseudoVMSLTU_VX_##suffix \ in Select() 1084 VMSLTMaskOpcode = IsUnsigned ? RISCV::PseudoVMSLTU_VX_##suffix##_MASK \ in Select()
|
| /llvm-project-15.0.7/clang/include/clang/Basic/ |
| H A D | TargetBuiltins.h | 181 NeonTypeFlags(EltType ET, bool IsUnsigned, bool IsQuad) : Flags(ET) { in NeonTypeFlags() argument 182 if (IsUnsigned) in NeonTypeFlags()
|
| /llvm-project-15.0.7/llvm/lib/IR/ |
| H A D | LLVMContextImpl.h | 392 bool IsUnsigned; 394 MDNodeKeyImpl(APInt Value, bool IsUnsigned, MDString *Name) 395 : Value(Value), Name(Name), IsUnsigned(IsUnsigned) {} 396 MDNodeKeyImpl(int64_t Value, bool IsUnsigned, MDString *Name) 397 : Value(APInt(64, Value, !IsUnsigned)), Name(Name), 398 IsUnsigned(IsUnsigned) {} 401 IsUnsigned(N->isUnsigned()) {} 405 Value == RHS->getValue() && IsUnsigned == RHS->isUnsigned() &&
|
| H A D | DebugInfoMetadata.cpp | 545 const APInt &Value, bool IsUnsigned, in DIEnumerator() argument 549 SubclassData32 = IsUnsigned; in DIEnumerator() 552 bool IsUnsigned, MDString *Name, in getImpl() argument 555 DEFINE_GETIMPL_LOOKUP(DIEnumerator, (Value, IsUnsigned, Name)); in getImpl() 557 DEFINE_GETIMPL_STORE(DIEnumerator, (Value, IsUnsigned), Ops); in getImpl()
|
| /llvm-project-15.0.7/clang/include/clang/AST/ |
| H A D | TemplateBase.h | 117 unsigned IsUnsigned : 1; 318 return APSInt(APInt(Integer.BitWidth, Integer.VAL), Integer.IsUnsigned); 322 Integer.IsUnsigned);
|
| /llvm-project-15.0.7/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 | 417 bool IsUnsigned, ArrayRef<Metadata *> Ops); 419 bool IsUnsigned, ArrayRef<Metadata *> Ops) in DIEnumerator() argument 420 : DIEnumerator(C, Storage, APInt(64, Value, !IsUnsigned), IsUnsigned, in DIEnumerator() 425 bool IsUnsigned, StringRef Name, 427 return getImpl(Context, Value, IsUnsigned, 431 bool IsUnsigned, MDString *Name, 441 (APInt(64, Value, !IsUnsigned), IsUnsigned, Name)) 444 (APInt(64, Value, !IsUnsigned), IsUnsigned, Name)) 446 (APInt Value, bool IsUnsigned, StringRef Name), 447 (Value, IsUnsigned, Name)) [all …]
|
| /llvm-project-15.0.7/llvm/lib/Target/X86/ |
| H A D | X86TargetTransformInfo.h | 197 InstructionCost getMinMaxCost(Type *Ty, Type *CondTy, bool IsUnsigned); 200 bool IsUnsigned,
|
| /llvm-project-15.0.7/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);
|
| /llvm-project-15.0.7/llvm/include/llvm/Analysis/ |
| H A D | TargetTransformInfo.h | 1261 VectorType *Ty, VectorType *CondTy, bool IsUnsigned, 1271 bool IsMLA, bool IsUnsigned, Type *ResTy, VectorType *Ty, 1774 getMinMaxReductionCost(VectorType *Ty, VectorType *CondTy, bool IsUnsigned, 1777 bool IsMLA, bool IsUnsigned, Type *ResTy, VectorType *Ty, 2338 getMinMaxReductionCost(VectorType *Ty, VectorType *CondTy, bool IsUnsigned, in getMinMaxReductionCost() argument 2340 return Impl.getMinMaxReductionCost(Ty, CondTy, IsUnsigned, CostKind); in getMinMaxReductionCost() 2343 bool IsMLA, bool IsUnsigned, Type *ResTy, VectorType *Ty, 2345 return Impl.getExtendedAddReductionCost(IsMLA, IsUnsigned, ResTy, Ty,
|
| /llvm-project-15.0.7/llvm/lib/Target/AMDGPU/ |
| H A D | SIShrinkInstructions.cpp | 44 bool isKImmOrKUImmOperand(const MachineOperand &Src, bool &IsUnsigned) const; 155 bool &IsUnsigned) const { in isKImmOrKUImmOperand() 157 IsUnsigned = false; in isKImmOrKUImmOperand() 162 IsUnsigned = true; in isKImmOrKUImmOperand()
|
| H A D | AMDGPUTargetTransformInfo.h | 218 VectorType *Ty, VectorType *CondTy, bool IsUnsigned,
|
| /llvm-project-15.0.7/llvm/lib/Analysis/ |
| H A D | TargetTransformInfo.cpp | 967 VectorType *Ty, VectorType *CondTy, bool IsUnsigned, in getMinMaxReductionCost() argument 970 TTIImpl->getMinMaxReductionCost(Ty, CondTy, IsUnsigned, CostKind); in getMinMaxReductionCost() 976 bool IsMLA, bool IsUnsigned, Type *ResTy, VectorType *Ty, in getExtendedAddReductionCost() argument 978 return TTIImpl->getExtendedAddReductionCost(IsMLA, IsUnsigned, ResTy, Ty, in getExtendedAddReductionCost()
|
| /llvm-project-15.0.7/llvm/lib/Target/AArch64/ |
| H A D | AArch64TargetTransformInfo.h | 180 bool IsUnsigned,
|
| /llvm-project-15.0.7/llvm/lib/Target/ARM/ |
| H A D | ARMTargetTransformInfo.h | 278 InstructionCost getExtendedAddReductionCost(bool IsMLA, bool IsUnsigned,
|
| H A D | ARMISelDAGToDAG.cpp | 206 bool IsUnsigned, 2704 bool IsUnsigned = SDValueToConstBool(N->getOperand(1)); in SelectBaseMVE_VMLLDAV() local 2707 if (IsUnsigned) { in SelectBaseMVE_VMLLDAV() 2725 const uint16_t *Opcodes = IsUnsigned ? OpcodesU : OpcodesS; in SelectBaseMVE_VMLLDAV() 3168 bool IsUnsigned, in transformFixedFloatingPointConversion() argument 3178 if (ScalarBits == 16 && !FMulFlags.hasNoInfs() && IsUnsigned) in transformFixedFloatingPointConversion() 3249 Opcode = IsUnsigned ? ARM::MVE_VCVTf16u16_fix : ARM::MVE_VCVTf16s16_fix; in transformFixedFloatingPointConversion() 3251 Opcode = IsUnsigned ? ARM::MVE_VCVTu16f16_fix : ARM::MVE_VCVTs16f16_fix; in transformFixedFloatingPointConversion() 3277 bool IsUnsigned = N->getOpcode() == ISD::FP_TO_UINT || in tryFP_TO_INT() local 3289 if (ScalarBits == 16 && !Flags.hasNoInfs() && IsUnsigned) in tryFP_TO_INT() [all …]
|