Home
last modified time | relevance | path

Searched refs:IsUnsigned (Results 1 – 25 of 32) sorted by relevance

12

/freebsd-12.1/contrib/llvm/include/llvm/ADT/
H A DAPSInt.h23 bool IsUnsigned; variable
86 if (IsUnsigned) in extend()
93 if (IsUnsigned) in extOrTrunc()
100 assert(IsUnsigned == RHS.IsUnsigned && "Signedness mismatch!");
101 if (IsUnsigned)
108 assert(IsUnsigned == RHS.IsUnsigned && "Signedness mismatch!");
109 if (IsUnsigned)
116 assert(IsUnsigned == RHS.IsUnsigned && "Signedness mismatch!");
120 assert(IsUnsigned == RHS.IsUnsigned && "Signedness mismatch!");
136 assert(IsUnsigned == RHS.IsUnsigned && "Signedness mismatch!");
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DAPSIntType.h22 bool IsUnsigned; variable
26 : BitWidth(Width), IsUnsigned(Unsigned) {} in APSIntType()
32 bool isUnsigned() const { return IsUnsigned; } in isUnsigned()
42 Value.setIsUnsigned(IsUnsigned); in apply()
57 return llvm::APSInt(BitWidth, IsUnsigned); in getZeroValue()
62 return llvm::APSInt::getMinValue(BitWidth, IsUnsigned); in getMinValue()
67 return llvm::APSInt::getMaxValue(BitWidth, IsUnsigned); in getMaxValue()
71 return (llvm::APSInt(BitWidth, IsUnsigned) = RawValue); in getValue()
93 return BitWidth == Other.BitWidth && IsUnsigned == Other.IsUnsigned;
101 return std::tie(BitWidth, IsUnsigned) <
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/
H A DAPSIntType.cpp20 if (IsUnsigned && !AllowSignConversions && in testInRange()
26 if (Value.isSigned() && !IsUnsigned) in testInRange()
37 MinBits = Value.getMinSignedBits() - IsUnsigned; in testInRange()
39 MinBits = Value.getActiveBits() + !IsUnsigned; in testInRange()
H A DRangeConstraintManager.cpp436 bool IsUnsigned = T->isUnsignedIntegerType(); in applyBitwiseConstraints() local
442 if (Operator == BO_Or && IsUnsigned) in applyBitwiseConstraints()
452 if (Operator == BO_And && (IsUnsigned || RHS >= Zero)) in applyBitwiseConstraints()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Basic/
H A DFixedPoint.cpp103 bool IsUnsigned = !Sema.isSigned(); in getMax() local
104 auto Val = llvm::APSInt::getMaxValue(Sema.getWidth(), IsUnsigned); in getMax()
105 if (IsUnsigned && Sema.hasUnsignedPadding()) in getMax()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Basic/
H A DTargetBuiltins.h127 NeonTypeFlags(EltType ET, bool IsUnsigned, bool IsQuad) : Flags(ET) { in NeonTypeFlags() argument
128 if (IsUnsigned) in NeonTypeFlags()
/freebsd-12.1/contrib/llvm/lib/Support/
H A DAPSInt.cpp41 ID.AddInteger((unsigned) (IsUnsigned ? 1 : 0)); in Profile()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/
H A DTemplateBase.h108 unsigned IsUnsigned : 1; member
307 return APSInt(APInt(Integer.BitWidth, Integer.VAL), Integer.IsUnsigned); in getAsIntegral()
311 Integer.IsUnsigned); in getAsIntegral()
/freebsd-12.1/contrib/llvm/lib/Target/AMDGPU/
H A DSIShrinkInstructions.cpp137 bool &IsUnsigned) { in isKImmOrKUImmOperand() argument
139 IsUnsigned = false; in isKImmOrKUImmOperand()
144 IsUnsigned = true; in isKImmOrKUImmOperand()
H A DAMDGPUTargetTransformInfo.h200 bool IsUnsigned);
H A DAMDGPUTargetTransformInfo.cpp475 bool IsUnsigned) { in getMinMaxReductionCost() argument
483 return BaseT::getMinMaxReductionCost(Ty, CondTy, IsPairwise, IsUnsigned); in getMinMaxReductionCost()
/freebsd-12.1/contrib/llvm/lib/IR/
H A DLLVMContextImpl.h360 bool IsUnsigned;
362 MDNodeKeyImpl(int64_t Value, bool IsUnsigned, MDString *Name)
363 : Value(Value), Name(Name), IsUnsigned(IsUnsigned) {}
366 IsUnsigned(N->isUnsigned()) {}
369 return Value == RHS->getValue() && IsUnsigned == RHS->isUnsigned() &&
H A DDebugInfoMetadata.cpp329 bool IsUnsigned, MDString *Name, in getImpl() argument
332 DEFINE_GETIMPL_LOOKUP(DIEnumerator, (Value, IsUnsigned, Name)); in getImpl()
334 DEFINE_GETIMPL_STORE(DIEnumerator, (Value, IsUnsigned), Ops); in getImpl()
H A DDIBuilder.cpp246 bool IsUnsigned) { in createEnumerator() argument
248 return DIEnumerator::get(VMContext, Val, IsUnsigned, Name); in createEnumerator()
/freebsd-12.1/contrib/llvm/lib/Target/X86/
H A DX86TargetTransformInfo.h100 bool IsUnsigned);
/freebsd-12.1/contrib/llvm/lib/Target/WebAssembly/
H A DWebAssemblyISelLowering.cpp307 bool IsUnsigned, bool Int64, in LowerFPToInt() argument
322 int64_t Substitute = IsUnsigned ? 0 : Limit; in LowerFPToInt()
323 double CmpVal = IsUnsigned ? -(double)Limit * 2.0 : -(double)Limit; in LowerFPToInt()
359 if (IsUnsigned) { in LowerFPToInt()
369 if (IsUnsigned) { in LowerFPToInt()
/freebsd-12.1/contrib/llvm/include/llvm/Analysis/
H A DTargetTransformInfo.h859 bool IsUnsigned) const;
1165 bool IsPairwiseForm, bool IsUnsigned) = 0;
1517 bool IsPairwiseForm, bool IsUnsigned) override { in getMinMaxReductionCost() argument
1518 return Impl.getMinMaxReductionCost(Ty, CondTy, IsPairwiseForm, IsUnsigned); in getMinMaxReductionCost()
/freebsd-12.1/contrib/llvm/include/llvm/IR/
H A DDebugInfoMetadata.h401 bool IsUnsigned, ArrayRef<Metadata *> Ops)
404 SubclassData32 = IsUnsigned;
409 bool IsUnsigned, StringRef Name,
411 return getImpl(Context, Value, IsUnsigned,
415 bool IsUnsigned, MDString *Name,
423 DEFINE_MDNODE_GET(DIEnumerator, (int64_t Value, bool IsUnsigned, StringRef Name),
424 (Value, IsUnsigned, Name))
425 DEFINE_MDNODE_GET(DIEnumerator, (int64_t Value, bool IsUnsigned, MDString *Name),
426 (Value, IsUnsigned, Name))
H A DDIBuilder.h181 DIEnumerator *createEnumerator(StringRef Name, int64_t Val, bool IsUnsigned = false);
/freebsd-12.1/contrib/llvm/lib/Target/Mips/
H A DMipsFastISel.cpp200 unsigned getRegEnsuringSimpleIntegerWidening(const Value *, bool IsUnsigned);
641 bool IsUnsigned = CI->isUnsigned(); in emitCmp() local
642 unsigned LeftReg = getRegEnsuringSimpleIntegerWidening(Left, IsUnsigned); in emitCmp()
645 unsigned RightReg = getRegEnsuringSimpleIntegerWidening(Right, IsUnsigned); in emitCmp()
2091 bool IsUnsigned) { in getRegEnsuringSimpleIntegerWidening() argument
2102 if (!emitIntExt(VMVT, VReg, MVT::i32, TempReg, IsUnsigned)) in getRegEnsuringSimpleIntegerWidening()
/freebsd-12.1/contrib/llvm/tools/clang/lib/AST/
H A DTemplateBase.cpp92 Integer.IsUnsigned = Value.isUnsigned(); in TemplateArgument()
/freebsd-12.1/contrib/llvm/lib/Analysis/
H A DTargetTransformInfo.cpp582 bool IsUnsigned) const { in getMinMaxReductionCost()
584 TTIImpl->getMinMaxReductionCost(Ty, CondTy, IsPairwiseForm, IsUnsigned); in getMinMaxReductionCost()
/freebsd-12.1/contrib/llvm/lib/Bitcode/Reader/
H A DMetadataLoader.cpp1203 bool IsUnsigned = Record[0] & 2; in parseOneMetadata() local
1206 IsUnsigned, getMDString(Record[2]))), in parseOneMetadata()
/freebsd-12.1/contrib/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfUnit.cpp1360 bool IsUnsigned = DTy && isUnsignedDIType(DD, DTy); in constructEnumTypeDIE() local
1378 addConstantValue(Enumerator, IsUnsigned, Value); in constructEnumTypeDIE()
/freebsd-12.1/contrib/llvm/lib/Target/Mips/AsmParser/
H A DMipsAsmParser.cpp3665 bool ReverseOrderSLT, IsUnsigned, IsLikely, AcceptsEquality; in expandCondBranches() local
3743 IsUnsigned = in expandCondBranches()
3755 IsUnsigned = in expandCondBranches()
3767 IsUnsigned = in expandCondBranches()
3779 IsUnsigned = in expandCondBranches()
3855 if (IsUnsigned) { in expandCondBranches()
3906 TOut.emitRRR(IsUnsigned ? Mips::SLTu : Mips::SLT, ATRegNum, in expandCondBranches()

12