Home
last modified time | relevance | path

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

12

/external/llvm/include/llvm/ADT/
DPointerIntPair.h41 template <typename PointerTy, unsigned IntBits, typename IntType=unsigned,
68 PointerIntPair(PointerTy PtrVal, IntType IntVal) { in PointerIntPair()
80 IntType getInt() const { in getInt()
81 return (IntType)((Value >> IntShift) & IntMask); in getInt()
93 void setInt(IntType IntVal) { in setInt()
110 void setPointerAndInt(PointerTy PtrVal, IntType IntVal) { in setPointerAndInt()
157 template<typename PointerTy, unsigned IntBits, typename IntType>
158 struct isPodLike<PointerIntPair<PointerTy, IntBits, IntType> > {
163 template<typename PointerTy, unsigned IntBits, typename IntType>
164 struct DenseMapInfo<PointerIntPair<PointerTy, IntBits, IntType> > {
[all …]
/external/clang/include/clang/Basic/
DTargetInfo.h117 enum IntType { enum
180 IntType SizeType, IntMaxType, PtrDiffType, IntPtrType, WCharType,
214 IntType getSizeType() const { return SizeType; } in getSizeType()
215 IntType getIntMaxType() const { return IntMaxType; } in getIntMaxType()
216 IntType getUIntMaxType() const { in getUIntMaxType()
219 IntType getPtrDiffType(unsigned AddrSpace) const { in getPtrDiffType()
222 IntType getIntPtrType() const { return IntPtrType; } in getIntPtrType()
223 IntType getUIntPtrType() const { in getUIntPtrType()
226 IntType getWCharType() const { return WCharType; } in getWCharType()
227 IntType getWIntType() const { return WIntType; } in getWIntType()
[all …]
/external/clang/lib/Basic/
DTargetInfo.cpp107 const char *TargetInfo::getTypeName(IntType T) { in getTypeName()
125 const char *TargetInfo::getTypeConstantSuffix(IntType T) const { in getTypeConstantSuffix()
148 const char *TargetInfo::getTypeFormatModifier(IntType T) { in getTypeFormatModifier()
166 unsigned TargetInfo::getTypeWidth(IntType T) const { in getTypeWidth()
182 TargetInfo::IntType TargetInfo::getIntTypeByWidth( in getIntTypeByWidth()
197 TargetInfo::IntType TargetInfo::getLeastIntTypeByWidth(unsigned BitWidth, in getLeastIntTypeByWidth()
235 unsigned TargetInfo::getTypeAlign(IntType T) const { in getTypeAlign()
253 bool TargetInfo::isTypeSigned(IntType T) { in isTypeSigned()
/external/llvm/unittests/Analysis/
DAliasAnalysisTest.cpp175 auto IntType = Type::getInt32Ty(C); in TEST_F() local
177 auto *Value = ConstantInt::get(IntType, 42); in TEST_F()
184 auto *CmpXChg1 = new AtomicCmpXchgInst(Addr, ConstantInt::get(IntType, 0), in TEST_F()
185 ConstantInt::get(IntType, 1), in TEST_F()
188 new AtomicRMWInst(AtomicRMWInst::Xchg, Addr, ConstantInt::get(IntType, 1), in TEST_F()
DMixedTBAATest.cpp40 auto IntType = Type::getInt32Ty(C); in TEST_F() local
42 auto *Value = ConstantInt::get(IntType, 42); in TEST_F()
/external/harfbuzz_ng/src/
Dhb-open-type-private.hh626 struct IntType struct
630 inline bool operator == (const IntType<Type,Size> &o) const { return (Type) v == (Type) o.v; } in operator ==() argument
631 inline bool operator != (const IntType<Type,Size> &o) const { return !(*this == o); } in operator !=() argument
632 …static inline int cmp (const IntType<Type,Size> *a, const IntType<Type,Size> *b) { return b->cmp (… in cmp() argument
652 typedef IntType<uint8_t , 1> BYTE; /* 8-bit unsigned integer. */
653 typedef IntType<uint16_t, 2> USHORT; /* 16-bit unsigned integer. */
654 typedef IntType<int16_t, 2> SHORT; /* 16-bit signed integer. */
655 typedef IntType<uint32_t, 4> ULONG; /* 32-bit unsigned integer. */
656 typedef IntType<int32_t, 4> LONG; /* 32-bit signed integer. */
657 typedef IntType<uint32_t, 3> UINT24; /* 24-bit unsigned integer. */
/external/libcxx/test/std/language.support/support.runtime/
Dcstdlib.pass.cpp36 template <class TestType, class IntType>
39 static_assert(sizeof(obj) >= sizeof(IntType) * 2, ""); // >= to account for alignment. in test_div_struct()
40 static_assert((std::is_same<decltype(obj.quot), IntType>::value), ""); in test_div_struct()
41 static_assert((std::is_same<decltype(obj.rem), IntType>::value), ""); in test_div_struct()
/external/llvm/test/DebugInfo/PDB/Inputs/
Dsymbolformat.cpp55 typedef int IntType; typedef
70 IntType Int = 12; in main()
/external/chromium-trace/catapult/third_party/gsutil/third_party/rsa/rsa/
D_version200.py72 if not (type(number) is types.LongType or type(number) is types.IntType):
91 if not (type(number) is types.LongType or type(number) is types.IntType):
120 if not (type(number) is types.LongType or type(number) is types.IntType):
149 if not (type(number) is types.LongType or type(number) is types.IntType):
396 if type(message) is types.IntType:
D_version133.py77 if not (type(number) is types.LongType or type(number) is types.IntType):
333 if type(message) is types.IntType:
/external/llvm/utils/
Dllvm.grm69 IntType ::= INTTYPE;
360 | switch IntType ValueRef ^ "," label ValueRef "[" JumpTable "]"
361 | switch IntType ValueRef ^ "," label ValueRef "[" ^ "]"
368 JumpTable ::= JumpTable IntType ConstValueRef ^ "," label ValueRef
369 | IntType ConstValueRef ^ "," label ValueRef ;
/external/clang/lib/Frontend/
DInitPreprocessor.cpp194 static void DefineTypeSize(const Twine &MacroName, TargetInfo::IntType Ty, in DefineTypeSize()
200 static void DefineFmt(const Twine &Prefix, TargetInfo::IntType Ty, in DefineFmt()
210 static void DefineType(const Twine &MacroName, TargetInfo::IntType Ty, in DefineType()
215 static void DefineTypeWidth(StringRef MacroName, TargetInfo::IntType Ty, in DefineTypeWidth()
226 static void DefineExactWidthIntType(TargetInfo::IntType Ty, in DefineExactWidthIntType()
246 static void DefineExactWidthIntTypeSize(TargetInfo::IntType Ty, in DefineExactWidthIntTypeSize()
264 TargetInfo::IntType Ty = TI.getLeastIntTypeByWidth(TypeWidth, IsSigned); in DefineLeastWidthIntType()
278 TargetInfo::IntType Ty = TI.getLeastIntTypeByWidth(TypeWidth, IsSigned); in DefineFastIntType()
/external/clang/lib/StaticAnalyzer/Core/
DSimpleSValBuilder.cpp378 APSIntType IntType = BasicVals.getAPSIntType(resultTy); in evalBinOpNN() local
379 IntType.apply(LHSValue); in evalBinOpNN()
380 IntType.apply(RHSValue); in evalBinOpNN()
493 APSIntType IntType = BasicVals.getAPSIntType(resultTy); in evalBinOpNN() local
494 const llvm::APSInt &first = IntType.convert(symIntExpr->getRHS()); in evalBinOpNN()
495 const llvm::APSInt &second = IntType.convert(*RHSValue); in evalBinOpNN()
DRangeConstraintManager.cpp386 APSIntType IntType = BV.getAPSIntType(Sym->getType()); in checkNull() local
387 llvm::APSInt Zero = IntType.getZeroValue(); in checkNull()
429 APSIntType IntType = BV.getAPSIntType(T); in GetRange() local
430 Result = Result.Intersect(BV, F, ++IntType.getZeroValue(), in GetRange()
431 --IntType.getZeroValue()); in GetRange()
/external/skia/platform_tools/android/gyp_gen/
Dvars_dict_lib.py123 if type(index) == types.IntType:
/external/jsoncpp/test/
Dpyjsontestrunner.py33 elif ty is types.IntType:
/external/clang/lib/AST/
DItaniumCXXABI.cpp106 TargetInfo::IntType PtrDiff = Target.getPtrDiffType(0); in getMemberPointerWidthAndAlign()
/external/llvm/test/DebugInfo/PDB/DIA/
Dpdbdump-symbol-format.test24 ; TYPES_FORMAT-DAG: typedef int IntType
/external/llvm/unittests/Transforms/Utils/
DCloning.cpp256 auto *IntType = in CreateOldFunctionBodyAndDI() local
260 DBuilder.createAutoVariable(Subprogram, "x", File, 5, IntType, true); in CreateOldFunctionBodyAndDI()
/external/autotest/client/common_lib/
Dglobal_config_unittest.py108 self.assertEquals(type(val), types.IntType)
/external/llvm/lib/Analysis/
DConstantFolding.cpp405 IntegerType *IntType = dyn_cast<IntegerType>(LoadTy); in FoldReinterpretLoadFromConstPtr() local
408 if (!IntType) { in FoldReinterpretLoadFromConstPtr()
434 unsigned BytesLoaded = (IntType->getBitWidth() + 7) / 8; in FoldReinterpretLoadFromConstPtr()
456 return UndefValue::get(IntType); in FoldReinterpretLoadFromConstPtr()
463 APInt ResultVal = APInt(IntType->getBitWidth(), 0); in FoldReinterpretLoadFromConstPtr()
478 return ConstantInt::get(IntType->getContext(), ResultVal); in FoldReinterpretLoadFromConstPtr()
/external/libcxx/include/
Drandom436 template<class IntType = int>
441 typedef IntType result_type;
448 explicit param_type(IntType a = 0,
449 IntType b = numeric_limits<IntType>::max());
459 explicit uniform_int_distribution(IntType a = 0,
460 IntType b = numeric_limits<IntType>::max());
610 template<class IntType = int>
615 typedef IntType result_type;
622 explicit param_type(IntType t = 1, double p = 0.5);
624 IntType t() const;
[all …]
/external/clang/lib/CodeGen/
DCGBuiltin.cpp62 QualType T, llvm::IntegerType *IntType) { in EmitToInt() argument
66 return CGF.Builder.CreatePtrToInt(V, IntType); in EmitToInt()
68 assert(V->getType() == IntType); in EmitToInt()
97 llvm::IntegerType *IntType = in MakeBinaryAtomicValue() local
100 llvm::Type *IntPtrType = IntType->getPointerTo(AddrSpace); in MakeBinaryAtomicValue()
106 Args[1] = EmitToInt(CGF, Args[1], T, IntType); in MakeBinaryAtomicValue()
159 llvm::IntegerType *IntType = in EmitBinaryAtomicPost() local
162 llvm::Type *IntPtrType = IntType->getPointerTo(AddrSpace); in EmitBinaryAtomicPost()
167 Args[1] = EmitToInt(CGF, Args[1], T, IntType); in EmitBinaryAtomicPost()
176 llvm::ConstantInt::get(IntType, -1)); in EmitBinaryAtomicPost()
[all …]
/external/protobuf/src/google/protobuf/
Dtext_format.cc1640 template<typename IntType>
1641 static string PaddedHex(IntType value) { in PaddedHex()
/external/llvm/lib/Transforms/Utils/
DSimplifyLibCalls.cpp870 IntegerType *IntType = IntegerType::get(CI->getContext(), Len * 8); in optimizeMemCmp() local
871 unsigned PrefAlignment = DL.getPrefTypeAlignment(IntType); in optimizeMemCmp()
877 IntType->getPointerTo(LHS->getType()->getPointerAddressSpace()); in optimizeMemCmp()
879 IntType->getPointerTo(RHS->getType()->getPointerAddressSpace()); in optimizeMemCmp()

12