Searched refs:IsUnsigned (Results 1 - 25 of 39) sorted by relevance

12

/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/ADT/
H A DAPSInt.h22 bool IsUnsigned; member in class:llvm::APSInt
26 explicit APSInt() : IsUnsigned(false) {}
31 : APInt(BitWidth, 0), IsUnsigned(isUnsigned) {}
34 : APInt(std::move(I)), IsUnsigned(isUnsigned) {}
76 bool isSigned() const { return !IsUnsigned; }
77 bool isUnsigned() const { return IsUnsigned; }
78 void setIsUnsigned(bool Val) { IsUnsigned = Val; }
79 void setIsSigned(bool Val) { IsUnsigned = !Val; }
99 return APSInt(APInt::trunc(width), IsUnsigned);
103 if (IsUnsigned)
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DAPSIntType.h21 bool IsUnsigned; member in class:clang::ento::APSIntType
25 : BitWidth(Width), IsUnsigned(Unsigned) {}
28 : BitWidth(Value.getBitWidth()), IsUnsigned(Value.isUnsigned()) {}
31 bool isUnsigned() const { return IsUnsigned; }
41 Value.setIsUnsigned(IsUnsigned);
56 return llvm::APSInt(BitWidth, IsUnsigned);
61 return llvm::APSInt::getMinValue(BitWidth, IsUnsigned);
66 return llvm::APSInt::getMaxValue(BitWidth, IsUnsigned);
70 return (llvm::APSInt(BitWidth, IsUnsigned) = RawValue);
92 return BitWidth == Other.BitWidth && IsUnsigned
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DAPSIntType.cpp19 if (IsUnsigned && !AllowSignConversions &&
25 if (Value.isSigned() && !IsUnsigned)
36 MinBits = Value.getMinSignedBits() - IsUnsigned;
38 MinBits = Value.getActiveBits() + !IsUnsigned;
H A DRangeConstraintManager.cpp457 bool IsUnsigned = T->isUnsignedIntegerType(); local
463 if (Operator == BO_Or && IsUnsigned)
473 if (Operator == BO_And && (IsUnsigned || RHS >= Zero))
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Support/
H A DAPSInt.cpp40 ID.AddInteger((unsigned) (IsUnsigned ? 1 : 0));
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Basic/
H A DTargetBuiltins.h136 NeonTypeFlags(EltType ET, bool IsUnsigned, bool IsQuad) : Flags(ET) { argument
137 if (IsUnsigned)
/freebsd-11-stable/contrib/llvm-project/clang/lib/Basic/
H A DFixedPoint.cpp115 bool IsUnsigned = !Sema.isSigned(); local
116 auto Val = llvm::APSInt::getMaxValue(Sema.getWidth(), IsUnsigned);
117 if (IsUnsigned && Sema.hasUnsignedPadding())
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/AST/
H A DTemplateBase.h107 unsigned IsUnsigned : 1; member in struct:clang::TemplateArgument::I
306 return APSInt(APInt(Integer.BitWidth, Integer.VAL), Integer.IsUnsigned);
310 Integer.IsUnsigned);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsExpandPseudo.cpp344 bool IsUnsigned = false; local
392 IsUnsigned = true;
400 IsUnsigned = true;
457 unsigned SLTScratch4 = IsUnsigned ? SLTu : SLT;
645 bool IsUnsigned = false; local
696 IsUnsigned = true;
704 IsUnsigned = true;
743 unsigned SLTScratch2 = IsUnsigned ? SLTu : SLT;
H A DMipsFastISel.cpp199 unsigned getRegEnsuringSimpleIntegerWidening(const Value *, bool IsUnsigned);
640 bool IsUnsigned = CI->isUnsigned(); local
641 unsigned LeftReg = getRegEnsuringSimpleIntegerWidening(Left, IsUnsigned);
644 unsigned RightReg = getRegEnsuringSimpleIntegerWidening(Right, IsUnsigned);
2096 bool IsUnsigned) {
2107 if (!emitIntExt(VMVT, VReg, MVT::i32, TempReg, IsUnsigned))
2095 getRegEnsuringSimpleIntegerWidening(const Value *V, bool IsUnsigned) argument
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUTargetTransformInfo.h229 bool IsUnsigned);
H A DSIShrinkInstructions.cpp142 bool &IsUnsigned) {
144 IsUnsigned = false;
149 IsUnsigned = true;
140 isKImmOrKUImmOperand(const SIInstrInfo *TII, const MachineOperand &Src, bool &IsUnsigned) argument
H A DAMDGPUTargetTransformInfo.cpp537 bool IsUnsigned) {
545 return BaseT::getMinMaxReductionCost(Ty, CondTy, IsPairwise, IsUnsigned);
535 getMinMaxReductionCost(Type *Ty, Type *CondTy, bool IsPairwise, bool IsUnsigned) argument
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86TargetTransformInfo.h158 bool IsUnsigned);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/IR/
H A DLLVMContextImpl.h360 bool IsUnsigned; member in struct:llvm::MDNodeKeyImpl
362 MDNodeKeyImpl(int64_t Value, bool IsUnsigned, MDString *Name) argument
363 : Value(Value), Name(Name), IsUnsigned(IsUnsigned) {}
366 IsUnsigned(N->isUnsigned()) {}
369 return Value == RHS->getValue() && IsUnsigned == RHS->isUnsigned() &&
H A DDebugInfoMetadata.cpp336 bool IsUnsigned, MDString *Name,
339 DEFINE_GETIMPL_LOOKUP(DIEnumerator, (Value, IsUnsigned, Name));
341 DEFINE_GETIMPL_STORE(DIEnumerator, (Value, IsUnsigned), Ops);
335 getImpl(LLVMContext &Context, int64_t Value, bool IsUnsigned, MDString *Name, StorageType Storage, bool ShouldCreate) argument
H A DDIBuilder.cpp246 bool IsUnsigned) {
248 return DIEnumerator::get(VMContext, Val, IsUnsigned, Name);
245 createEnumerator(StringRef Name, int64_t Val, bool IsUnsigned) argument
H A DDebugInfo.cpp955 LLVMBool IsUnsigned) {
957 IsUnsigned != 0));
952 LLVMDIBuilderCreateEnumerator(LLVMDIBuilderRef Builder, const char *Name, size_t NameLen, int64_t Value, LLVMBool IsUnsigned) argument
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DTargetTransformInfo.h998 bool IsUnsigned) const;
1349 bool IsPairwiseForm, bool IsUnsigned) = 0;
1773 bool IsPairwiseForm, bool IsUnsigned) override {
1774 return Impl.getMinMaxReductionCost(Ty, CondTy, IsPairwiseForm, IsUnsigned);
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/IR/
H A DDebugInfoMetadata.h353 bool IsUnsigned, ArrayRef<Metadata *> Ops)
356 SubclassData32 = IsUnsigned;
361 bool IsUnsigned, StringRef Name,
363 return getImpl(Context, Value, IsUnsigned,
367 bool IsUnsigned, MDString *Name,
375 DEFINE_MDNODE_GET(DIEnumerator, (int64_t Value, bool IsUnsigned, StringRef Name),
376 (Value, IsUnsigned, Name))
377 DEFINE_MDNODE_GET(DIEnumerator, (int64_t Value, bool IsUnsigned, MDString *Name),
378 (Value, IsUnsigned, Name))
352 DIEnumerator(LLVMContext &C, StorageType Storage, int64_t Value, bool IsUnsigned, ArrayRef<Metadata *> Ops) argument
360 getImpl(LLVMContext &Context, int64_t Value, bool IsUnsigned, StringRef Name, StorageType Storage, bool ShouldCreate = true) argument
H A DDIBuilder.h180 DIEnumerator *createEnumerator(StringRef Name, int64_t Val, bool IsUnsigned = false);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyISelLowering.cpp347 bool IsUnsigned, bool Int64,
362 int64_t Substitute = IsUnsigned ? 0 : Limit;
363 double CmpVal = IsUnsigned ? -(double)Limit * 2.0 : -(double)Limit;
398 if (IsUnsigned) {
408 if (IsUnsigned) {
344 LowerFPToInt(MachineInstr &MI, DebugLoc DL, MachineBasicBlock *BB, const TargetInstrInfo &TII, bool IsUnsigned, bool Int64, bool Float64, unsigned LoweredOpcode) argument
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm-c/
H A DDebugInfo.h574 * @param IsUnsigned True if the value is unsigned.
579 LLVMBool IsUnsigned);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Analysis/
H A DTargetTransformInfo.cpp742 bool IsUnsigned) const {
744 TTIImpl->getMinMaxReductionCost(Ty, CondTy, IsPairwiseForm, IsUnsigned);
1258 /*IsPairwiseForm=*/false, /*IsUnsigned=*/false);
1262 /*IsPairwiseForm=*/false, /*IsUnsigned=*/true);
1274 /*IsPairwiseForm=*/true, /*IsUnsigned=*/false);
1278 /*IsPairwiseForm=*/true, /*IsUnsigned=*/true);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfUnit.cpp1421 bool IsUnsigned = DTy && isUnsignedDIType(DD, DTy); local
1442 addConstantValue(Enumerator, IsUnsigned, Value);

Completed in 673 milliseconds

12