| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/ADT/ |
| H A D | APSInt.h | 23 bool IsUnsigned; variable 27 explicit APSInt() : IsUnsigned(false) {} in APSInt() 31 : APInt(BitWidth, 0), IsUnsigned(isUnsigned) {} 34 : APInt(std::move(I)), IsUnsigned(isUnsigned) {} in APInt() 76 bool isSigned() const { return !IsUnsigned; } in isSigned() 77 bool isUnsigned() const { return IsUnsigned; } in isUnsigned() 78 void setIsUnsigned(bool Val) { IsUnsigned = Val; } in setIsUnsigned() 79 void setIsSigned(bool Val) { IsUnsigned = !Val; } in setIsSigned() 99 return APSInt(APInt::trunc(width), IsUnsigned); in trunc() 103 if (IsUnsigned) in extend() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/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 …]
|
| /netbsd-src/external/apache2/llvm/dist/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()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/RISCV/ |
| H A D | RISCVISelDAGToDAG.cpp | 452 bool IsUnsigned = IntNo == Intrinsic::riscv_vmsgeu; in Select() local 460 IsUnsigned ? RISCV::PseudoVMSLTU_VX_MF8 : RISCV::PseudoVMSLT_VX_MF8; in Select() 465 IsUnsigned ? RISCV::PseudoVMSLTU_VX_MF4 : RISCV::PseudoVMSLT_VX_MF4; in Select() 470 IsUnsigned ? RISCV::PseudoVMSLTU_VX_MF2 : RISCV::PseudoVMSLT_VX_MF2; in Select() 475 IsUnsigned ? RISCV::PseudoVMSLTU_VX_M1 : RISCV::PseudoVMSLT_VX_M1; in Select() 480 IsUnsigned ? RISCV::PseudoVMSLTU_VX_M2 : RISCV::PseudoVMSLT_VX_M2; in Select() 485 IsUnsigned ? RISCV::PseudoVMSLTU_VX_M4 : RISCV::PseudoVMSLT_VX_M4; in Select() 490 IsUnsigned ? RISCV::PseudoVMSLTU_VX_M8 : RISCV::PseudoVMSLT_VX_M8; in Select() 521 bool IsUnsigned = IntNo == Intrinsic::riscv_vmsgeu_mask; in Select() local 529 IsUnsigned ? RISCV::PseudoVMSLTU_VX_MF8 : RISCV::PseudoVMSLT_VX_MF8; in Select() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/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 | 199 unsigned getRegEnsuringSimpleIntegerWidening(const Value *, bool IsUnsigned); 639 bool IsUnsigned = CI->isUnsigned(); in emitCmp() local 640 unsigned LeftReg = getRegEnsuringSimpleIntegerWidening(Left, IsUnsigned); in emitCmp() 643 unsigned RightReg = getRegEnsuringSimpleIntegerWidening(Right, IsUnsigned); in emitCmp() 2093 bool IsUnsigned) { in getRegEnsuringSimpleIntegerWidening() argument 2104 if (!emitIntExt(VMVT, VReg, MVT::i32, TempReg, IsUnsigned)) in getRegEnsuringSimpleIntegerWidening()
|
| /netbsd-src/external/apache2/llvm/dist/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()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/IR/ |
| H A D | LLVMContextImpl.h | 382 bool IsUnsigned; 384 MDNodeKeyImpl(APInt Value, bool IsUnsigned, MDString *Name) 385 : Value(Value), Name(Name), IsUnsigned(IsUnsigned) {} 386 MDNodeKeyImpl(int64_t Value, bool IsUnsigned, MDString *Name) 387 : Value(APInt(64, Value, !IsUnsigned)), Name(Name), 388 IsUnsigned(IsUnsigned) {} 391 IsUnsigned(N->isUnsigned()) {} 395 IsUnsigned == RHS->isUnsigned() && Name == RHS->getRawName();
|
| H A D | DIBuilder.cpp | 247 bool IsUnsigned) { in createEnumerator() argument 249 return DIEnumerator::get(VMContext, APInt(64, Val, !IsUnsigned), IsUnsigned, in createEnumerator()
|
| /netbsd-src/external/apache2/llvm/dist/clang/include/clang/AST/ |
| H A D | TemplateBase.h | 118 unsigned IsUnsigned : 1; 319 return APSInt(APInt(Integer.BitWidth, Integer.VAL), Integer.IsUnsigned); 323 Integer.IsUnsigned);
|
| /netbsd-src/external/apache2/llvm/dist/clang/include/clang/Basic/ |
| H A D | TargetBuiltins.h | 165 NeonTypeFlags(EltType ET, bool IsUnsigned, bool IsQuad) : Flags(ET) { in NeonTypeFlags() argument 166 if (IsUnsigned) in NeonTypeFlags()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/IR/ |
| H A D | DebugInfoMetadata.h | 418 bool IsUnsigned, ArrayRef<Metadata *> Ops) in DIEnumerator() argument 421 SubclassData32 = IsUnsigned; in DIEnumerator() 424 bool IsUnsigned, ArrayRef<Metadata *> Ops) in DIEnumerator() argument 425 : DIEnumerator(C, Storage, APInt(64, Value, !IsUnsigned), IsUnsigned, in DIEnumerator() 430 bool IsUnsigned, StringRef Name, 432 return getImpl(Context, Value, IsUnsigned, 436 bool IsUnsigned, MDString *Name, 445 (int64_t Value, bool IsUnsigned, StringRef Name), 446 (APInt(64, Value, !IsUnsigned), IsUnsigned, Name)) 448 (int64_t Value, bool IsUnsigned, MDString *Name), [all …]
|
| H A D | MatrixBuilder.h | 220 Value *CreateScalarDiv(Value *LHS, Value *RHS, bool IsUnsigned) { in CreateScalarDiv() argument 231 : (IsUnsigned ? B.CreateUDiv(LHS, RHS) : B.CreateSDiv(LHS, RHS)); in CreateScalarDiv()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/X86/ |
| H A D | X86TargetTransformInfo.h | 186 InstructionCost getMinMaxCost(Type *Ty, Type *CondTy, bool IsUnsigned); 189 bool IsPairwiseForm, bool IsUnsigned,
|
| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Analysis/ |
| H A D | TargetTransformInfo.h | 1198 VectorType *Ty, VectorType *CondTy, bool IsPairwiseForm, bool IsUnsigned, 1208 bool IsMLA, bool IsUnsigned, Type *ResTy, VectorType *Ty, 1662 bool IsPairwiseForm, bool IsUnsigned, 1665 bool IsMLA, bool IsUnsigned, Type *ResTy, VectorType *Ty, 2167 bool IsPairwiseForm, bool IsUnsigned, in getMinMaxReductionCost() argument 2169 return Impl.getMinMaxReductionCost(Ty, CondTy, IsPairwiseForm, IsUnsigned, in getMinMaxReductionCost() 2173 bool IsMLA, bool IsUnsigned, Type *ResTy, VectorType *Ty, 2175 return Impl.getExtendedAddReductionCost(IsMLA, IsUnsigned, ResTy, Ty,
|
| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/DebugInfo/PDB/ |
| H A D | PDBTypes.h | 510 #define VARIANT_APSINT(Enum, NumBits, IsUnsigned) \ argument 512 return APSInt(APInt(NumBits, Value.Enum), IsUnsigned);
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/ |
| H A D | SIShrinkInstructions.cpp | 131 bool &IsUnsigned) { in isKImmOrKUImmOperand() argument 133 IsUnsigned = false; in isKImmOrKUImmOperand() 138 IsUnsigned = true; in isKImmOrKUImmOperand()
|
| H A D | AMDGPUTargetTransformInfo.h | 221 VectorType *Ty, VectorType *CondTy, bool IsPairwiseForm, bool IsUnsigned,
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Analysis/ |
| H A D | TargetTransformInfo.cpp | 905 VectorType *Ty, VectorType *CondTy, bool IsPairwiseForm, bool IsUnsigned, in getMinMaxReductionCost() argument 908 Ty, CondTy, IsPairwiseForm, IsUnsigned, CostKind); in getMinMaxReductionCost() 914 bool IsMLA, bool IsUnsigned, Type *ResTy, VectorType *Ty, in getExtendedAddReductionCost() argument 916 return TTIImpl->getExtendedAddReductionCost(IsMLA, IsUnsigned, ResTy, Ty, in getExtendedAddReductionCost()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AArch64/ |
| H A D | AArch64TargetTransformInfo.h | 161 bool IsPairwise, bool IsUnsigned,
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/ARM/ |
| H A D | ARMTargetTransformInfo.h | 262 InstructionCost getExtendedAddReductionCost(bool IsMLA, bool IsUnsigned,
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/AST/ |
| H A D | Type.cpp | 341 ExtIntType::ExtIntType(bool IsUnsigned, unsigned NumBits) in ExtIntType() argument 342 : Type(ExtInt, QualType{}, TypeDependence::None), IsUnsigned(IsUnsigned), in ExtIntType() 346 bool IsUnsigned, Expr *NumBitsExpr) in DependentExtIntType() argument 349 Context(Context), ExprAndUnsigned(NumBitsExpr, IsUnsigned) {} 360 const ASTContext &Context, bool IsUnsigned, in Profile() argument 362 ID.AddBoolean(IsUnsigned); in Profile()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/bindings/ocaml/debuginfo/ |
| H A D | debuginfo_ocaml.c | 391 value Value, value IsUnsigned) { in llvm_dibuild_create_enumerator() argument 394 (int64_t)Int_val(Value), Bool_val(IsUnsigned)); in llvm_dibuild_create_enumerator()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/WebAssembly/ |
| H A D | WebAssemblyISelLowering.cpp | 369 bool IsUnsigned, bool Int64, in LowerFPToInt() argument 384 int64_t Substitute = IsUnsigned ? 0 : Limit; in LowerFPToInt() 385 double CmpVal = IsUnsigned ? -(double)Limit * 2.0 : -(double)Limit; in LowerFPToInt() 420 if (IsUnsigned) { in LowerFPToInt() 430 if (IsUnsigned) { in LowerFPToInt()
|