Home
last modified time | relevance | path

Searched refs:PT (Results 1 – 25 of 130) sorted by relevance

123456

/llvm-project-15.0.7/llvm/tools/llvm-stress/
H A Dllvm-stress.cpp157 : BB(Block), PT(PT), Ran(R), Context(BB->getContext()) { in Modifier()
210 assert(PT->size()); in getRandomVal()
211 return PT->at(getRandom() % PT->size()); in getRandomVal()
231 Value *V = PT->at((index + i) % PT->size()); in getRandomValue()
264 Value *V = PT->at((index + i) % PT->size()); in getRandomPointerValue()
275 Value *V = PT->at((index + i) % PT->size()); in getRandomVectorValue()
320 PieceTable *PT; member
342 PT->push_back(V); in Act()
515 PT->push_back(V); in Act()
680 Modifier::PieceTable PT; in FillFunction() local
[all …]
/llvm-project-15.0.7/llvm/lib/Target/AVR/
H A DAVR.h54 auto *PT = cast<PointerType>(V->getType()); in isProgramMemoryAddress() local
55 assert(PT != nullptr && "unexpected MemSDNode"); in isProgramMemoryAddress()
56 return PT->getAddressSpace() == ProgramMemory || in isProgramMemoryAddress()
57 PT->getAddressSpace() == ProgramMemory1 || in isProgramMemoryAddress()
58 PT->getAddressSpace() == ProgramMemory2 || in isProgramMemoryAddress()
59 PT->getAddressSpace() == ProgramMemory3 || in isProgramMemoryAddress()
60 PT->getAddressSpace() == ProgramMemory4 || in isProgramMemoryAddress()
61 PT->getAddressSpace() == ProgramMemory5; in isProgramMemoryAddress()
65 auto *PT = cast<PointerType>(V->getType()); in getAddressSpace() local
66 assert(PT != nullptr && "unexpected MemSDNode"); in getAddressSpace()
[all …]
/llvm-project-15.0.7/clang/lib/Analysis/
H A DCocoaConventions.cpp41 const PointerType* PT = RetTy->castAs<PointerType>(); in isRefType() local
42 if (!PT || !PT->getPointeeType().getUnqualifiedType()->isVoidType()) in isRefType()
69 const ObjCObjectPointerType *PT = Ty->getAs<ObjCObjectPointerType>(); in isCocoaObjectRef() local
72 if (!PT) in isCocoaObjectRef()
77 if (PT->isObjCIdType() || PT->isObjCQualifiedIdType() || in isCocoaObjectRef()
78 PT->isObjCClassType() || PT->isObjCQualifiedClassType()) in isCocoaObjectRef()
83 const ObjCInterfaceDecl *ID = PT->getInterfaceDecl(); in isCocoaObjectRef()
/llvm-project-15.0.7/llvm/lib/Target/AMDGPU/
H A DAMDGPUPromoteKernelArguments.cpp101 PointerType *PT = dyn_cast<PointerType>(Ptr->getType()); in promotePointer() local
102 if (!PT) in promotePointer()
105 if (PT->getAddressSpace() == AMDGPUAS::FLAT_ADDRESS || in promotePointer()
106 PT->getAddressSpace() == AMDGPUAS::GLOBAL_ADDRESS || in promotePointer()
107 PT->getAddressSpace() == AMDGPUAS::CONSTANT_ADDRESS) in promotePointer()
110 if (PT->getAddressSpace() != AMDGPUAS::FLAT_ADDRESS) in promotePointer()
123 B.CreateAddrSpaceCast(Cast, PT, Twine(Ptr->getName(), ".flat")); in promotePointer()
170 PointerType *PT = dyn_cast<PointerType>(Arg.getType()); in run() local
171 if (!PT || (PT->getAddressSpace() != AMDGPUAS::FLAT_ADDRESS && in run()
172 PT->getAddressSpace() != AMDGPUAS::GLOBAL_ADDRESS && in run()
[all …]
H A DAMDGPULowerKernelArguments.cpp120 if (PointerType *PT = dyn_cast<PointerType>(ArgTy)) { in runOnFunction() local
125 if ((PT->getAddressSpace() == AMDGPUAS::LOCAL_ADDRESS || in runOnFunction()
126 PT->getAddressSpace() == AMDGPUAS::REGION_ADDRESS) && in runOnFunction()
H A DAMDGPUPerfHintAnalysis.cpp337 if (auto PT = dyn_cast<PointerType>(V->getType())) { in isGlobalAddr() local
338 unsigned As = PT->getAddressSpace(); in isGlobalAddr()
346 if (auto PT = dyn_cast<PointerType>(V->getType())) in isLocalAddr() local
347 return PT->getAddressSpace() == AMDGPUAS::LOCAL_ADDRESS; in isLocalAddr()
/llvm-project-15.0.7/libcxx/test/std/iterators/iterator.primitives/iterator.traits/
H A Dempty.fail.cpp72 …typedef T::pointer PT; // expected-error-re {{no type named 'pointer' in 'std:{{.*}}:ite… in main() typedef
81 …typedef T::pointer PT; // expected-error-re {{no type named 'pointer' in 'std:{{.*}}:ite… in main() typedef
90 …typedef T::pointer PT; // expected-error-re {{no type named 'pointer' in 'std:{{.*}}:ite… in main() typedef
99 …typedef T::pointer PT; // expected-error-re {{no type named 'pointer' in 'std:{{.*}}:ite… in main() typedef
108 …typedef T::pointer PT; // expected-error-re {{no type named 'pointer' in 'std:{{.*}}:ite… in main() typedef
117 …typedef T::pointer PT; // expected-error-re {{no type named 'pointer' in 'std:{{.*}}:ite… in main() typedef
/llvm-project-15.0.7/libcxx/test/std/thread/futures/futures.task/futures.task.members/
H A Dctor1.fail.cpp24 typedef std::packaged_task<A(int, char)> PT; typedef
32 PT p1{init}; // expected-error {{no matching constructor}} in main()
33 PT p2{c_init}; // expected-error {{no matching constructor}} in main()
34 …PT p3{std::move(init)}; // expected-error {{no matching constructor for initialization of 'PT' (ak… in main()
H A Dctor2.compile.pass.cpp25 using PT = std::packaged_task<A(int, char)>; typedef
28 static_assert(!std::is_constructible<PT, std::allocator_arg_t, test_allocator<A>, VPT>::value, "");
/llvm-project-15.0.7/clang/include/clang/Support/
H A DRISCVVIntrinsicUtils.h98 BaseTypeModifier PT,
101 : PT(static_cast<uint8_t>(PT)), VTM(static_cast<uint8_t>(VTM)), in PT() function
103 constexpr PrototypeDescriptor(uint8_t PT, uint8_t VTM, uint8_t TM) in PrototypeDescriptor()
104 : PT(PT), VTM(VTM), TM(TM) {} in PrototypeDescriptor()
106 uint8_t PT = static_cast<uint8_t>(BaseTypeModifier::Invalid); member
114 return PD.PT == PT && PD.VTM == VTM && PD.TM == TM;
117 return std::tie(PT, VTM, TM) < std::tie(PD.PT, PD.VTM, PD.TM);
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/
H A DCheckSecuritySyntaxOnly.cpp364 if (!PT) in checkCall_bcmp()
406 if (!PT) in checkCall_bcopy()
447 const PointerType *PT = FPT->getParamType(0)->getAs<PointerType>(); in checkCall_bzero() local
448 if (!PT) in checkCall_bzero()
489 const PointerType *PT = FPT->getParamType(0)->getAs<PointerType>(); in checkCall_gets() local
490 if (!PT) in checkCall_gets()
529 const PointerType *PT = FPT->getParamType(1)->getAs<PointerType>(); in checkCall_getpw() local
530 if (!PT) in checkCall_getpw()
570 if (!PT) in checkCall_mktemp()
838 if (!PT) in checkCall_strCommon()
[all …]
/llvm-project-15.0.7/llvm/lib/IR/
H A DBuiltinGCs.cpp77 const PointerType *PT = cast<PointerType>(Ty); in isGCManagedPointer() local
83 return (1 == PT->getAddressSpace()); in isGCManagedPointer()
109 const PointerType *PT = cast<PointerType>(Ty); in isGCManagedPointer() local
111 return (1 == PT->getAddressSpace()); in isGCManagedPointer()
/llvm-project-15.0.7/clang/lib/Support/
H A DRISCVVIntrinsicUtils.cpp380 PT = BaseTypeModifier::Scalar; in parsePrototypeDescriptor()
383 PT = BaseTypeModifier::Vector; in parsePrototypeDescriptor()
386 PT = BaseTypeModifier::Vector; in parsePrototypeDescriptor()
390 PT = BaseTypeModifier::Vector; in parsePrototypeDescriptor()
394 PT = BaseTypeModifier::Vector; in parsePrototypeDescriptor()
398 PT = BaseTypeModifier::Vector; in parsePrototypeDescriptor()
402 PT = BaseTypeModifier::Void; in parsePrototypeDescriptor()
405 PT = BaseTypeModifier::SizeT; in parsePrototypeDescriptor()
408 PT = BaseTypeModifier::Ptrdiff; in parsePrototypeDescriptor()
414 PT = BaseTypeModifier::SignedLong; in parsePrototypeDescriptor()
[all …]
/llvm-project-15.0.7/clang/lib/AST/
H A DScanfFormatString.cpp423 QualType PT = QT->getPointeeType(); in fixType() local
426 if (const EnumType *ETy = PT->getAs<EnumType>()) { in fixType()
430 PT = ETy->getDecl()->getIntegerType(); in fixType()
433 const BuiltinType *BT = PT->getAs<BuiltinType>(); in fixType()
438 if (PT->isAnyCharacterType()) { in fixType()
440 if (PT->isWideCharType()) in fixType()
503 if (isa<TypedefType>(PT) && (LangOpt.C99 || LangOpt.CPlusPlus11)) in fixType()
504 namedTypeToLengthModifier(PT, LM); in fixType()
514 if (PT->isRealFloatingType()) in fixType()
516 else if (PT->isSignedIntegerType()) in fixType()
[all …]
H A DFormatString.cpp332 const PointerType *PT = argTy->getAs<PointerType>(); in matchesType() local
333 if (!PT) in matchesType()
337 if (PT->getPointeeType().isConstQualified()) in matchesType()
340 argTy = PT->getPointeeType(); in matchesType()
421 const PointerType *PT = argTy->getAs<PointerType>(); in matchesType() local
422 if (!PT) in matchesType()
424 QualType pointeeTy = PT->getPointeeType(); in matchesType()
440 const PointerType *PT = argTy->getAs<PointerType>(); in matchesType() local
441 if (!PT) in matchesType()
484 if (const PointerType *PT = argTy->getAs<PointerType>()) { in matchesType() local
[all …]
/llvm-project-15.0.7/llvm/unittests/AsmParser/
H A DAsmParserTest.cpp254 PointerType *PT = cast<PointerType>(Ty); in TEST() local
255 ASSERT_TRUE(PT->isOpaqueOrPointeeTypeMatches(Type::getIntNTy(Ctx, 32))); in TEST()
262 PT = cast<PointerType>(Ty); in TEST()
264 ASSERT_TRUE(PT->isOpaqueOrPointeeTypeMatches(ExpectedElemTy)); in TEST()
381 PointerType *PT = cast<PointerType>(Ty); in TEST() local
382 ASSERT_TRUE(PT->isOpaqueOrPointeeTypeMatches(Type::getIntNTy(Ctx, 32))); in TEST()
390 PT = cast<PointerType>(Ty); in TEST()
392 ASSERT_TRUE(PT->isOpaqueOrPointeeTypeMatches(ExpectedElemTy)); in TEST()
/llvm-project-15.0.7/llvm/test/CodeGen/VE/Vector/
H A Dvec_gather.ll19 define fastcc <256 x double> @vec_mgather_pt_v256f64(<256 x double*> %P, <256 x double> %PT, <256 x…
31 …@llvm.masked.gather.v256f64.v256p0f64(<256 x double*> %P, i32 4, <256 x i1> %M, <256 x double> %PT)
51 define fastcc <256 x float> @vec_mgather_pt_v256f32(<256 x float*> %P, <256 x float> %PT, <256 x i1…
63 …> @llvm.masked.gather.v256f32.v256p0f32(<256 x float*> %P, i32 4, <256 x i1> %M, <256 x float> %PT)
83 define fastcc <256 x i32> @vec_mgather_pt_v256i32(<256 x i32*> %P, <256 x i32> %PT, <256 x i1> %M) {
95 … i32> @llvm.masked.gather.v256i32.v256p0i32(<256 x i32*> %P, i32 4, <256 x i1> %M, <256 x i32> %PT)
H A Dvec_load.ll44 define fastcc <256 x double> @vec_mload_pt_v256f64(<256 x double>* %P, <256 x double> %PT, <256 x i…
55 … @llvm.masked.load.v256f64.p0v256f64(<256 x double>* %P, i32 16, <256 x i1> %M, <256 x double> %PT)
78 define fastcc <256 x float> @vec_mload_pt_v256f32(<256 x float>* %P, <256 x float> %PT, <256 x i1> …
89 …t> @llvm.masked.load.v256f32.p0v256f32(<256 x float>* %P, i32 16, <256 x i1> %M, <256 x float> %PT)
112 define fastcc <256 x i32> @vec_mload_pt_v256i32(<256 x i32>* %P, <256 x i32> %PT, <256 x i1> %M) {
123 …x i32> @llvm.masked.load.v256i32.p0v256i32(<256 x i32>* %P, i32 16, <256 x i1> %M, <256 x i32> %PT)
/llvm-project-15.0.7/llvm/test/CodeGen/VE/Packed/
H A Dvec_load.ll23 ; define fastcc <512 x float> @vec_mload_pt_v512f32(<512 x float>* %P, <512 x float> %PT, <512 x i1…
24 …t> @llvm.masked.load.v512f32.p0v512f32(<512 x float>* %P, i32 16, <512 x i1> %M, <512 x float> %PT)
47 ; define fastcc <512 x i32> @vec_mload_pt_v512i32(<512 x i32>* %P, <512 x i32> %PT, <512 x i1> %M) {
48 …x i32> @llvm.masked.load.v512i32.p0v512i32(<512 x i32>* %P, i32 16, <512 x i1> %M, <512 x i32> %PT)
/llvm-project-15.0.7/llvm/lib/Target/WebAssembly/Disassembler/
H A DWebAssemblyDisassembler.cpp172 for (auto PT = PrefixTable; PT->Table; PT++) { in getInstruction() local
173 if (PT->Prefix == Opc) { in getInstruction()
174 WasmInst = PT->Table; in getInstruction()
/llvm-project-15.0.7/clang/test/Parser/
H A Dcxx-ambig-paren-expr.cpp16 typedef int *PT; in f() typedef
18 x = (PT()[(int){1}]); // expected-warning {{compound literals}} in f()
/llvm-project-15.0.7/clang/test/Sema/
H A Doffsetof.c5 typedef struct P { int i; float f; } PT; typedef
10 PT X[100];
/llvm-project-15.0.7/lldb/docs/use/
H A Dintel_pt.rst7 Intel PT is a technology available in modern Intel CPUs that allows efficient
16 Confirm that your CPU supports Intel PT
32 Clone and build the low level Intel PT
45 Configure and build LLDB with Intel PT support
175 It's also possible to record a trace using a custom Intel PT collector
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/misc/
H A DThrowByValueCatchByReferenceCheck.cpp142 if (const auto *PT = CaughtType.getCanonicalType()->getAs<PointerType>()) { in diagnoseCatchLocations() local
149 if (!PT->getPointeeType()->isAnyCharacterType()) in diagnoseCatchLocations()
/llvm-project-15.0.7/llvm/test/Transforms/InstCombine/
H A Dmasked_intrinsics-inseltpoison.ll49 ; CHECK-NEXT: [[PTV2:%.*]] = insertelement <2 x double> poison, double [[PT:%.*]], i64 1
74 ; CHECK-NEXT: [[PTV1:%.*]] = insertelement <2 x double> poison, double [[PT:%.*]], i64 0
87 ; CHECK-NEXT: [[PTV1:%.*]] = insertelement <2 x double> poison, double [[PT:%.*]], i64 0
101 ; CHECK-NEXT: [[PTV1:%.*]] = insertelement <2 x double> poison, double [[PT:%.*]], i64 0
117 ; CHECK-NEXT: [[PTV1:%.*]] = insertelement <2 x double> poison, double [[PT:%.*]], i64 0
131 ; CHECK-NEXT: [[PTV1:%.*]] = insertelement <2 x double> poison, double [[PT:%.*]], i64 0
204 ; CHECK-NEXT: [[PT_V1:%.*]] = insertelement <4 x double> poison, double [[PT:%.*]], i64 0
219 ; CHECK-NEXT: [[PT_V1:%.*]] = insertelement <2 x double> poison, double [[PT:%.*]], i64 0
236 ; CHECK-NEXT: [[PT_V1:%.*]] = insertelement <2 x double> poison, double [[PT:%.*]], i64 0

123456