Home
last modified time | relevance | path

Searched refs:Int1 (Results 1 – 22 of 22) sorted by relevance

/llvm-project-15.0.7/llvm/unittests/ADT/
H A DPointerSumTypeTest.cpp16 enum Kinds { Float, Int1, Int2 }; enumerator
40 EXPECT_EQ(Int1, b.getTag()); in TEST_F()
47 EXPECT_FALSE(a.is<Int1>()); in TEST_F()
50 EXPECT_TRUE(b.is<Int1>()); in TEST_F()
53 EXPECT_FALSE(c.is<Int1>()); in TEST_F()
59 EXPECT_EQ(nullptr, a.get<Int1>()); in TEST_F()
62 EXPECT_EQ(&i1, b.get<Int1>()); in TEST_F()
65 EXPECT_EQ(nullptr, c.get<Int1>()); in TEST_F()
77 EXPECT_EQ(&i1, b.cast<Int1>()); in TEST_F()
98 n = SumType::create<Int1>(&i2); in TEST_F()
[all …]
H A DAPIntTest.cpp2669 APInt Int1(4, 0x1ULL); in TEST() local
2672 EXPECT_EQ(0x31, Int3.concat(Int1)); in TEST()
2673 EXPECT_EQ(APInt(12, 0x313), Int3.concat(Int1).concat(Int3)); in TEST()
2674 EXPECT_EQ(APInt(16, 0x3313), Int3.concat(Int3).concat(Int1).concat(Int3)); in TEST()
/llvm-project-15.0.7/clang/test/Index/
H A Dcomplete-interfaces.m4 @class Int1, Int2, Int3, Int4;
23 // CHECK-CC1: ObjCInterfaceDecl:{TypedText Int1}
28 // CHECK-CC2: ObjCInterfaceDecl:{TypedText Int1}
33 // CHECK-CC3: ObjCInterfaceDecl:{TypedText Int1}
37 // CHECK-CC4: ObjCInterfaceDecl:{TypedText Int1}
42 // CHECK-CC5: ObjCInterfaceDecl:{TypedText Int1}
59 // CHECK-USE-NOT: Int1
/llvm-project-15.0.7/polly/test/IstAstInfo/
H A Daliasing_multiple_alias_groups.ll4 ; void jd(int *Int0, int *Int1, float *Float0, float *Float1) {
6 ; Int0[i] = Int1[i];
26 define void @jd(i32* nocapture %Int0, i32* nocapture readonly %Int1, float* nocapture %Float0, floa…
32 %arrayidx = getelementptr inbounds i32, i32* %Int1, i64 %indvars.iv
/llvm-project-15.0.7/polly/test/ScopInfo/
H A Daliasing_multiple_alias_groups.ll4 ; void jd(int *Int0, int *Int1, float *Float0, float *Float1) {
6 ; Int0[i] = Int1[i];
13 define void @jd(i32* nocapture %Int0, i32* nocapture readonly %Int1, float* nocapture %Float0, floa…
19 %arrayidx = getelementptr inbounds i32, i32* %Int1, i64 %indvars.iv
/llvm-project-15.0.7/clang/test/CodeGenObjC/
H A Dcompatibility-alias.m3 @interface Int1 @end interface
5 typedef Int1 Int1Typedef;
H A Dencode-test.m6 @class Int1;
12 @interface Int1 { interface
18 @implementation Int1 implementation
55 Int1 *sBase;
/llvm-project-15.0.7/clang/test/CXX/dcl.decl/dcl.decomp/
H A Dp3.cpp105 using Int1 = int[1]; in referenced_type() typedef
106 using Int1 = decltype(b0); in referenced_type() typedef
107 using Int1 = decltype(br0); in referenced_type() typedef
108 using Int1 = decltype(brr0); in referenced_type() typedef
/llvm-project-15.0.7/llvm/test/TableGen/
H A Dcompare.td60 // CHECK: def Int1
67 def Int1 : IntCompare<-7, 13>;
81 list<bit> compare2 = [!ne(Bit00, Bit00), !ne(Bit00, Int1)];
/llvm-project-15.0.7/llvm/unittests/IR/
H A DConstantsTest.cpp26 IntegerType *Int1 = IntegerType::get(Context, 1); in TEST() local
27 Constant *One = ConstantInt::get(Int1, 1, true); in TEST()
28 Constant *Zero = ConstantInt::get(Int1, 0); in TEST()
29 Constant *NegOne = ConstantInt::get(Int1, static_cast<uint64_t>(-1), true); in TEST()
30 EXPECT_EQ(NegOne, ConstantInt::getSigned(Int1, -1)); in TEST()
31 Constant *Poison = PoisonValue::get(Int1); in TEST()
363 Constant *Int1 = ConstantExpr::getPtrToInt(G1, IntTy); in TEST() local
365 ASSERT_NE(Int1, Int2); in TEST()
368 new GlobalVariable(*M, IntTy, false, GlobalValue::ExternalLinkage, Int1); in TEST()
369 ASSERT_EQ(Int1, Ref->getInitializer()); in TEST()
H A DInstructionsTest.cpp53 IntegerType* Int1 = IntegerType::get(C, 1); in TEST() local
54 Constant* One = ConstantInt::get(Int1, 1, true); in TEST()
147 IntegerType* Int1 = IntegerType::get(C, 1); in TEST() local
148 Constant* One = ConstantInt::get(Int1, 1, true); in TEST()
/llvm-project-15.0.7/clang-tools-extra/test/clang-move/Inputs/
H A Dtype_alias.h1 typedef int Int1; typedef
/llvm-project-15.0.7/clang/unittests/Tooling/Syntax/
H A DSynthesisTest.cpp141 auto *Int1 = createTree(*Arena, {{Leaf1, NodeRole::LiteralToken}}, in TEST_P() local
151 {{Int1, NodeRole::LeftHandSide}, in TEST_P()
/llvm-project-15.0.7/flang/unittests/Evaluate/
H A Dintrinsics.cpp152 using Int1 = Type<TypeCategory::Integer, 1>; in TestIntrinsics() typedef
188 .Push(Const(Scalar<Int1>{})) in TestIntrinsics()
189 .DoCall(Int1::GetType()); in TestIntrinsics()
265 .Push(Const(Scalar<Int1>{})) in TestIntrinsics()
/llvm-project-15.0.7/llvm/unittests/BinaryFormat/
H A DMsgPackDocumentTest.cpp18 DocNode Int1 = Doc.getNode(1), Int2 = Doc.getNode(2); in TEST() local
21 ASSERT_TRUE(Int1 != Int2); in TEST()
/llvm-project-15.0.7/llvm/lib/IR/
H A DMDBuilder.cpp118 Type *Int1 = Type::getInt1Ty(Context); in createCallbackEncoding() local
119 Ops.push_back(createConstant(ConstantInt::get(Int1, VarArgArePassed))); in createCallbackEncoding()
/llvm-project-15.0.7/clang/lib/AST/
H A DASTStructuralEquivalence.cpp1223 const auto *Int1 = cast<BitIntType>(T1); in IsStructurallyEquivalent() local
1226 if (Int1->isUnsigned() != Int2->isUnsigned() || in IsStructurallyEquivalent()
1227 Int1->getNumBits() != Int2->getNumBits()) in IsStructurallyEquivalent()
1232 const auto *Int1 = cast<DependentBitIntType>(T1); in IsStructurallyEquivalent() local
1235 if (Int1->isUnsigned() != Int2->isUnsigned() || in IsStructurallyEquivalent()
1236 !IsStructurallyEquivalent(Context, Int1->getNumBitsExpr(), in IsStructurallyEquivalent()
/llvm-project-15.0.7/llvm/unittests/Transforms/Vectorize/
H A DVPlanTest.cpp825 IntegerType *Int1 = IntegerType::get(C, 1); in TEST() local
828 UndefValue::get(Int1), UndefValue::get(Int32), UndefValue::get(Int32)); in TEST()
956 IntegerType *Int1 = IntegerType::get(C, 1); in TEST() local
978 UndefValue::get(Int1), UndefValue::get(Int32), UndefValue::get(Int32)); in TEST()
/llvm-project-15.0.7/llvm/include/llvm/Frontend/OpenMP/
H A DOMPKinds.def31 __OMP_TYPE(Int1)
446 __OMP_RTL(__kmpc_target_init, false, Int32, IdentPtr, Int8, Int1, Int1)
447 __OMP_RTL(__kmpc_target_deinit, false, Void, IdentPtr, Int8, Int1)
451 __OMP_RTL(__kmpc_kernel_parallel, false, Int1, VoidPtrPtr)
/llvm-project-15.0.7/flang/lib/Semantics/
H A Druntime-type-info.cpp464 using Int1 = evaluate::Type<TypeCategory::Integer, 1>; in DescribeType() typedef
466 std::vector<Int1::Scalar> lenKinds; in DescribeType()
496 SaveNumericPointerTarget<Int1>( in DescribeType()
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DEarlyCSE.cpp892 auto *Int1 = dyn_cast<ConstantInt>(Elem1); in isNonTargetIntrinsicMatch() local
893 if (Int1 && !Int1->isZero()) in isNonTargetIntrinsicMatch()
/llvm-project-15.0.7/llvm/lib/Transforms/IPO/
H A DOpenMPOpt.cpp365 ICV.InitValue = ConstantInt::getFalse(OMPBuilder.Int1->getContext()); \ in initializeInternalControlVars()