| /minix3/external/bsd/llvm/dist/llvm/include/llvm/ADT/ |
| H A D | PointerIntPair.h | 41 template <typename PointerTy, unsigned IntBits, typename IntType=unsigned, 67 PointerIntPair(PointerTy PtrVal, IntType IntVal) { in PointerIntPair() 79 IntType getInt() const { in getInt() 80 return (IntType)((Value >> IntShift) & IntMask); in getInt() 92 void setInt(IntType IntVal) { in setInt() 109 void setPointerAndInt(PointerTy PtrVal, IntType IntVal) { in setPointerAndInt() 154 template<typename PointerTy, unsigned IntBits, typename IntType> 155 struct isPodLike<PointerIntPair<PointerTy, IntBits, IntType> > { 160 template<typename PointerTy, unsigned IntBits, typename IntType> 161 struct DenseMapInfo<PointerIntPair<PointerTy, IntBits, IntType> > { [all …]
|
| /minix3/external/bsd/llvm/dist/clang/include/clang/Basic/ |
| H A D | TargetInfo.h | 110 enum IntType { enum 173 IntType SizeType, IntMaxType, PtrDiffType, IntPtrType, WCharType, 207 IntType getSizeType() const { return SizeType; } in getSizeType() 208 IntType getIntMaxType() const { return IntMaxType; } in getIntMaxType() 209 IntType getUIntMaxType() const { in getUIntMaxType() 212 IntType getPtrDiffType(unsigned AddrSpace) const { in getPtrDiffType() 215 IntType getIntPtrType() const { return IntPtrType; } in getIntPtrType() 216 IntType getUIntPtrType() const { in getUIntPtrType() 219 IntType getWCharType() const { return WCharType; } in getWCharType() 220 IntType getWIntType() const { return WIntType; } in getWIntType() [all …]
|
| /minix3/external/bsd/llvm/dist/clang/lib/Basic/ |
| H A D | TargetInfo.cpp | 103 const char *TargetInfo::getTypeName(IntType T) { in getTypeName() 121 const char *TargetInfo::getTypeConstantSuffix(IntType T) const { in getTypeConstantSuffix() 144 const char *TargetInfo::getTypeFormatModifier(IntType T) { in getTypeFormatModifier() 162 unsigned TargetInfo::getTypeWidth(IntType T) const { in getTypeWidth() 178 TargetInfo::IntType TargetInfo::getIntTypeByWidth( in getIntTypeByWidth() 193 TargetInfo::IntType TargetInfo::getLeastIntTypeByWidth(unsigned BitWidth, in getLeastIntTypeByWidth() 231 unsigned TargetInfo::getTypeAlign(IntType T) const { in getTypeAlign() 249 bool TargetInfo::isTypeSigned(IntType T) { in isTypeSigned()
|
| /minix3/external/bsd/libc++/dist/libcxx/test/std/language.support/support.runtime/ |
| H A D | cstdlib.pass.cpp | 36 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()
|
| /minix3/external/bsd/llvm/dist/llvm/unittests/Analysis/ |
| H A D | MixedTBAATest.cpp | 39 auto IntType = Type::getInt32Ty(C); in TEST_F() local 41 auto *Value = ConstantInt::get(IntType, 42); in TEST_F()
|
| /minix3/external/bsd/llvm/dist/llvm/utils/ |
| H A D | llvm.grm | 69 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 ;
|
| /minix3/external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Core/ |
| H A D | RangeConstraintManager.cpp | 355 APSIntType IntType = BV.getAPSIntType(Sym->getType()); in checkNull() local 356 llvm::APSInt Zero = IntType.getZeroValue(); in checkNull() 398 APSIntType IntType = BV.getAPSIntType(T); in GetRange() local 399 Result = Result.Intersect(BV, F, ++IntType.getZeroValue(), in GetRange() 400 --IntType.getZeroValue()); in GetRange()
|
| H A D | SimpleSValBuilder.cpp | 378 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()
|
| /minix3/external/bsd/llvm/dist/clang/lib/Frontend/ |
| H A D | InitPreprocessor.cpp | 190 static void DefineTypeSize(const Twine &MacroName, TargetInfo::IntType Ty, in DefineTypeSize() 196 static void DefineFmt(const Twine &Prefix, TargetInfo::IntType Ty, in DefineFmt() 206 static void DefineType(const Twine &MacroName, TargetInfo::IntType Ty, in DefineType() 211 static void DefineTypeWidth(StringRef MacroName, TargetInfo::IntType Ty, in DefineTypeWidth() 222 static void DefineExactWidthIntType(TargetInfo::IntType Ty, in DefineExactWidthIntType() 242 static void DefineExactWidthIntTypeSize(TargetInfo::IntType Ty, in DefineExactWidthIntTypeSize() 260 TargetInfo::IntType Ty = TI.getLeastIntTypeByWidth(TypeWidth, IsSigned); in DefineLeastWidthIntType() 274 TargetInfo::IntType Ty = TI.getLeastIntTypeByWidth(TypeWidth, IsSigned); in DefineFastIntType()
|
| /minix3/external/bsd/llvm/dist/clang/lib/AST/ |
| H A D | ItaniumCXXABI.cpp | 106 TargetInfo::IntType PtrDiff = Target.getPtrDiffType(0); in getMemberPointerWidthAndAlign()
|
| H A D | ASTContext.cpp | 8103 TargetInfo::IntType Ty = getTargetInfo().getIntTypeByWidth(DestWidth, Signed); in getIntTypeForBitwidth()
|
| /minix3/external/bsd/llvm/dist/llvm/unittests/Transforms/Utils/ |
| H A D | Cloning.cpp | 255 DIType IntType = DBuilder.createBasicType("int", 32, 0, in CreateOldFunctionBodyAndDI() local 259 dwarf::DW_TAG_auto_variable, Subprogram, "x", File, 5, IntType, true); in CreateOldFunctionBodyAndDI()
|
| /minix3/external/bsd/llvm/dist/llvm/lib/Analysis/ |
| H A D | ConstantFolding.cpp | 407 IntegerType *IntType = dyn_cast<IntegerType>(LoadTy); in FoldReinterpretLoadFromConstPtr() local 410 if (!IntType) { in FoldReinterpretLoadFromConstPtr() 437 unsigned BytesLoaded = (IntType->getBitWidth() + 7) / 8; in FoldReinterpretLoadFromConstPtr() 459 return UndefValue::get(IntType); in FoldReinterpretLoadFromConstPtr() 466 APInt ResultVal = APInt(IntType->getBitWidth(), 0); in FoldReinterpretLoadFromConstPtr() 481 return ConstantInt::get(IntType->getContext(), ResultVal); in FoldReinterpretLoadFromConstPtr()
|
| /minix3/external/bsd/llvm/dist/clang/lib/CodeGen/ |
| H A D | CGBuiltin.cpp | 59 QualType T, llvm::IntegerType *IntType) { in EmitToInt() argument 63 return CGF.Builder.CreatePtrToInt(V, IntType); in EmitToInt() 65 assert(V->getType() == IntType); in EmitToInt() 94 llvm::IntegerType *IntType = in EmitBinaryAtomic() local 97 llvm::Type *IntPtrType = IntType->getPointerTo(AddrSpace); in EmitBinaryAtomic() 103 Args[1] = EmitToInt(CGF, Args[1], T, IntType); in EmitBinaryAtomic() 129 llvm::IntegerType *IntType = in EmitBinaryAtomicPost() local 132 llvm::Type *IntPtrType = IntType->getPointerTo(AddrSpace); in EmitBinaryAtomicPost() 137 Args[1] = EmitToInt(CGF, Args[1], T, IntType); in EmitBinaryAtomicPost() 146 llvm::ConstantInt::get(IntType, -1)); in EmitBinaryAtomicPost() [all …]
|
| /minix3/external/bsd/libc++/dist/libcxx/include/ |
| H A D | random | 436 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 …]
|
| /minix3/external/bsd/llvm/dist/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineCalls.cpp | 95 IntegerType* IntType = IntegerType::get(MI->getContext(), Size<<3); in SimplifyMemTransfer() local 96 Type *NewSrcPtrTy = PointerType::get(IntType, SrcAddrSp); in SimplifyMemTransfer() 97 Type *NewDstPtrTy = PointerType::get(IntType, DstAddrSp); in SimplifyMemTransfer()
|
| /minix3/external/bsd/llvm/dist/llvm/bindings/go/llvm/ |
| H A D | ir.go | 483 func (c Context) IntType(numbits int) (t Type) { func 494 func IntType(numbits int) (t Type) { func
|