HomeSort by: relevance | last modified time | path
    Searched refs:Unsigned (Results 1 - 25 of 53) sorted by relevancy

1 2 3

  /src/external/apache2/llvm/dist/llvm/include/llvm/ADT/
Bitfields.h 11 /// unsigned integers.
37 /// // Note: enum underlying type must be unsigned.
46 /// // Store and retrieve a 5 bit value as unsigned.
47 /// using Value = Bitfield::Element<unsigned, 3, 5>;
94 template <typename T, unsigned Bits> struct BitPatterns {
95 /// Bit patterns are forged using the equivalent `Unsigned` type because of
97 /// Moreover same size casting from unsigned to signed is well defined but not
99 using Unsigned = typename std::make_unsigned<T>::type;
100 static_assert(sizeof(Unsigned) == sizeof(T), "Types must have same size");
102 static constexpr unsigned TypeBits = sizeof(Unsigned) * CHAR_BIT
    [all...]
APSInt.h 29 /// Create an APSInt with the specified width, default to unsigned.
82 void toString(SmallVectorImpl<char> &Str, unsigned Radix = 10) const {
87 std::string toString(unsigned Radix) const {
141 APSInt operator>>(unsigned Amt) const {
144 APSInt& operator>>=(unsigned Amt) {
198 APSInt operator<<(unsigned Bits) const {
201 APSInt& operator<<=(unsigned Amt) {
287 static APSInt getMaxValue(uint32_t numBits, bool Unsigned) {
288 return APSInt(Unsigned ? APInt::getMaxValue(numBits)
289 : APInt::getSignedMaxValue(numBits), Unsigned);
    [all...]
  /src/external/apache2/llvm/dist/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
APSIntType.h 24 APSIntType(uint32_t Width, bool Unsigned)
25 : BitWidth(Width), IsUnsigned(Unsigned) {}
87 /// for 'unsigned char' (u8).
97 /// Unsigned integers are considered to be better conversion types than
  /src/external/apache2/llvm/dist/clang/include/clang/ASTMatchers/Dynamic/
VariantValue.h 72 bool isConvertibleTo(ArgKind To, unsigned *Specificity) const;
140 unsigned *Specificity) const = 0;
200 bool isConvertibleTo(ASTNodeKind Kind, unsigned *Specificity) const {
251 /// - \c unsigned
265 VariantValue(unsigned Unsigned);
270 /// Constructs an \c unsigned value (disambiguation from bool).
271 VariantValue(int Signed) : VariantValue(static_cast<unsigned>(Signed)) {}
287 /// Unsigned value functions.
289 unsigned getUnsigned() const
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/ASTMatchers/Dynamic/
VariantValue.cpp 33 return "unsigned";
40 bool ArgKind::isConvertibleTo(ArgKind To, unsigned *Specificity) const {
48 unsigned Distance;
111 bool isConvertibleTo(ASTNodeKind Kind, unsigned *Specificity) const override {
168 bool isConvertibleTo(ASTNodeKind Kind, unsigned *Specificity) const override {
169 unsigned MaxSpecificity = 0;
171 unsigned ThisSpecificity;
211 bool isConvertibleTo(ASTNodeKind Kind, unsigned *Specificity) const override {
266 VariantValue::VariantValue(unsigned Unsigned) : Type(VT_Nothing)
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Target/NVPTX/
NVPTX.h 41 FunctionPass *createNVVMIntrRangePass(unsigned int SmVersion);
42 FunctionPass *createNVVMReflectPass(unsigned int SmVersion);
53 NVVMIntrRangePass(unsigned SmVersion) : SmVersion(SmVersion) {}
57 unsigned SmVersion;
62 NVVMReflectPass(unsigned SmVersion) : SmVersion(SmVersion) {}
66 unsigned SmVersion;
116 Unsigned = 0,
  /src/external/apache2/llvm/dist/llvm/include/llvm/Support/
ScaledNumber.h 54 static_assert(!std::numeric_limits<DigitsT>::is_signed, "expected unsigned");
81 static_assert(!std::numeric_limits<DigitsT>::is_signed, "expected unsigned");
115 static_assert(!std::numeric_limits<DigitsT>::is_signed, "expected unsigned");
154 static_assert(!std::numeric_limits<DigitsT>::is_signed, "expected unsigned");
189 static_assert(!std::numeric_limits<DigitsT>::is_signed, "expected unsigned");
252 static_assert(!std::numeric_limits<DigitsT>::is_signed, "expected unsigned");
288 static_assert(!std::numeric_limits<DigitsT>::is_signed, "expected unsigned");
334 static_assert(!std::numeric_limits<DigitsT>::is_signed, "expected unsigned");
374 static_assert(!std::numeric_limits<DigitsT>::is_signed, "expected unsigned");
425 unsigned Precision)
    [all...]
  /src/external/apache2/llvm/dist/clang/include/clang/Basic/
Specifiers.h 25 enum class ExplicitSpecKind : unsigned {
37 /// Specifies the signedness of a type, e.g., signed or unsigned.
38 enum class TypeSpecifierSign { Unspecified, Signed, Unsigned };
90 /*DeclSpec::TST*/ unsigned Type : 6;
91 /*DeclSpec::TSS*/ unsigned Sign : 2;
92 /*TypeSpecifierWidth*/ unsigned Width : 2;
93 unsigned ModeAttr : 1;
  /src/external/apache2/llvm/dist/llvm/lib/IR/
ConstantRange.cpp 65 // For unsigned ranges, or signed ranges with known sign bit, create a simple
191 unsigned BitWidth = V.getBitWidth();
206 unsigned BitWidth = V.getBitWidth();
233 unsigned NoWrapKind) {
242 bool Unsigned = NoWrapKind == OBO::NoUnsignedWrap;
243 unsigned BitWidth = Other.getBitWidth();
250 if (Unsigned)
262 if (Unsigned)
273 if (Unsigned)
293 if (Unsigned)
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/CodeGen/AsmPrinter/
DwarfUnit.h 146 /// Add an unsigned integer attribute data and value.
202 void addSourceLine(DIE &Die, unsigned Line, const DIFile *File);
213 void addConstantValue(DIE &Die, const APInt &Val, bool Unsigned);
215 void addConstantValue(DIE &Die, bool Unsigned, uint64_t Val);
268 virtual unsigned getHeaderSize() const {
308 virtual unsigned getOrCreateSourceID(const DIFile *File) = 0;
358 unsigned getOrCreateSourceID(const DIFile *File) override;
371 unsigned getHeaderSize() const override {
DwarfUnit.cpp 79 unsigned DIEDwarfExpression::getTemporaryBufferSize() {
275 unsigned Index = StringPoolEntry.getIndex();
300 unsigned DwarfTypeUnit::getOrCreateSourceID(const DIFile *File) {
413 void DwarfUnit::addSourceLine(DIE &Die, unsigned Line, const DIFile *File) {
417 unsigned FileID = getOrCreateSourceID(File);
459 // Pass this down to addConstantValue as an unsigned bag of bits.
472 void DwarfUnit::addConstantValue(DIE &Die, bool Unsigned, uint64_t Val) {
476 Unsigned ? dwarf::DW_FORM_udata : dwarf::DW_FORM_sdata, Val);
483 void DwarfUnit::addConstantValue(DIE &Die, const APInt &Val, bool Unsigned) {
484 unsigned CIBitWidth = Val.getBitWidth()
    [all...]
  /src/external/apache2/llvm/dist/llvm/include/llvm/IR/
ConstantRange.h 27 // unsigned ranges.
92 /// unsigned domain.
149 unsigned NoWrapKind);
155 unsigned NoWrapKind);
186 /// Return true if this set wraps around the unsigned domain. Special cases:
192 /// Return true if the exclusive upper bound wraps around the unsigned
248 /// Return the largest unsigned value contained in the ConstantRange.
251 /// Return the smallest unsigned value contained in the ConstantRange.
270 unsigned getActiveBits() const;
274 unsigned getMinSignedBits() const
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Target/NVPTX/MCTargetDesc/
NVPTXInstPrinter.cpp 34 void NVPTXInstPrinter::printRegName(raw_ostream &OS, unsigned RegNo) const {
37 unsigned RCId = (RegNo >> 28);
71 unsigned VReg = RegNo & 0x0FFFFFFF;
84 void NVPTXInstPrinter::printOperand(const MCInst *MI, unsigned OpNo,
88 unsigned Reg = Op.getReg();
254 else if (Imm == NVPTX::PTXLdStInstCode::Unsigned)
  /src/external/gpl3/gcc/dist/libgcc/config/microblaze/
udivsi3.S 28 # Unsigned divide operation.
umodsi3.S 28 # Unsigned modulo operation for 32 bit integers.
  /src/external/gpl3/gcc.old/dist/libgcc/config/microblaze/
udivsi3.S 28 # Unsigned divide operation.
umodsi3.S 28 # Unsigned modulo operation for 32 bit integers.
  /src/external/apache2/llvm/dist/llvm/lib/Target/ARM/
MVEGatherScatterLowering.cpp 80 bool isLegalTypeAndAlignment(unsigned NumElements, unsigned ElemSize,
90 int computeScale(unsigned GEPElemSize, unsigned MemoryElemSize);
133 Value *Ptr, unsigned TypeScale,
143 void pushOutAdd(PHINode *&Phi, Value *OffsSecondOperand, unsigned StartIndex);
146 Value *OffsSecondOperand, unsigned LoopIncrement,
161 bool MVEGatherScatterLowering::isLegalTypeAndAlignment(unsigned NumElements,
162 unsigned ElemSize,
175 static bool checkOffsetSize(Value *Offsets, unsigned TargetElemCount)
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/Sema/
DeclSpec.cpp 164 unsigned NumParams,
175 unsigned NumExceptions,
250 for (unsigned i = 0; i < NumParams; i++)
262 for (unsigned i = 0; i != NumExceptions; ++i) {
326 for (unsigned i = 0, i_end = DeclTypeInfo.size(); i < i_end; ++i) {
451 unsigned DeclSpec::getParsedSpecifiers() const {
452 unsigned Res = 0;
471 unsigned &DiagID,
535 case TypeSpecifierSign::Unsigned:
536 return "unsigned";
    [all...]
SemaChecking.cpp 107 unsigned ByteNo) const {
114 static bool checkArgCount(Sema &S, CallExpr *call, unsigned desiredArgCount) {
115 unsigned argCount = call->getNumArgs();
211 static bool SemaBuiltinAlignment(Sema &S, CallExpr *TheCall, unsigned ID) {
242 unsigned MaxAlignmentBits = S.Context.getIntWidth(SrcTy) - 1;
290 unsigned BuiltinID) {
295 for (unsigned I = 0; I < 2; ++I) {
331 for (unsigned I = 0; I < 3; ++I) {
421 const char *, unsigned SpecifierLen) override {
603 unsigned BuiltinID = FD->getBuiltinID(/*ConsiderWrappers=*/true)
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/AST/
ASTContext.cpp 202 const std::map<unsigned, RawComment *> &CommentsInTheFile) const {
215 const std::pair<FileID, unsigned> DeclLocDecomp =
256 const unsigned CommentEndOffset =
585 for (unsigned i = 0, e = Overridden.size(); i < e; i++)
694 for (unsigned I = 0, N = NTTP->getNumExpansionTypes(); I != N; ++I) {
789 llvm::Optional<unsigned>(TTP->getNumExpansionParameters()) : None);
817 for (unsigned I = 0, N = NTTP->getNumExpansionTypes(); I != N; ++I) {
927 static const unsigned FakeAddrSpaceMap[] = {
1040 unsigned counts[] = {
1047 for (unsigned i = 0, e = Types.size(); i != e; ++i)
    [all...]
  /src/external/gpl3/gcc.old/dist/libphobos/src/std/
traits.d 136 * $(LREF Unsigned)
5887 static assert(0, T.stringof~" is not an unsigned type.");
6248 enum EU : uint { a = 0, b = 1, c = 2 } // base type is unsigned
6449 * Detect whether `T` is a built-in unsigned numeric type.
8047 The corresponding unsigned numeric type for `T` with the
8052 template Unsigned(T)
8070 " does not have an Unsigned counterpart");
8073 alias Unsigned = ModifyTypePreservingTQ!(Impl, OriginalType!T);
8079 static assert(is(Unsigned!(int) == uint));
8080 static assert(is(Unsigned!(long) == ulong))
    [all...]
conv.d 27 $(LREF unsigned)
214 For conversion _to unsigned types, the grammar recognized is:
404 * $(LI Unsigned or signed integers _to strings.
556 { // unsigned to signed & same size
562 { // signed to unsigned
593 alias U = Unsigned!S;
614 alias U1 = Unsigned!S1;
615 alias U2 = Unsigned!S2;
619 // small unsigned to big signed
628 // big unsigned to small signe
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/FileCheck/
FileCheck.cpp 35 case Kind::Unsigned:
57 case Kind::Unsigned:
101 case Kind::Unsigned:
117 unsigned LeadingZeros = Precision - AbsoluteValueStr.size();
162 // signed is implementation-defined if the unsigned value is too big to be
541 Name, ExpressionFormat(ExpressionFormat::Kind::Unsigned));
596 // Accept both signed and unsigned literal, default to signed literal.
755 const unsigned NumArgs = Args.size();
775 unsigned Precision = 0;
807 ExpressionFormat(ExpressionFormat::Kind::Unsigned, Precision)
    [all...]
FileCheckImpl.h 44 /// Value is an unsigned integer and should be printed as a decimal number.
45 Unsigned,
56 unsigned Precision = 0;
84 explicit ExpressionFormat(Kind Value, unsigned Precision)
86 explicit ExpressionFormat(Kind Value, unsigned Precision, bool AlternateForm)
148 /// \returns the value as an unsigned integer or an error if the value is out
152 /// \returns an unsigned ExpressionValue instance whose value is the absolute
198 /// Class representing an unsigned literal in the AST of an expression.
644 std::map<StringRef, unsigned> VariableDefs;
657 unsigned CaptureParenGroup
    [all...]

Completed in 74 milliseconds

1 2 3