| /llvm-project-15.0.7/libc/spec/ |
| H A D | posix.td | 152 RetValSpec<IntType>, 157 RetValSpec<IntType>, 162 RetValSpec<IntType>, 163 [ArgSpec<IntType>, ArgSpec<ConstCharPtr>, ArgSpec<IntType>, ArgSpec<VarArgType>] 220 [ArgSpec<IntType>, 228 ArgSpec<IntType>] 244 ArgSpec<IntType>] 267 [ArgSpec<IntType>] 272 [ArgSpec<IntType>] 277 [ArgSpec<IntType>, ArgSpec<OffTType>, ArgSpec<IntType>] [all …]
|
| H A D | stdc.td | 30 RetValSpec<IntType>, 31 [ArgSpec<IntType>] 36 [ArgSpec<IntType>] 41 [ArgSpec<IntType>] 46 [ArgSpec<IntType>] 51 [ArgSpec<IntType>] 56 [ArgSpec<IntType>] 61 [ArgSpec<IntType>] 66 [ArgSpec<IntType>] 604 FunctionSpec<"abs", RetValSpec<IntType>, [ArgSpec<IntType>]>, [all …]
|
| H A D | gnu_ext.td | 11 RetValSpec<IntType>, 12 [ArgSpec<IntType>] 40 [ArgSpec<VoidPtr>, ArgSpec<IntType>, ArgSpec<SizeTType>] 53 RetValSpec<IntType>, 54 [ArgSpec<IntType>] 58 RetValSpec<IntType>, 59 [ArgSpec<IntType>] 63 RetValSpec<IntType>, 82 RetValSpec<IntType>, 87 RetValSpec<IntType>,
|
| H A D | spec.td | 41 def IntType : NamedType<"int">; 92 def IntPtr : PtrType<IntType>; 93 def RestrictedIntPtr : RestrictedPtrType<IntType>;
|
| /llvm-project-15.0.7/libc/test/src/stdlib/ |
| H A D | DivTest.h | 11 template <typename IntType, typename ReturnType> 14 using DivFunc = ReturnType(IntType, IntType); 18 EXPECT_EQ(result.quot, IntType(3)); in simpleTest() 19 EXPECT_EQ(result.rem, IntType(1)); in simpleTest() 22 EXPECT_EQ(result.quot, IntType(-3)); in simpleTest() 23 EXPECT_EQ(result.rem, IntType(-1)); in simpleTest() 26 EXPECT_EQ(result.quot, IntType(3)); in simpleTest() 27 EXPECT_EQ(result.rem, IntType(-1)); in simpleTest() 30 EXPECT_EQ(result.quot, IntType(-3)); in simpleTest() 31 EXPECT_EQ(result.rem, IntType(1)); in simpleTest() [all …]
|
| /llvm-project-15.0.7/llvm/include/llvm/ADT/ |
| H A D | PointerIntPair.h | 54 PointerIntPair(PointerTy PtrVal, IntType IntVal) { in PointerIntPair() 62 IntType getInt() const { return (IntType)Info::getInt(Value); } in getInt() 68 void setInt(IntType IntVal) & { in setInt() 76 void setPointerAndInt(PointerTy PtrVal, IntType IntVal) & { in setPointerAndInt() 133 template <typename PointerTy, unsigned IntBits, typename IntType, 195 template <typename PointerTy, unsigned IntBits, typename IntType> 197 using Ty = PointerIntPair<PointerTy, IntBits, IntType>; 220 template <typename PointerTy, unsigned IntBits, typename IntType, 223 PointerIntPair<PointerTy, IntBits, IntType, PtrTraits>> { 229 static inline PointerIntPair<PointerTy, IntBits, IntType> [all …]
|
| /llvm-project-15.0.7/clang/include/clang/Basic/ |
| H A D | TargetInfo.h | 120 enum IntType { enum 326 IntType getSignedSizeType() const { in getSignedSizeType() 341 IntType getUIntMaxType() const { in getUIntMaxType() 351 IntType getUIntPtrType() const { in getUIntPtrType() 359 IntType getUInt64Type() const { in getUInt64Type() 363 IntType getUInt16Type() const { in getUInt16Type() 369 static IntType getCorrespondingUnsignedType(IntType T) { in getCorrespondingUnsignedType() 397 unsigned getTypeWidth(IntType T) const; 418 unsigned getTypeAlign(IntType T) const; 421 static bool isTypeSigned(IntType T); [all …]
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/bugprone/ |
| H A D | IntegerDivisionCheck.cpp | 20 const auto IntType = hasType(isInteger()); in registerMatchers() local 30 callExpr(IntType), explicitCastExpr(IntType), UnaryOperators); in registerMatchers() 35 hasOperatorName("/"), hasLHS(expr(IntType)), in registerMatchers() 36 hasRHS(expr(IntType)), in registerMatchers()
|
| /llvm-project-15.0.7/libcxx/test/libcxx/algorithms/ |
| H A D | half_positive.pass.cpp | 24 template <class IntType, class UnderlyingType = IntType> 25 TEST_CONSTEXPR bool test(IntType max_v = IntType(std::numeric_limits<UnderlyingType>::max())) { in test()
|
| /llvm-project-15.0.7/lldb/include/lldb/Utility/ |
| H A D | StructuredData.h | 195 template <class IntType> 196 bool GetItemAtIndexAsInteger(size_t idx, IntType &result) const { in GetItemAtIndexAsInteger() 200 result = static_cast<IntType>(int_value->GetValue()); in GetItemAtIndexAsInteger() 207 template <class IntType> 208 bool GetItemAtIndexAsInteger(size_t idx, IntType &result, in GetItemAtIndexAsInteger() 209 IntType default_val) const { in GetItemAtIndexAsInteger() 412 template <class IntType> 417 result = static_cast<IntType>(int_value->GetValue()); in GetValueForKeyAsInteger() 424 template <class IntType> 426 IntType default_val) const { in GetValueForKeyAsInteger() [all …]
|
| /llvm-project-15.0.7/libcxxabi/src/ |
| H A D | cxa_guard_impl.h | 128 template <class IntType> 133 explicit AtomicInt(IntType* b) : b_(b) {} in AtomicInt() 137 IntType load(MemoryOrder ord) { return std::__libcpp_atomic_load(b_, ord); } in load() 138 void store(IntType val, MemoryOrder ord) { std::__libcpp_atomic_store(b_, val, ord); } in store() 139 …IntType exchange(IntType new_val, MemoryOrder ord) { return std::__libcpp_atomic_exchange(b_, new_… in exchange() 140 …bool compare_exchange(IntType* expected, IntType desired, MemoryOrder ord_success, MemoryOrder ord… in compare_exchange() 145 IntType* b_;
|
| /llvm-project-15.0.7/llvm/unittests/Analysis/ |
| H A D | AliasAnalysisTest.cpp | 173 auto IntType = Type::getInt32Ty(C); in TEST_F() local 175 auto *Value = ConstantInt::get(IntType, 42); in TEST_F() 177 auto Alignment = Align(IntType->getBitWidth() / 8); in TEST_F() 180 auto *Load1 = new LoadInst(IntType, Addr, "load", BB); in TEST_F() 184 Addr, ConstantInt::get(IntType, 0), ConstantInt::get(IntType, 1), in TEST_F() 188 AtomicRMWInst::Xchg, Addr, ConstantInt::get(IntType, 1), Alignment, in TEST_F()
|
| H A D | TBAATest.cpp | 38 auto *IntType = Type::getInt32Ty(C); in getFunctionWithSingleStore() local 40 auto *SI = new StoreInst(ConstantInt::get(IntType, 42), in getFunctionWithSingleStore()
|
| /llvm-project-15.0.7/clang/lib/Basic/ |
| H A D | TargetInfo.cpp | 181 const char *TargetInfo::getTypeName(IntType T) { in getTypeName() 199 const char *TargetInfo::getTypeConstantSuffix(IntType T) const { in getTypeConstantSuffix() 224 const char *TargetInfo::getTypeFormatModifier(IntType T) { in getTypeFormatModifier() 242 unsigned TargetInfo::getTypeWidth(IntType T) const { in getTypeWidth() 258 TargetInfo::IntType TargetInfo::getIntTypeByWidth( in getIntTypeByWidth() 273 TargetInfo::IntType TargetInfo::getLeastIntTypeByWidth(unsigned BitWidth, in getLeastIntTypeByWidth() 324 unsigned TargetInfo::getTypeAlign(IntType T) const { in getTypeAlign() 342 bool TargetInfo::isTypeSigned(IntType T) { in isTypeSigned()
|
| /llvm-project-15.0.7/flang/lib/Decimal/ |
| H A D | decimal-to-binary.cpp | 189 using IntType = common::HostUnsignedIntType<precision>; typedef in Fortran::decimal::IntermediateFloat 190 static constexpr IntType topBit{IntType{1} << (precision - 1)}; 191 static constexpr IntType mask{topBit + (topBit - 1)}; 235 IntType value_{0}; 246 IntType fraction{value_}; in ToBinary()
|
| /llvm-project-15.0.7/llvm/test/DebugInfo/PDB/Inputs/ |
| H A D | symbolformat.cpp | 56 typedef int IntType; typedef 78 IntType Int = 12; in main()
|
| /llvm-project-15.0.7/libcxx/test/std/language.support/support.runtime/ |
| H A D | cstdlib.pass.cpp | 37 template <class TestType, class IntType> 40 static_assert(sizeof(obj) >= sizeof(IntType) * 2, ""); // >= to account for alignment. in test_div_struct() 41 static_assert((std::is_same<decltype(obj.quot), IntType>::value), ""); in test_div_struct() 42 static_assert((std::is_same<decltype(obj.rem), IntType>::value), ""); in test_div_struct()
|
| /llvm-project-15.0.7/llvm/test/DebugInfo/PDB/Native/ |
| H A D | pdb-native-typedefs.test | 12 PRETTY-NEXT: typedef int IntType 19 DUMP-NEXT: name: IntType
|
| /llvm-project-15.0.7/libcxx/include/ |
| H A D | random | 446 template<class IntType = int> 451 typedef IntType result_type; 459 IntType b = numeric_limits<IntType>::max()); 473 IntType b = numeric_limits<IntType>::max()); // C++20 627 template<class IntType = int> 641 IntType t() const; 660 IntType t() const; 687 template<class IntType = int> 745 template<class IntType = int> 805 template<class IntType = int> [all …]
|
| /llvm-project-15.0.7/flang/runtime/ |
| H A D | descriptor-io.h | 51 using IntType = CppTypeFor<TypeCategory::Integer, KIND>; in FormattedIntegerIO() local 55 IntType &x{ExtractElement<IntType>(io, descriptor, subscripts)}; in FormattedIntegerIO() 206 using IntType = CppTypeFor<TypeCategory::Integer, KIND>; in FormattedLogicalIO() local 209 IntType &x{ExtractElement<IntType>(io, descriptor, subscripts)}; in FormattedLogicalIO()
|
| /llvm-project-15.0.7/clang/lib/Basic/Targets/ |
| H A D | AVR.h | 156 IntType getIntTypeByWidth(unsigned BitWidth, bool IsSigned) const final { in getIntTypeByWidth() 162 IntType getLeastIntTypeByWidth(unsigned BitWidth, bool IsSigned) const final { in getLeastIntTypeByWidth()
|
| H A D | WebAssembly.h | 116 IntType getIntTypeByWidth(unsigned BitWidth, bool IsSigned) const final { in getIntTypeByWidth() 122 IntType getLeastIntTypeByWidth(unsigned BitWidth, bool IsSigned) const final { in getLeastIntTypeByWidth()
|
| /llvm-project-15.0.7/flang/lib/Evaluate/ |
| H A D | intrinsics.cpp | 62 static constexpr CategorySet IntType{TypeCategory::Integer}; variable 67 static constexpr CategorySet IntOrRealType{IntType | RealType}; 121 static constexpr TypePattern AnyInt{IntType, KindCode::any}; 219 {IntType, KindCode::kindArg}, Rank::scalar, 935 TypePattern{IntType, KindCode::exactKind, 1}}, 1013 TypePattern{IntType, KindCode::exactKind, 2}}, 1019 TypePattern{IntType, KindCode::exactKind, 4}}, 1022 TypePattern{IntType, KindCode::exactKind, 8}}, 1640 CHECK(result.categorySet == IntType); in Match() 1725 CHECK(result.categorySet == IntType); in Match() [all …]
|
| /llvm-project-15.0.7/llvm/utils/ |
| H A D | llvm.grm | 69 IntType ::= INTTYPE; 363 | switch IntType ValueRef ^ "," label ValueRef "[" JumpTable "]" 364 | switch IntType ValueRef ^ "," label ValueRef "[" ^ "]" 371 JumpTable ::= JumpTable IntType ConstValueRef ^ "," label ValueRef 372 | IntType ConstValueRef ^ "," label ValueRef ;
|
| /llvm-project-15.0.7/clang-tools-extra/unittests/clang-tidy/ |
| H A D | ClangTidyOptionsTest.cpp | 251 template <typename IntType = int, typename... Args> 253 return Options.get<IntType>(std::forward<Args>(Arguments)...); in getIntLocal() 256 template <typename IntType = int, typename... Args> 258 return Options.getLocalOrGlobal<IntType>(std::forward<Args>(Arguments)...); in getIntGlobal()
|