| /llvm-project-15.0.7/libcxx/test/std/input.output/filesystems/fs.enum/ |
| H A D | check_bitmask_types.h | 10 template <class EnumType, EnumType Val1, EnumType Val2, 12 UT UVal1 = static_cast<UT>(Val1), 23 static_assert(Val1 != Val2, ""); 30 EnumType ValRef = Val1; in check() 40 static_assert((Val1 & Zero) == Zero, ""); in check() 41 static_assert((Val1 & Val1) == Val1, ""); in check() 44 static_assert((Val1 | Zero) == Val1, ""); in check() 47 static_assert((Val1 ^ Zero) == Val1, ""); in check() 54 EnumType e = Val1; in check() 60 EnumType e = Val1; in check() [all …]
|
| /llvm-project-15.0.7/llvm/unittests/Analysis/ |
| H A D | PhiValuesTest.cpp | 47 Phi1->addIncoming(Val1, If); in TEST() 50 Phi2->addIncoming(Val1, If); in TEST() 59 EXPECT_TRUE(Vals.count(Val1)); in TEST() 63 EXPECT_TRUE(Vals.count(Val1)); in TEST() 67 Val1->replaceAllUsesWith(Val4); in TEST() 68 PV.invalidateValue(Val1); in TEST() 83 EXPECT_TRUE(Vals.count(Val1)); in TEST() 120 Phi1->addIncoming(Val1, If1); in TEST() 135 EXPECT_TRUE(Vals.count(Val1)); in TEST() 143 EXPECT_TRUE(Vals.count(Val1)); in TEST() [all …]
|
| /llvm-project-15.0.7/clang/test/SemaCXX/ |
| H A D | enum-scoped.cpp | 5 Val1 = 1L enumerator 9 Val1 = '\0' enumerator 12 E1 v1 = Val1; // expected-error{{undeclared identifier}} 13 E1 v2 = E1::Val1; 16 static_assert(sizeof(E1::Val1) == sizeof(int), "bad size"); 18 static_assert(sizeof(E2::Val1) == sizeof(int), "bad size"); 20 E1 v3 = E2::Val1; // expected-error{{cannot initialize a variable}} 21 int x1 = E1::Val1; // expected-error{{cannot initialize a variable}} 35 int a2[E1::Val1]; 44 int* p2 = new int[E1::Val1];
|
| H A D | enum.cpp | 4 Val1, enumerator 14 E e = Val1; in f()
|
| /llvm-project-15.0.7/llvm/unittests/CodeGen/ |
| H A D | AArch64SelectionDAGTest.cpp | 300 SDValue Val1 = DAG->getConstant(1, Loc, VecVT); in TEST_F() local 444 Pattern1111.append(4, Val1); in TEST_F() 445 Pattern1133.append(2, Val1); in TEST_F() 448 Pattern0123.push_back(Val1); in TEST_F() 469 Pattern1_3.append(8, Val1); in TEST_F() 494 EXPECT_EQ(Seq1111[0], Val1); in TEST_F() 499 EXPECT_EQ(Seq1133[0], Val1); in TEST_F() 500 EXPECT_EQ(Seq1133[1], Val1); in TEST_F() 508 EXPECT_EQ(Seq0123[1], Val1); in TEST_F() 520 EXPECT_EQ(Seq1111[0], Val1); in TEST_F() [all …]
|
| /llvm-project-15.0.7/llvm/include/llvm/Transforms/Utils/ |
| H A D | BypassSlowDivision.h | 42 static bool isEqual(const DivRemMapKey &Val1, const DivRemMapKey &Val2) { 43 return Val1.SignedOp == Val2.SignedOp && Val1.Dividend == Val2.Dividend && 44 Val1.Divisor == Val2.Divisor;
|
| /llvm-project-15.0.7/llvm/test/TableGen/ |
| H A D | generic-tables.td | 23 // CHECK: const AEntry *lookupATableByValues(uint8_t Val1, uint16_t Val2); 33 // CHECK: const AEntry *lookupATableByValues(uint8_t Val1, uint16_t Val2) { 39 bits<8> Val1 = val1; 50 let Fields = ["Str", "Val1", "Val2"]; 52 let PrimaryKey = ["Val1", "Val2"]; 153 bits<8> Val1 = val1; 157 // ERROR1: [[@LINE+1]]:1: error: Record 'DBar' for table 'DTable' is missing field 'Val1' 162 let Fields = ["Str", "Val1"];
|
| /llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/bugprone/ |
| H A D | easily-swappable-parameters-relatedness.cpp | 166 int Val1 = I.I; in compare1() local 168 return Val1 < Val2; in compare1() 172 int Val1 = T1.g(0, 1); in compare2() local 174 return Val1 < Val2; in compare2() 178 int Val1 = T1.f(0); in compare3() local 180 return Val1 < Val2; in compare3()
|
| H A D | easily-swappable-parameters-prefixsuffixname.cpp | 27 void test3(int Val1, int Val2) {} // NO-WARN. in test3() argument 31 void test5(int Val1, int ValZ) {} // NO-WARN. in test5() argument
|
| /llvm-project-15.0.7/clang/test/SemaTemplate/ |
| H A D | instantiate-c99.cpp | 50 typename Val1, typename Val2> 52 void f(Val1 val1, Val2 val2) { in f() 70 typename Val1> 72 void f(Val1 val1) { in f()
|
| H A D | enum-argument.cpp | 18 Val1 = get_size<T>::value, enumerator 20 SumOfValues = Val1 + Val2
|
| H A D | instantiate-expr-4.cpp | 226 template<typename T, typename Val1> 228 void f(Val1 val1) { in f() 248 template<typename T, typename Val1, typename Val2> 250 void f(Val1 val1, Val2 val2) { in f()
|
| H A D | temp_arg_enum_printing.cpp | 9 Val1 enumerator
|
| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | CGAtomic.cpp | 382 llvm::Value *Expected = CGF.Builder.CreateLoad(Val1); in emitAtomicCmpXchg() 412 CGF.Builder.CreateStore(Old, Val1); in emitAtomicCmpXchg() 693 llvm::Value *LoadVal1 = CGF.Builder.CreateLoad(Val1); in EmitAtomicOp() 813 Address Val1 = Address::invalid(); in EmitAtomicExpr() local 870 Val1 = EmitPointerWithAlignment(E->getVal1()); in EmitAtomicExpr() 874 Val1 = EmitPointerWithAlignment(E->getVal1()); in EmitAtomicExpr() 886 Val1 = EmitPointerWithAlignment(E->getVal1()); in EmitAtomicExpr() 913 Val1 = Temp; in EmitAtomicExpr() 961 Val1 = EmitValToTemp(*this, E->getVal1()); in EmitAtomicExpr() 975 if (Val1.isValid()) in EmitAtomicExpr() [all …]
|
| /llvm-project-15.0.7/clang/lib/Analysis/FlowSensitive/ |
| H A D | DataflowEnvironment.cpp | 51 static bool areEquivalentIndirectionValues(Value *Val1, Value *Val2) { in areEquivalentIndirectionValues() argument 52 if (auto *IndVal1 = dyn_cast<ReferenceValue>(Val1)) { in areEquivalentIndirectionValues() 56 if (auto *IndVal1 = dyn_cast<PointerValue>(Val1)) { in areEquivalentIndirectionValues() 64 static bool equivalentValues(QualType Type, Value *Val1, in equivalentValues() argument 68 return Val1 == Val2 || areEquivalentIndirectionValues(Val1, Val2) || in equivalentValues() 69 Model.compareEquivalent(Type, *Val1, Env1, *Val2, Env2); in equivalentValues() 76 static Value *mergeDistinctValues(QualType Type, Value *Val1, in mergeDistinctValues() argument 86 if (auto *Expr1 = dyn_cast<BoolValue>(Val1)) { in mergeDistinctValues() 98 if (areEquivalentIndirectionValues(Val1, Val2)) { in mergeDistinctValues() 99 return Val1; in mergeDistinctValues() [all …]
|
| /llvm-project-15.0.7/clang/test/CoverageMapping/ |
| H A D | md.cpp | 6 Val1, enumerator 42 foo(MD::Val1); in main()
|
| /llvm-project-15.0.7/llvm/tools/llvm-stress/ |
| H A D | llvm-stress.cpp | 373 Value *Val1 = getRandomValue(Val0->getType()); in Act() local 377 Val1->getType()->isPointerTy()) in Act() 406 PT->push_back(BinaryOperator::Create(Op, Val0, Val1, "B", Term)); in Act() 497 Value *Val1 = getRandomValue(Val0->getType()); in Act() local 513 Value *V = new ShuffleVectorInst(Val0, Val1, Mask, "Shuff", in Act() 525 Value *Val1 = getRandomValue(Val0->getType()->getScalarType()); in Act() local 528 Val0, Val1, in Act() 625 Value *Val1 = getRandomValue(Val0->getType()); in Act() local 638 Value *V = SelectInst::Create(Cond, Val0, Val1, "Sl", BB->getTerminator()); in Act() 649 Value *Val1 = getRandomValue(Val0->getType()); in Act() local [all …]
|
| /llvm-project-15.0.7/clang/include/clang/Analysis/FlowSensitive/Models/ |
| H A D | UncheckedOptionalAccessModel.h | 57 bool compareEquivalent(QualType Type, const Value &Val1, 61 bool merge(QualType Type, const Value &Val1, const Environment &Env1,
|
| /llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/fuchsia/ |
| H A D | statically-constructed-objects.cpp | 17 ClassWithConstexpr(int Val1, int Val2) : Val(Val1) {} in ClassWithConstexpr() argument
|
| /llvm-project-15.0.7/llvm/unittests/IR/ |
| H A D | ModuleTest.cpp | 82 Metadata *Val1 = MDString::get(Context, "Val1"); in TEST() local 85 M.setModuleFlag(Module::ModFlagBehavior::Error, Key, Val1); in TEST() 86 EXPECT_EQ(Val1, M.getModuleFlag(Key)); in TEST()
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | GTestChecker.cpp | 116 static ProgramStateRef assumeValuesEqual(SVal Val1, SVal Val2, 270 ProgramStateRef GTestChecker::assumeValuesEqual(SVal Val1, SVal Val2, in assumeValuesEqual() argument 273 auto DVal1 = Val1.getAs<DefinedOrUnknownSVal>(); in assumeValuesEqual()
|
| H A D | MismatchedIteratorChecker.cpp | 39 void reportBug(const StringRef &Message, const SVal &Val1, 279 const SVal &Val1, in reportBug() argument 285 R->markInteresting(Val1); in reportBug()
|
| /llvm-project-15.0.7/llvm/docs/TableGen/ |
| H A D | BackEnds.rst | 737 let Fields = ["Str", "Val1", "Val2"]; 738 let PrimaryKey = ["Val1", "Val2"]; 744 bits<8> Val1 = val1; 775 uint8_t Val1; 778 KeyType Key = { Val1, Val2 }; 782 if (LHS.Val1 < RHS.Val1) 784 if (LHS.Val1 > RHS.Val1) 794 Key.Val1 != Idx->Val1 || 884 let PrimaryKey = ["Val1", "Val2"]; 894 if ((Val1 < 0x2) || [all …]
|
| /llvm-project-15.0.7/clang/test/CoverageMapping/Inputs/ |
| H A D | md.def | 2 HANDLE_MD(Val1)
|
| /llvm-project-15.0.7/clang/include/clang/Analysis/FlowSensitive/ |
| H A D | DataflowEnvironment.h | 74 virtual bool compareEquivalent(QualType Type, const Value &Val1, in compareEquivalent() argument 103 virtual bool merge(QualType Type, const Value &Val1, in merge() argument
|