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

/external/swiftshader/third_party/LLVM/include/llvm/ADT/
H A DAPSInt.h23 bool IsUnsigned; member in class:llvm::APSInt
31 : APInt(BitWidth, 0), IsUnsigned(isUnsigned) {}
34 : APInt(I), IsUnsigned(isUnsigned) {}
38 IsUnsigned = RHS.IsUnsigned;
55 bool isSigned() const { return !IsUnsigned; }
56 bool isUnsigned() const { return IsUnsigned; }
57 void setIsUnsigned(bool Val) { IsUnsigned = Val; }
58 void setIsSigned(bool Val) { IsUnsigned = !Val; }
72 return APSInt(APInt::trunc(width), IsUnsigned);
[all...]
/external/llvm/include/llvm/ADT/
H A DAPSInt.h23 bool IsUnsigned; member in class:llvm::APSInt
27 explicit APSInt() : IsUnsigned(false) {}
32 : APInt(BitWidth, 0), IsUnsigned(isUnsigned) {}
35 : APInt(std::move(I)), IsUnsigned(isUnsigned) {}
59 bool isSigned() const { return !IsUnsigned; }
60 bool isUnsigned() const { return IsUnsigned; }
61 void setIsUnsigned(bool Val) { IsUnsigned = Val; }
62 void setIsSigned(bool Val) { IsUnsigned = !Val; }
82 return APSInt(APInt::trunc(width), IsUnsigned);
86 if (IsUnsigned)
[all...]
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DAPSIntType.h22 bool IsUnsigned; member in class:clang::ento::APSIntType
26 : BitWidth(Width), IsUnsigned(Unsigned) {}
29 : BitWidth(Value.getBitWidth()), IsUnsigned(Value.isUnsigned()) {}
32 bool isUnsigned() const { return IsUnsigned; }
42 Value.setIsUnsigned(IsUnsigned);
57 return llvm::APSInt(BitWidth, IsUnsigned);
62 return llvm::APSInt::getMinValue(BitWidth, IsUnsigned);
67 return llvm::APSInt::getMaxValue(BitWidth, IsUnsigned);
71 return (llvm::APSInt(BitWidth, IsUnsigned) = RawValue);
93 return BitWidth == Other.BitWidth && IsUnsigned
[all...]
/external/clang/lib/StaticAnalyzer/Core/
H A DAPSIntType.cpp20 if (IsUnsigned && !AllowSignConversions &&
26 if (Value.isSigned() && !IsUnsigned)
37 MinBits = Value.getMinSignedBits() - IsUnsigned;
39 MinBits = Value.getActiveBits() + !IsUnsigned;
/external/swiftshader/third_party/LLVM/lib/Support/
H A DAPSInt.cpp21 ID.AddInteger((unsigned) (IsUnsigned ? 1 : 0));
/external/llvm/lib/Support/
H A DAPSInt.cpp31 *this = APSInt(Tmp, /*IsUnsigned=*/false);
37 *this = APSInt(Tmp, /*IsUnsigned=*/true);
41 ID.AddInteger((unsigned) (IsUnsigned ? 1 : 0));
/external/clang/include/clang/Basic/
H A DTargetBuiltins.h123 NeonTypeFlags(EltType ET, bool IsUnsigned, bool IsQuad) : Flags(ET) { argument
124 if (IsUnsigned)
/external/clang/include/clang/AST/
H A DTemplateBase.h89 unsigned IsUnsigned : 1; member in struct:clang::TemplateArgument::I
286 return APSInt(APInt(Integer.BitWidth, Integer.VAL), Integer.IsUnsigned);
290 Integer.IsUnsigned);
/external/v8/src/
H A Dmachine-type.h81 bool IsUnsigned() { function in class:v8::internal::MachineRepresentation::MachineType
/external/v8/src/compiler/mips64/
H A Dinstruction-selector-mips64.cc367 opcode = load_rep.IsUnsigned() ? kMips64Lbu : kMips64Lb;
370 opcode = load_rep.IsUnsigned() ? kMips64Lhu : kMips64Lh;
373 opcode = load_rep.IsUnsigned() ? kMips64Lwu : kMips64Lw;
1312 opcode = load_rep.IsUnsigned() ? kMips64Lbu : kMips64Lb;
1315 opcode = load_rep.IsUnsigned() ? kMips64Lhu : kMips64Lh;
1347 if (load_rep.IsUnsigned()) {
1740 opcode = load_rep.IsUnsigned() ? kMips64Ulhu : kMips64Ulh;
1743 opcode = load_rep.IsUnsigned() ? kMips64Ulwu : kMips64Ulw;
2085 return load_rep.IsUnsigned();
2089 return load_rep.IsUnsigned();
[all...]
/external/llvm/lib/Target/Mips/
H A DMipsFastISel.cpp151 unsigned getRegEnsuringSimpleIntegerWidening(const Value *, bool IsUnsigned);
597 bool IsUnsigned = CI->isUnsigned(); local
598 unsigned LeftReg = getRegEnsuringSimpleIntegerWidening(Left, IsUnsigned);
601 unsigned RightReg = getRegEnsuringSimpleIntegerWidening(Right, IsUnsigned);
1841 bool IsUnsigned) {
1848 if (!emitIntExt(VMVT, VReg, MVT::i32, TempReg, IsUnsigned))
1840 getRegEnsuringSimpleIntegerWidening(const Value *V, bool IsUnsigned) argument
/external/v8/src/compiler/mips/
H A Dinstruction-selector-mips.cc254 opcode = load_rep.IsUnsigned() ? kMipsLbu : kMipsLb;
257 opcode = load_rep.IsUnsigned() ? kMipsLhu : kMipsLh;
1191 opcode = load_rep.IsUnsigned() ? kMipsUlhu : kMipsUlh;
/external/llvm/lib/Target/Mips/AsmParser/
H A DMipsAsmParser.cpp2766 bool ReverseOrderSLT, IsUnsigned, IsLikely, AcceptsEquality; local
2844 IsUnsigned = ((PseudoOpcode == Mips::BLTU) || (PseudoOpcode == Mips::BLTUL));
2855 IsUnsigned = ((PseudoOpcode == Mips::BLEU) || (PseudoOpcode == Mips::BLEUL));
2866 IsUnsigned = ((PseudoOpcode == Mips::BGEU) || (PseudoOpcode == Mips::BGEUL));
2877 IsUnsigned = ((PseudoOpcode == Mips::BGTU) || (PseudoOpcode == Mips::BGTUL));
2952 if (IsUnsigned) {
3003 TOut.emitRRR(IsUnsigned ? Mips::SLTu : Mips::SLT, ATRegNum,
/external/v8/src/compiler/arm/
H A Dinstruction-selector-arm.cc418 opcode = load_rep.IsUnsigned() ? kArmLdrb : kArmLdrsb;
421 opcode = load_rep.IsUnsigned() ? kArmLdrh : kArmLdrsh;
/external/clang/lib/Sema/
H A DSemaOpenMP.cpp4079 bool IsUnsigned = !NewStep->getType()->hasSignedIntegerRepresentation();
4086 (TestIsLessOp ? (IsConstNeg || (IsUnsigned && Subtract))
4087 : (IsConstPos || (IsUnsigned && !Subtract))))) {

Completed in 621 milliseconds