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

/external/llvm/include/llvm/ADT/
H A DPointerIntPair.h39 template <typename PointerTy, unsigned IntBits, typename IntType=unsigned,
60 PointerIntPair(PointerTy Ptr, IntType Int) {
74 IntType getInt() const {
75 return (IntType)((Value >> IntShift) & IntMask);
87 void setInt(IntType Int) {
104 void setPointerAndInt(PointerTy Ptr, IntType Int) {
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/
H A DTargetInfo.h112 enum IntType { enum in class:clang::TargetInfo
163 IntType SizeType, IntMaxType, UIntMaxType, PtrDiffType, IntPtrType, WCharType,
193 IntType getSizeType() const { return SizeType; }
194 IntType getIntMaxType() const { return IntMaxType; }
195 IntType getUIntMaxType() const { return UIntMaxType; }
196 IntType getPtrDiffType(unsigned AddrSpace) const {
199 IntType getIntPtrType() const { return IntPtrType; }
200 IntType getWCharType() const { return WCharType; }
201 IntType getWIntType() const { return WIntType; }
202 IntType getChar16Typ
[all...]
/external/chromium/sdch/open-vcdiff/src/
H A Dtesting.h156 // This function returns a pseudo-random value of type IntType between 0 and
162 template<typename IntType>
163 inline IntType PortableRandomInRange(IntType limit) {
175 return static_cast<IntType>(limit * scaled_value);
/external/open-vcdiff/src/
H A Dtesting.h156 // This function returns a pseudo-random value of type IntType between 0 and
162 template<typename IntType>
163 inline IntType PortableRandomInRange(IntType limit) {
175 return static_cast<IntType>(limit * scaled_value);
/external/webkit/Source/JavaScriptCore/wtf/
H A DTCPackedCache.h125 #define N_ONES_(IntType, N) \
126 ( (N) == 0 ? 0 : ((static_cast<IntType>(1) << ((N)-1))-1 + \
127 (static_cast<IntType>(1) << ((N)-1))) )
/external/llvm/include/llvm/Support/
H A DIntegersSubset.h178 template<class IntType>
181 IntType Low;
182 IntType High;
187 typedef IntRange<IntType> self;
194 IntRange(const IntType &C) :
197 IntRange(const IntType &L, const IntType &H) : Low(L), High(H),
203 const IntType& getLow() const {
207 const IntType& getHigh() const {
239 bool isInRange(const IntType
[all...]
/external/clang/lib/Basic/
H A DTargetInfo.cpp102 const char *TargetInfo::getTypeName(IntType T) {
118 const char *TargetInfo::getTypeConstantSuffix(IntType T) {
134 unsigned TargetInfo::getTypeWidth(IntType T) const {
150 unsigned TargetInfo::getTypeAlign(IntType T) const {
166 bool TargetInfo::isTypeSigned(IntType T) {
/external/harfbuzz_ng/src/
H A Dhb-open-type-private.hh558 struct IntType struct in namespace:OT
562 inline bool operator == (const IntType<Type,Size> &o) const { return v == o.v; } argument
563 inline bool operator != (const IntType<Type,Size> &o) const { return v != o.v; } argument
564 static inline int cmp (const IntType<Type,Size> *a, const IntType<Type,Size> *b) { return b->cmp (*a); } argument
565 inline int cmp (IntType<Type,Size> va) const { Type a = va; Type b = v; return a < b ? -1 : a == b ? 0 : +1; }
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_
[all...]
/external/clang/lib/StaticAnalyzer/Core/
H A DRangeConstraintManager.cpp353 APSIntType IntType = BV.getAPSIntType(Sym->getType()); local
354 llvm::APSInt Zero = IntType.getZeroValue();
396 APSIntType IntType = BV.getAPSIntType(T); local
397 Result = Result.Intersect(BV, F, ++IntType.getZeroValue(),
398 --IntType.getZeroValue());
H A DSimpleSValBuilder.cpp379 APSIntType IntType = BasicVals.getAPSIntType(resultTy); local
380 IntType.apply(LHSValue);
381 IntType.apply(RHSValue);
490 APSIntType IntType = BasicVals.getAPSIntType(resultTy); local
491 const llvm::APSInt &first = IntType.convert(symIntExpr->getRHS());
492 const llvm::APSInt &second = IntType.convert(*RHSValue);
/external/clang/lib/CodeGen/
H A DCGBuiltin.cpp56 QualType T, llvm::IntegerType *IntType) {
60 return CGF.Builder.CreatePtrToInt(V, IntType);
62 assert(V->getType() == IntType);
91 llvm::IntegerType *IntType = local
94 llvm::Type *IntPtrType = IntType->getPointerTo(AddrSpace);
100 Args[1] = EmitToInt(CGF, Args[1], T, IntType);
125 llvm::IntegerType *IntType = local
128 llvm::Type *IntPtrType = IntType->getPointerTo(AddrSpace);
133 Args[1] = EmitToInt(CGF, Args[1], T, IntType);
951 llvm::IntegerType *IntType local
55 EmitToInt(CodeGenFunction &CGF, llvm::Value *V, QualType T, llvm::IntegerType *IntType) argument
978 llvm::IntegerType *IntType = local
[all...]
/external/clang/lib/Frontend/
H A DInitPreprocessor.cpp180 static void DefineTypeSize(StringRef MacroName, TargetInfo::IntType Ty,
186 static void DefineType(const Twine &MacroName, TargetInfo::IntType Ty,
191 static void DefineTypeWidth(StringRef MacroName, TargetInfo::IntType Ty,
202 static void DefineExactWidthIntType(TargetInfo::IntType Ty,
/external/llvm/lib/Analysis/
H A DConstantFolding.cpp381 IntegerType *IntType = dyn_cast<IntegerType>(LoadTy); local
384 if (!IntType) {
409 unsigned BytesLoaded = (IntType->getBitWidth() + 7) / 8;
429 return UndefValue::get(IntType);
436 APInt ResultVal = APInt(IntType->getBitWidth(), 0);
451 return ConstantInt::get(IntType->getContext(), ResultVal);
/external/protobuf/src/google/protobuf/
H A Dtext_format.cc1135 template<typename IntType>
1136 static string PaddedHex(IntType value) {
/external/llvm/lib/Transforms/InstCombine/
H A DInstCombineCalls.cpp91 IntegerType* IntType = IntegerType::get(MI->getContext(), Size<<3); local
92 Type *NewSrcPtrTy = PointerType::get(IntType, SrcAddrSp);
93 Type *NewDstPtrTy = PointerType::get(IntType, DstAddrSp);

Completed in 398 milliseconds