Home
last modified time | relevance | path

Searched refs:ParamType (Results 1 – 25 of 49) sorted by relevance

12

/llvm-project-15.0.7/llvm/unittests/DebugInfo/DWARF/
H A DDWARFFormValueTest.cpp125 using ParamType = std::tuple<Form, uint16_t, uint8_t, DwarfFormat, typedef
196 ParamType(DW_FORM_exprloc, 0, 0, DWARF32, SampleLEB,
198 ParamType(DW_FORM_block, 0, 0, DWARF32, SampleLEB,
206 ParamType(DW_FORM_string, 0, 0, DWARF32, SampleString,
283 ParamType(DW_FORM_GNU_str_index, 0, 0, DWARF32, SampleLEB,
285 ParamType(DW_FORM_indirect, 0, 0, DWARF32,
288 ParamType(DW_FORM_indirect, 0, 0, DWARF32,
291 ParamType(DW_FORM_indirect, 4, 0, DWARF32,
294 ParamType(DW_FORM_indirect, 4, 4, DWARF32,
297 ParamType(DW_FORM_indirect, 4, 4, DWARF32,
[all …]
/llvm-project-15.0.7/libc/test/src/__support/CPP/
H A Darrayref_test.cpp22 ParamType arrayref(element); in TYPED_TEST()
33 ParamType arrayref(values, 2); in TYPED_TEST()
57 ParamType arrayref(values); in TYPED_TEST()
69 ParamType arrayref(values); in TYPED_TEST()
80 ParamType initial(values); in TYPED_TEST()
93 ParamType arrayref(values); in TYPED_TEST()
112 ParamType arrayref(values); in TYPED_TEST()
148 ParamType arrayref(values); in TYPED_TEST()
167 ParamType arrayref(values); in TYPED_TEST()
186 ParamType arrayref(values); in TYPED_TEST()
[all …]
/llvm-project-15.0.7/libc/test/src/string/memory_utils/
H A Delements_test.cpp68 Buffer<ParamType> Dst; in TYPED_TEST()
69 const auto buffer = GetRandomBuffer<ParamType>(); in TYPED_TEST()
70 copy<ParamType>(Dst.data(), buffer.data()); in TYPED_TEST()
71 for (size_t i = 0; i < ParamType::SIZE; ++i) in TYPED_TEST()
83 constexpr size_t SIZE = ParamType::SIZE; in TYPED_TEST()
90 move<ParamType>(&Buffer[Offset], &Buffer[0]); in TYPED_TEST()
109 Buffer<ParamType> initial; in TYPED_TEST()
117 for (size_t i = 0; i < ParamType::SIZE; ++i) { in TYPED_TEST()
128 Buffer<ParamType> Dst; in TYPED_TEST()
131 splat_set<ParamType>(Dst.data(), value); in TYPED_TEST()
[all …]
H A Dmemory_access_test.cpp162 template <typename ParamType>
169 expected.Touch(Size - ParamType::SIZE, ParamType::SIZE); in TearDown()
177 template <typename ParamType>
183 expected.Touch(0, ParamType::SIZE); in TearDown()
184 expected.Touch(Size - ParamType::SIZE, ParamType::SIZE); in TearDown()
192 template <typename ParamType>
198 for (size_t i = 0; i < Size - ParamType::SIZE; i += ParamType::SIZE) in TearDown()
199 expected.Touch(i, ParamType::SIZE); in TearDown()
200 expected.Touch(Size - ParamType::SIZE, ParamType::SIZE); in TearDown()
208 template <typename ParamType>
[all …]
H A Dbackend_test.cpp89 for (size_t i = 0; i < ParamType::SIZE; ++i) in TYPED_TEST()
107 EXPECT_EQ(ParamType::threeWayCmp(a, a), 0); in TYPED_TEST()
114 EXPECT_GT(ParamType::threeWayCmp(a, b), 0); in TYPED_TEST()
115 EXPECT_LT(ParamType::threeWayCmp(b, a), 0); in TYPED_TEST()
117 EXPECT_LT(ParamType::threeWayCmp(a, b), 0); in TYPED_TEST()
118 EXPECT_GT(ParamType::threeWayCmp(b, a), 0); in TYPED_TEST()
184 const auto loaded = ParamType::load(expected); in TYPED_TEST()
185 for (size_t i = 0; i < ParamType::SIZE; ++i) in TYPED_TEST()
191 alignas(64) typename ParamType::BufferT stored; in TYPED_TEST()
192 ParamType::store(stored, expected); in TYPED_TEST()
[all …]
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/readability/
H A DSuspiciousCallArgumentCheck.cpp304 return !ParamType->isReferenceType() || in areRefAndQualCompatible()
371 ParamType = convertToPointeeOrArrayElementQualType(ParamType); in arePointerTypesCompatible()
390 if (ArgType.isNull() || ParamType.isNull()) in areTypesCompatible()
394 ParamType = ParamType.getCanonicalType(); in areTypesCompatible()
396 if (ArgType == ParamType) in areTypesCompatible()
408 ParamType = ParamType.getNonReferenceType(); in areTypesCompatible()
415 if ((ParamType->isEnumeralType() && in areTypesCompatible()
427 ParamType = ParamType->getPointeeType(); in areTypesCompatible()
428 return ArgType == ParamType; in areTypesCompatible()
445 ParamType = convertToPointeeOrArrayElementQualType(ParamType); in areTypesCompatible()
[all …]
/llvm-project-15.0.7/llvm/utils/unittest/googletest/include/gtest/internal/
H A Dgtest-param-util.h59 template <class ParamType>
64 ParamType param;
71 template <class ParamType>
170 typedef T ParamType; typedef
377 template <class ParamType>
398 typedef typename TestClass::ParamType ParamType; typedef
407 const ParamType parameter_;
416 template <class ParamType>
436 using ParamType = typename TestSuite::ParamType;
492 using ParamType = typename TestSuite::ParamType;
[all …]
/llvm-project-15.0.7/clang/include/clang/ASTMatchers/
H A DASTMatchersMacros.h74 #define AST_MATCHER_FUNCTION_P(ReturnType, DefineMatcher, ParamType, Param) \ argument
75 AST_MATCHER_FUNCTION_P_OVERLOAD(ReturnType, DefineMatcher, ParamType, Param, \
77 #define AST_MATCHER_FUNCTION_P_OVERLOAD(ReturnType, DefineMatcher, ParamType, \ argument
79 inline ReturnType DefineMatcher(ParamType const &Param); \
80 typedef ReturnType (&DefineMatcher##_Type##OverloadId)(ParamType const &); \
81 inline ReturnType DefineMatcher(ParamType const &Param)
128 #define AST_MATCHER_P(Type, DefineMatcher, ParamType, Param) \ argument
129 AST_MATCHER_P_OVERLOAD(Type, DefineMatcher, ParamType, Param, 0)
131 #define AST_MATCHER_P_OVERLOAD(Type, DefineMatcher, ParamType, Param, \ argument
138 ParamType const &A##Param) \
[all …]
/llvm-project-15.0.7/llvm/utils/unittest/googletest/include/gtest/
H A Dgtest-param-test.h303 typedef typename std::iterator_traits<ForwardIterator>::value_type ParamType; in ValuesIn() typedef
304 return internal::ParamGenerator<ParamType>( in ValuesIn()
305 new internal::ValuesInIteratorRangeGenerator<ParamType>(begin, end)); in ValuesIn()
466 static ::testing::internal::ParamGenerator<test_suite_name::ParamType> \
471 const ::testing::TestParamInfo<test_suite_name::ParamType>& info) { \
475 ::testing::internal::DefaultParamName<test_suite_name::ParamType>, \
483 ::testing::internal::DefaultParamName<test_suite_name::ParamType>, \
H A Dgtest.h1850 typedef T ParamType; typedef
1855 static const ParamType& GetParam() { in GetParam()
1865 static void SetParam(const ParamType* parameter) { in SetParam()
1870 static const ParamType* parameter_;
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaTemplate.cpp6564 if (ParamType->isPointerType() || ParamType->isNullPtrType()) { in CheckTemplateArgumentAddressOfObjectOrFunction()
6668 << ParamType; in CheckTemplateArgumentAddressOfObjectOrFunction()
6674 << ParamType in CheckTemplateArgumentAddressOfObjectOrFunction()
6697 << ParamType; in CheckTemplateArgumentAddressOfObjectOrFunction()
6892 ParamType = in CheckTemplateArgument()
6915 ParamType = CheckNonTypeTemplateParameterType(ParamType, Arg->getExprLoc()); in CheckTemplateArgument()
7061 assert(ParamType->isPointerType() || ParamType->isReferenceType() || in CheckTemplateArgument()
7115 << ParamType; in CheckTemplateArgument()
7555 ParamType = Context.getArrayDecayedType(ParamType); in BuildExpressionFromDeclTemplateArgument()
7557 ParamType = Context.getPointerType(ParamType); in BuildExpressionFromDeclTemplateArgument()
[all …]
H A DSemaTemplateDeduction.cpp404 ParamType = Expansion->getPattern(); in DeduceNonTypeTemplateArgument()
411 if (ParamType->isReferenceType()) in DeduceNonTypeTemplateArgument()
412 ParamType = ParamType.getNonReferenceType(); in DeduceNonTypeTemplateArgument()
3635 if (!ParamType->isFunctionType() && in ResolveOverloadForDeduction()
3636 !ParamType->isFunctionPointerType() && in ResolveOverloadForDeduction()
3727 if (ParamType.hasQualifiers()) in AdjustFunctionParmAndArgTypesForDeduction()
3728 ParamType = ParamType.getUnqualifiedType(); in AdjustFunctionParmAndArgTypesForDeduction()
3804 if (isSimpleTemplateIdType(ParamType) || in AdjustFunctionParmAndArgTypesForDeduction()
3805 (isa<PointerType>(ParamType) && in AdjustFunctionParmAndArgTypesForDeduction()
3900 QualType OrigParamType = ParamType; in DeduceTemplateArgumentsFromCallArgument()
[all …]
/llvm-project-15.0.7/llvm/lib/Target/WebAssembly/
H A DWebAssemblyFixFunctionBitcasts.cpp136 Type *ParamType = *PI; in createWrapper() local
138 if (ArgType == ParamType) { in createWrapper()
141 if (CastInst::isBitOrNoopPointerCastable(ArgType, ParamType, DL)) { in createWrapper()
143 CastInst::CreateBitOrPointerCast(AI, ParamType, "cast"); in createWrapper()
146 } else if (ArgType->isStructTy() || ParamType->isStructTy()) { in createWrapper()
154 << *ParamType << " Got: " << *ArgType << "\n"); in createWrapper()
/llvm-project-15.0.7/clang/lib/Analysis/
H A DConsumed.cpp181 static bool isRValueRef(QualType ParamType) { in isRValueRef() argument
182 return ParamType->isRValueReferenceType(); in isRValueRef()
190 return ParamType->isPointerType() || ParamType->isReferenceType(); in isPointerOrRef()
624 QualType ParamType = Param->getType(); in handleCall() local
649 else if (isRValueRef(ParamType) || isConsumableType(ParamType)) in handleCall()
651 else if (isPointerOrRef(ParamType) && in handleCall()
653 isSetOnReadPtrType(ParamType))) in handleCall()
858 QualType ParamType = Param->getType(); in VisitParmVarDecl() local
863 else if (isConsumableType(ParamType)) in VisitParmVarDecl()
865 else if (isRValueRef(ParamType) && in VisitParmVarDecl()
[all …]
/llvm-project-15.0.7/clang-tools-extra/clangd/refactor/tweaks/
H A DMemberwiseConstructor.cpp229 QualType ParamType = Info.Field->getType().getLocalUnqualifiedType(); in buildCode() local
231 ParamType = Class->getASTContext().getLValueReferenceType( in buildCode()
232 ParamType.withConst()); in buildCode()
233 OS << printType(ParamType, *Class, in buildCode()
/llvm-project-15.0.7/llvm/lib/Target/PowerPC/
H A DPPCMachineFunctionInfo.h26 enum ParamType { enum
136 SmallVector<ParamType, 32> ParamtersType;
242 void appendParameterType(ParamType Type);
H A DPPCMachineFunctionInfo.cpp75 void PPCFunctionInfo::appendParameterType(ParamType Type) { in appendParameterType()
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/
H A DMismatchedIteratorChecker.cpp177 const auto *ParamType = in checkPreCall() local
179 if (!ParamType || in checkPreCall()
180 ParamType->getReplacedParameter()->getDecl() != TPDecl) in checkPreCall()
/llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/tests/
H A Dsanitizer_stack_store_test.cpp138 StackStorePackTest::ParamType(StackStore::Compression::Delta,
140 StackStorePackTest::ParamType(StackStore::Compression::LZW,
/llvm-project-15.0.7/libc/utils/UnitTest/
H A DLibcTest.h169 template <typename ParamType> static constexpr const char *GetTypeName() { in GetTypeName()
248 using ParamType = T; \
268 using ParamType = T; \
/llvm-project-15.0.7/flang/unittests/Runtime/
H A DCommandTest.cpp408 template <typename ParamType = char>
409 void SetEnv(const ParamType *name, const ParamType *value,
/llvm-project-15.0.7/clang/lib/AST/
H A DDeclCXX.cpp2392 QualType ParamType = getParamDecl(0)->getType(); in isCopyAssignmentOperator() local
2393 if (const auto *Ref = ParamType->getAs<LValueReferenceType>()) in isCopyAssignmentOperator()
2394 ParamType = Ref->getPointeeType(); in isCopyAssignmentOperator()
2399 return Context.hasSameUnqualifiedType(ClassType, ParamType); in isCopyAssignmentOperator()
2412 QualType ParamType = getParamDecl(0)->getType(); in isMoveAssignmentOperator() local
2413 if (!ParamType->isRValueReferenceType()) in isMoveAssignmentOperator()
2415 ParamType = ParamType->getPointeeType(); in isMoveAssignmentOperator()
2420 return Context.hasSameUnqualifiedType(ClassType, ParamType); in isMoveAssignmentOperator()
2739 CanQualType ParamType = Context.getCanonicalType(Param->getType()); in isSpecializationCopyingObject() local
2744 if (ParamType.getUnqualifiedType() != ClassTy) in isSpecializationCopyingObject()
/llvm-project-15.0.7/clang/docs/
H A DLibASTMatchers.rst109 ``AST_MATCHER_P(Type, Name, ParamType, Param)``
114 named *Name* that takes a parameter of type *ParamType* and returns the
/llvm-project-15.0.7/llvm/utils/TableGen/
H A DCodeGenTarget.cpp922 MVT ParamType = MVT(IS.ParamVTs[ParamIdx]); in isParamAPointer() local
923 return ParamType == MVT::iPTR || ParamType == MVT::iPTRAny; in isParamAPointer()
/llvm-project-15.0.7/llvm/tools/obj2yaml/
H A Dwasm2yaml.cpp221 for (const auto &ParamType : FunctionSig.Params) in dump() local
222 Sig.ParamTypes.emplace_back(static_cast<uint32_t>(ParamType)); in dump()

12