Home
last modified time | relevance | path

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

/external/llvm/include/llvm/ADT/
DPointerIntPair.h39 template <typename PointerTy, unsigned IntBits, typename IntType=unsigned,
60 PointerIntPair(PointerTy PtrVal, IntType IntVal) { in PointerIntPair()
74 IntType getInt() const { in getInt()
75 return (IntType)((Value >> IntShift) & IntMask); in getInt()
87 void setInt(IntType IntVal) { in setInt()
104 void setPointerAndInt(PointerTy PtrVal, IntType IntVal) { in setPointerAndInt()
149 template<typename PointerTy, unsigned IntBits, typename IntType>
150 struct isPodLike<PointerIntPair<PointerTy, IntBits, IntType> > {
155 template<typename PointerTy, unsigned IntBits, typename IntType>
156 struct DenseMapInfo<PointerIntPair<PointerTy, IntBits, IntType> > {
[all …]
/external/clang/include/clang/Basic/
DTargetInfo.h113 enum IntType { enum
173 IntType SizeType, IntMaxType, UIntMaxType, PtrDiffType, IntPtrType, WCharType,
203 IntType getSizeType() const { return SizeType; } in getSizeType()
204 IntType getIntMaxType() const { return IntMaxType; } in getIntMaxType()
205 IntType getUIntMaxType() const { return UIntMaxType; } in getUIntMaxType()
206 IntType getPtrDiffType(unsigned AddrSpace) const { in getPtrDiffType()
209 IntType getIntPtrType() const { return IntPtrType; } in getIntPtrType()
210 IntType getWCharType() const { return WCharType; } in getWCharType()
211 IntType getWIntType() const { return WIntType; } in getWIntType()
212 IntType getChar16Type() const { return Char16Type; } in getChar16Type()
[all …]
/external/chromium_org/content/browser/renderer_host/media/
Dvideo_capture_device_impl.h24 template<typename IntType>
25 IntType MakeEven(IntType x) { in MakeEven()
26 return x & static_cast<IntType>(-2); in MakeEven()
/external/llvm/include/llvm/Support/
DIntegersSubset.h178 template<class IntType>
181 IntType Low;
182 IntType High;
187 typedef IntRange<IntType> self;
194 IntRange(const IntType &C) : in IntRange()
197 IntRange(const IntType &L, const IntType &H) : Low(L), High(H), in IntRange()
203 const IntType& getLow() const { in getLow()
207 const IntType& getHigh() const { in getHigh()
239 bool isInRange(const IntType &IntVal) const { in isInRange()
261 IntType NewHigh = RHS.Low; in sub()
[all …]
/external/chromium_org/sdch/open-vcdiff/src/
Dtesting.h162 template<typename IntType>
163 inline IntType PortableRandomInRange(IntType limit) { in PortableRandomInRange()
175 return static_cast<IntType>(limit * scaled_value); in PortableRandomInRange()
/external/chromium/sdch/open-vcdiff/src/
Dtesting.h162 template<typename IntType>
163 inline IntType PortableRandomInRange(IntType limit) { in PortableRandomInRange()
175 return static_cast<IntType>(limit * scaled_value); in PortableRandomInRange()
/external/open-vcdiff/src/
Dtesting.h162 template<typename IntType>
163 inline IntType PortableRandomInRange(IntType limit) { in PortableRandomInRange()
175 return static_cast<IntType>(limit * scaled_value); in PortableRandomInRange()
/external/chromium_org/third_party/tcmalloc/vendor/src/
Dpacked-cache-inl.h124 #define N_ONES_(IntType, N) \ argument
125 ( (N) == 0 ? 0 : ((static_cast<IntType>(1) << ((N)-1))-1 + \
126 (static_cast<IntType>(1) << ((N)-1))) )
/external/chromium_org/third_party/tcmalloc/chromium/src/
Dpacked-cache-inl.h124 #define N_ONES_(IntType, N) \ argument
125 ( (N) == 0 ? 0 : ((static_cast<IntType>(1) << ((N)-1))-1 + \
126 (static_cast<IntType>(1) << ((N)-1))) )
/external/chromium_org/third_party/angle/src/compiler/preprocessor/
Dnumeric_lex.h36 template<typename IntType>
37 bool numeric_lex_int(const std::string& str, IntType* value) in numeric_lex_int()
/external/chromium_org/third_party/harfbuzz-ng/src/
Dhb-open-type-private.hh558 struct IntType struct
562 inline bool operator == (const IntType<Type,Size> &o) const { return v == o.v; } in operator ==() argument
563 inline bool operator != (const IntType<Type,Size> &o) const { return v != o.v; } in operator !=() argument
564 …static inline int cmp (const IntType<Type,Size> *a, const IntType<Type,Size> *b) { return b->cmp (… in cmp() argument
565 …inline int cmp (IntType<Type,Size> va) const { Type a = va; Type b = v; return a < b ? -1 : a == b… in cmp() argument
577 typedef IntType<uint16_t, 2> USHORT; /* 16-bit unsigned integer. */
578 typedef IntType<int16_t, 2> SHORT; /* 16-bit signed integer. */
579 typedef IntType<uint32_t, 4> ULONG; /* 32-bit unsigned integer. */
580 typedef IntType<int32_t, 4> LONG; /* 32-bit signed integer. */
581 typedef IntType<uint32_t, 3> UINT24; /* 24-bit unsigned integer. */
/external/chromium_org/third_party/WebKit/Source/wtf/
DTCPackedCache.h120 #define N_ONES_(IntType, N) \ argument
121 ( (N) == 0 ? 0 : ((static_cast<IntType>(1) << ((N)-1))-1 + \
122 (static_cast<IntType>(1) << ((N)-1))) )
/external/clang/lib/Basic/
DTargetInfo.cpp102 const char *TargetInfo::getTypeName(IntType T) { in getTypeName()
118 const char *TargetInfo::getTypeConstantSuffix(IntType T) { in getTypeConstantSuffix()
134 unsigned TargetInfo::getTypeWidth(IntType T) const { in getTypeWidth()
150 unsigned TargetInfo::getTypeAlign(IntType T) const { in getTypeAlign()
166 bool TargetInfo::isTypeSigned(IntType T) { in isTypeSigned()
/external/harfbuzz_ng/src/
Dhb-open-type-private.hh558 struct IntType struct
562 inline bool operator == (const IntType<Type,Size> &o) const { return v == o.v; } in operator ==() argument
563 inline bool operator != (const IntType<Type,Size> &o) const { return v != o.v; } in operator !=() argument
564 …static inline int cmp (const IntType<Type,Size> *a, const IntType<Type,Size> *b) { return b->cmp (… in cmp() argument
565 …inline int cmp (IntType<Type,Size> va) const { Type a = va; Type b = v; return a < b ? -1 : a == b… in cmp() argument
577 typedef IntType<uint16_t, 2> USHORT; /* 16-bit unsigned integer. */
578 typedef IntType<int16_t, 2> SHORT; /* 16-bit signed integer. */
579 typedef IntType<uint32_t, 4> ULONG; /* 32-bit unsigned integer. */
580 typedef IntType<int32_t, 4> LONG; /* 32-bit signed integer. */
581 typedef IntType<uint32_t, 3> UINT24; /* 24-bit unsigned integer. */
/external/llvm/utils/
Dllvm.grm69 IntType ::= INTTYPE;
362 | switch IntType ValueRef ^ "," label ValueRef "[" JumpTable "]"
363 | switch IntType ValueRef ^ "," label ValueRef "[" ^ "]"
370 JumpTable ::= JumpTable IntType ConstValueRef ^ "," label ValueRef
371 | IntType ConstValueRef ^ "," label ValueRef ;
/external/clang/lib/StaticAnalyzer/Core/
DRangeConstraintManager.cpp353 APSIntType IntType = BV.getAPSIntType(Sym->getType()); in checkNull() local
354 llvm::APSInt Zero = IntType.getZeroValue(); in checkNull()
396 APSIntType IntType = BV.getAPSIntType(T); in GetRange() local
397 Result = Result.Intersect(BV, F, ++IntType.getZeroValue(), in GetRange()
398 --IntType.getZeroValue()); in GetRange()
DSimpleSValBuilder.cpp352 APSIntType IntType = BasicVals.getAPSIntType(resultTy); in evalBinOpNN() local
353 IntType.apply(LHSValue); in evalBinOpNN()
354 IntType.apply(RHSValue); in evalBinOpNN()
467 APSIntType IntType = BasicVals.getAPSIntType(resultTy); in evalBinOpNN() local
468 const llvm::APSInt &first = IntType.convert(symIntExpr->getRHS()); in evalBinOpNN()
469 const llvm::APSInt &second = IntType.convert(*RHSValue); in evalBinOpNN()
/external/clang/lib/AST/
DItaniumCXXABI.cpp39 TargetInfo::IntType PtrDiff = Target.getPtrDiffType(0); in getMemberPointerWidthAndAlign()
/external/clang/lib/Frontend/
DInitPreprocessor.cpp180 static void DefineTypeSize(StringRef MacroName, TargetInfo::IntType Ty, in DefineTypeSize()
186 static void DefineType(const Twine &MacroName, TargetInfo::IntType Ty, in DefineType()
191 static void DefineTypeWidth(StringRef MacroName, TargetInfo::IntType Ty, in DefineTypeWidth()
202 static void DefineExactWidthIntType(TargetInfo::IntType Ty, in DefineExactWidthIntType()
/external/chromium_org/net/tools/testserver/
Dasn1.py23 if type(obj) == types.IntType or type(obj) == types.LongType:
/external/clang/lib/CodeGen/
DCGBuiltin.cpp56 QualType T, llvm::IntegerType *IntType) { in EmitToInt() argument
60 return CGF.Builder.CreatePtrToInt(V, IntType); in EmitToInt()
62 assert(V->getType() == IntType); in EmitToInt()
91 llvm::IntegerType *IntType = in EmitBinaryAtomic() local
94 llvm::Type *IntPtrType = IntType->getPointerTo(AddrSpace); in EmitBinaryAtomic()
100 Args[1] = EmitToInt(CGF, Args[1], T, IntType); in EmitBinaryAtomic()
125 llvm::IntegerType *IntType = in EmitBinaryAtomicPost() local
128 llvm::Type *IntPtrType = IntType->getPointerTo(AddrSpace); in EmitBinaryAtomicPost()
133 Args[1] = EmitToInt(CGF, Args[1], T, IntType); in EmitBinaryAtomicPost()
951 llvm::IntegerType *IntType = in EmitBuiltinExpr() local
[all …]
/external/llvm/lib/Analysis/
DConstantFolding.cpp382 IntegerType *IntType = dyn_cast<IntegerType>(LoadTy); in FoldReinterpretLoadFromConstPtr() local
385 if (!IntType) { in FoldReinterpretLoadFromConstPtr()
410 unsigned BytesLoaded = (IntType->getBitWidth() + 7) / 8; in FoldReinterpretLoadFromConstPtr()
430 return UndefValue::get(IntType); in FoldReinterpretLoadFromConstPtr()
437 APInt ResultVal = APInt(IntType->getBitWidth(), 0); in FoldReinterpretLoadFromConstPtr()
452 return ConstantInt::get(IntType->getContext(), ResultVal); in FoldReinterpretLoadFromConstPtr()
/external/protobuf/src/google/protobuf/
Dtext_format.cc1135 template<typename IntType>
1136 static string PaddedHex(IntType value) { in PaddedHex()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCalls.cpp91 IntegerType* IntType = IntegerType::get(MI->getContext(), Size<<3); in SimplifyMemTransfer() local
92 Type *NewSrcPtrTy = PointerType::get(IntType, SrcAddrSp); in SimplifyMemTransfer()
93 Type *NewDstPtrTy = PointerType::get(IntType, DstAddrSp); in SimplifyMemTransfer()
/external/chromium_org/third_party/protobuf/src/google/protobuf/
Dtext_format.cc1415 template<typename IntType>
1416 static string PaddedHex(IntType value) { in PaddedHex()