Home
last modified time | relevance | path

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

123456

/freebsd/contrib/llvm-project/llvm/tools/llvm-stress/
H A Dllvm-stress.cpp159 Modifier(BasicBlock *Block, PieceTable *PT, Random *R) in Modifier()
160 : BB(Block), PT(PT), Ran(R), Context(BB->getContext()) { in Modifier()
213 assert(PT->size()); in getRandomVal()
214 return PT->at(getRandom() % PT->size()); in getRandomVal()
233 for (unsigned i=0; i<PT->size(); ++i) { in getRandomValue()
234 Value *V = PT->at((index + i) % PT->size()); in getRandomValue()
264 for (unsigned i=0; i<PT->size(); ++i) { in getRandomPointerValue()
265 Value *V = PT->at((index + i) % PT->size()); in getRandomPointerValue()
275 for (unsigned i=0; i<PT->size(); ++i) { in getRandomVectorValue()
276 Value *V = PT->at((index + i) % PT->size()); in getRandomVectorValue()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/AVR/
H A DAVR.h55 auto *PT = cast<PointerType>(V->getType()); in isProgramMemoryAddress() local
56 assert(PT != nullptr && "unexpected MemSDNode"); in isProgramMemoryAddress()
57 return PT->getAddressSpace() == ProgramMemory || in isProgramMemoryAddress()
58 PT->getAddressSpace() == ProgramMemory1 || in isProgramMemoryAddress()
59 PT->getAddressSpace() == ProgramMemory2 || in isProgramMemoryAddress()
60 PT->getAddressSpace() == ProgramMemory3 || in isProgramMemoryAddress()
61 PT->getAddressSpace() == ProgramMemory4 || in isProgramMemoryAddress()
62 PT->getAddressSpace() == ProgramMemory5; in isProgramMemoryAddress()
66 auto *PT = cast<PointerType>(V->getType()); in getAddressSpace() local
67 assert(PT != nullptr && "unexpected MemSDNode"); in getAddressSpace()
[all …]
/freebsd/contrib/llvm-project/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()
119 PointerType::get(PT->getContext(), AMDGPUAS::GLOBAL_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()
[all …]
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()
H A DAMDGPULowerKernelArguments.cpp170 if (PointerType *PT = dyn_cast<PointerType>(ArgTy)) { in lowerKernelArguments() local
175 if ((PT->getAddressSpace() == AMDGPUAS::LOCAL_ADDRESS || in lowerKernelArguments()
176 PT->getAddressSpace() == AMDGPUAS::REGION_ADDRESS) && in lowerKernelArguments()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DBuiltinGCs.cpp78 const PointerType *PT = cast<PointerType>(Ty); in isGCManagedPointer() local
84 return (1 == PT->getAddressSpace()); in isGCManagedPointer()
111 const PointerType *PT = cast<PointerType>(Ty); in isGCManagedPointer() local
113 return (1 == PT->getAddressSpace()); in isGCManagedPointer()
/freebsd/contrib/llvm-project/clang/include/clang/Support/
H A DRISCVVIntrinsicUtils.h173 BaseTypeModifier PT,
176 : PT(static_cast<uint8_t>(PT)), VTM(static_cast<uint8_t>(VTM)), in PT() function
178 constexpr PrototypeDescriptor(uint8_t PT, uint8_t VTM, uint8_t TM) in PrototypeDescriptor()
179 : PT(PT), VTM(VTM), TM(TM) {} in PrototypeDescriptor()
181 uint8_t PT = static_cast<uint8_t>(BaseTypeModifier::Invalid); member
189 return PD.PT == PT && PD.VTM == VTM && PD.TM == TM;
192 return std::tie(PT, VTM, TM) < std::tie(PD.PT, PD.VTM, PD.TM);
/freebsd/contrib/llvm-project/clang/lib/Support/
H A DRISCVVIntrinsicUtils.cpp411 BaseTypeModifier PT = BaseTypeModifier::Invalid; in parsePrototypeDescriptor() local
421 PT = BaseTypeModifier::Scalar; in parsePrototypeDescriptor()
424 PT = BaseTypeModifier::Vector; in parsePrototypeDescriptor()
427 PT = BaseTypeModifier::Vector; in parsePrototypeDescriptor()
431 PT = BaseTypeModifier::Vector; in parsePrototypeDescriptor()
435 PT = BaseTypeModifier::Vector; in parsePrototypeDescriptor()
439 PT = BaseTypeModifier::Vector; in parsePrototypeDescriptor()
443 PT = BaseTypeModifier::Void; in parsePrototypeDescriptor()
446 PT = BaseTypeModifier::SizeT; in parsePrototypeDescriptor()
449 PT = BaseTypeModifier::Ptrdiff; in parsePrototypeDescriptor()
[all …]
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DScanfFormatString.cpp425 QualType PT = QT->getPointeeType(); in fixType() local
428 if (const EnumType *ETy = PT->getAs<EnumType>()) { in fixType()
432 PT = ETy->getDecl()->getIntegerType(); in fixType()
435 const BuiltinType *BT = PT->getAs<BuiltinType>(); in fixType()
440 if (PT->isAnyCharacterType()) { in fixType()
442 if (PT->isWideCharType()) in fixType()
504 namedTypeToLengthModifier(PT, LM); in fixType()
514 if (PT->isRealFloatingType()) in fixType()
516 else if (PT->isSignedIntegerType()) in fixType()
518 else if (PT->isUnsignedIntegerType()) in fixType()
H A DFormatString.cpp333 const PointerType *PT = argTy->getAs<PointerType>(); in matchesType() local
334 if (!PT) in matchesType()
338 if (PT->getPointeeType().isConstQualified()) in matchesType()
341 argTy = PT->getPointeeType(); in matchesType()
524 const PointerType *PT = argTy->getAs<PointerType>(); in matchesType() local
525 if (!PT) in matchesType()
527 QualType pointeeTy = PT->getPointeeType(); in matchesType()
543 const PointerType *PT = argTy->getAs<PointerType>(); in matchesType() local
544 if (!PT) in matchesType()
547 C.getCanonicalType(PT->getPointeeType()).getUnqualifiedType(); in matchesType()
[all …]
/freebsd/contrib/ofed/opensm/include/complib/
H A Dcl_types_osd.h72 #define PT(exp) __builtin_expect( ((uintptr_t)(exp)), 1 ) macro
75 #define PT(exp) (exp)
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/Disassembler/
H A DWebAssemblyDisassembler.cpp175 for (auto PT = PrefixTable; PT->Table; PT++) { in getInstruction() local
176 if (PT->Prefix == Opc) { in getInstruction()
177 WasmInst = PT->Table; in getInstruction()
/freebsd/contrib/llvm-project/llvm/utils/TableGen/Common/GlobalISel/
H A DPatterns.cpp30 PatternType PT(PT_ValueType); in get() local
31 PT.Data.Def = R; in get()
32 return PT; in get()
44 PatternType PT(PT_TypeOf); in get() local
45 PT.Data.Str = RawOpName.drop_front(1); in get()
46 return PT; in get()
54 PatternType PT(PT_TypeOf); in getTypeOf() local
55 PT.Data.Str = OpName; in getTypeOf()
56 return PT; in getTypeOf()
/freebsd/contrib/processor-trace/libipt/include/
H A Dintel-pt.h.in40 /* Intel(R) Processor Trace (Intel PT) decoder library.
240 /** A collection of Intel PT errata. */
261 * Processor Trace (Intel(R) PT) packet before the LBR or Intel PT
266 /** SKD007: Intel(R) PT Buffer Overflow May Result in Incorrect Packets.
270 * Under complex micro-architectural conditions, an Intel PT (Processor
281 * If VM entry clears Intel(R) PT (Intel Processor Trace)
289 /** SKD010: Intel(R) PT FUP May be Dropped After OVF.
293 * Some Intel PT (Intel Processor Trace) OVF (Overflow) packets may not
299 /** SKL014: Intel(R) PT TIP.PGD May Not Have Target IP Payload.
303 * When Intel PT (Intel Processor Trace) is enabled and a direct
[all …]
/freebsd/contrib/llvm-project/clang/lib/AST/Interp/
H A DByteCodeEmitter.cpp137 PrimType PT = T.value_or(PT_Ptr); in compileFunc() local
138 Descriptor *Desc = P.createDescriptor(PD, PT); in compileFunc()
139 ParamDescriptors.insert({ParamOffset, {PT, Desc}}); in compileFunc()
142 ParamOffset += align(primSize(PT)); in compileFunc()
143 ParamTypes.push_back(PT); in compileFunc()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/Targets/
H A DNVPTX.cpp301 llvm::PointerType *PT, in getNullPointer() argument
304 if (PT->getAddressSpace() != Ctx.getTargetAddressSpace(LangAS::opencl_local)) in getNullPointer()
305 return llvm::ConstantPointerNull::get(PT); in getNullPointer()
308 PT->getContext(), Ctx.getTargetAddressSpace(LangAS::opencl_generic)); in getNullPointer()
310 llvm::ConstantPointerNull::get(NPT), PT); in getNullPointer()
/freebsd/contrib/llvm-project/lldb/source/Plugins/Trace/intel-pt/
H A DTraceIntelPTProperties.td8 Desc<"Specify how many instructions following an individual Intel PT "
20 Desc<"Specify how many instructions following an individual Intel PT "
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaObjC.cpp259 const PointerType *PT = ThrowType->getAs<PointerType>(); in BuildObjCAtThrowStmt() local
260 if (!PT || !PT->getPointeeType()->isVoidType()) in BuildObjCAtThrowStmt()
1490 const auto *PT = T->getAs<ObjCObjectPointerType>(); in isNSStringType() local
1491 if (!PT) in isNSStringType()
1494 ObjCInterfaceDecl *Cls = PT->getObjectType()->getInterface(); in isNSStringType()
1509 const auto *PT = T->getAs<PointerType>(); in isCFStringType() local
1510 if (!PT) in isCFStringType()
1513 const auto *RT = PT->getPointeeType()->getAs<RecordType>(); in isCFStringType()
1567 ParsedType PT; in handleIBOutletCollection() local
1570 PT = AL.getTypeArg(); in handleIBOutletCollection()
[all …]
/freebsd/share/i18n/esdb/ISO646/
H A DISO646.alias77 PT iso-ir-16
78 PT pt
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DPredicateInfo.h108 PredicateBase(PredicateType PT, Value *Op, Value *Condition)
109 : Type(PT), OriginalOp(Op), Condition(Condition) {} in PredicateBase() argument
/freebsd/share/i18n/csmapper/EBCDIC/
H A DUCS%EBCDIC-PT.src1 # $NetBSD: UCS%EBCDIC-PT.src,v 1.3 2003/07/14 06:03:41 tshiozak Exp $
4 NAME "UCS/EBCDIC-PT"
H A DEBCDIC-PT%UCS.src1 # $NetBSD: EBCDIC-PT%UCS.src,v 1.2 2003/07/12 16:11:07 tshiozak Exp $
4 NAME "EBCDIC-PT/UCS"
H A DEBCDIC.part15 PT
/freebsd/share/i18n/csmapper/ISO646/
H A DISO646-PT%UCS.6461 # $NetBSD: ISO646-PT%UCS.646,v 1.1 2003/06/27 08:40:43 tshiozak Exp $
/freebsd/contrib/llvm-project/llvm/lib/TargetParser/
H A DHost.cpp2146 Triple PT(Triple::normalize(TargetTripleString)); in getProcessTriple() local
2151 PT = withHostArch(PT); in getProcessTriple()
2154 if (sizeof(void *) == 8 && PT.isArch32Bit()) in getProcessTriple()
2155 PT = PT.get64BitArchVariant(); in getProcessTriple()
2156 if (sizeof(void *) == 4 && PT.isArch64Bit()) in getProcessTriple()
2157 PT = PT.get32BitArchVariant(); in getProcessTriple()
2159 return PT.str(); in getProcessTriple()

123456