| /openbsd-src/gnu/llvm/llvm/include/llvm/ADT/ |
| H A D | SmallPtrSet.h | 343 template <typename PtrType> 345 using ConstPtrType = typename add_const_past_pointer<PtrType>::type; 346 using PtrTraits = PointerLikeTypeTraits<PtrType>; 354 using iterator = SmallPtrSetIterator<PtrType>; 355 using const_iterator = SmallPtrSetIterator<PtrType>; 357 using value_type = PtrType; 365 std::pair<iterator, bool> insert(PtrType Ptr) { 373 iterator insert(iterator, PtrType Ptr) { 379 bool erase(PtrType Ptr) { 399 void insert(std::initializer_list<PtrType> IL) { [all …]
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/IR/ |
| H A D | ReplaceConstant.h | 25 template <typename PtrType> class SmallPtrSetImpl;
|
| H A D | Type.h | 35 template <typename PtrType> class SmallPtrSetImpl;
|
| /openbsd-src/gnu/llvm/llvm/lib/IR/ |
| H A D | IRBuilder.cpp | 1160 auto *PtrType = Ptr->getType(); in CreateLaunderInvariantGroup() local 1161 auto *Int8PtrTy = getInt8PtrTy(PtrType->getPointerAddressSpace()); in CreateLaunderInvariantGroup() 1162 if (PtrType != Int8PtrTy) in CreateLaunderInvariantGroup() 1175 if (PtrType != Int8PtrTy) in CreateLaunderInvariantGroup() 1176 return CreateBitCast(Fn, PtrType); in CreateLaunderInvariantGroup() 1185 auto *PtrType = Ptr->getType(); in CreateStripInvariantGroup() local 1186 auto *Int8PtrTy = getInt8PtrTy(PtrType->getPointerAddressSpace()); in CreateStripInvariantGroup() 1187 if (PtrType != Int8PtrTy) in CreateStripInvariantGroup() 1200 if (PtrType != Int8PtrTy) in CreateStripInvariantGroup() 1201 return CreateBitCast(Fn, PtrType); in CreateStripInvariantGroup()
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/Transforms/Utils/ |
| H A D | CodeExtractor.h | 24 template <typename PtrType> class SmallPtrSetImpl;
|
| H A D | BasicBlockUtils.h | 30 template <typename PtrType> class SmallPtrSetImpl;
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/SPIRV/ |
| H A D | SPIRVBuiltins.cpp | 350 SPIRVType *PtrType = GR->getOrCreateSPIRVPointerType( in buildBuiltinVariableLoad() local 352 GR->assignSPIRVTypeToVReg(PtrType, NewRegister, MIRBuilder.getMF()); in buildBuiltinVariableLoad() 356 NewRegister, PtrType, getLinkStringForBuiltIn(BuiltinValue), nullptr, in buildBuiltinVariableLoad() 1508 Type *PtrType = PointerType::get(PointerType::get(OpaqueType, SC0), SC1); in getOrCreateSPIRVDeviceEventPointer() local 1509 return GR->getOrCreateSPIRVType(PtrType, MIRBuilder); in getOrCreateSPIRVDeviceEventPointer() 1630 SPIRVType *PtrType = GR->getSPIRVTypeForVReg(Call->Arguments[0]); in generateEnqueueInst() local 1631 assert(PtrType->getOpcode() == SPIRV::OpTypePointer && in generateEnqueueInst() 1632 PtrType->getOperand(2).isReg()); in generateEnqueueInst() 1633 Register TypeReg = PtrType->getOperand(2).getReg(); in generateEnqueueInst()
|
| /openbsd-src/gnu/llvm/lldb/source/Plugins/Language/ObjC/ |
| H A D | NSArray.cpp | 147 template <typename PtrType> 149 PtrType _cow; 151 PtrType _data;
|
| /openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | IteratorModeling.cpp | 635 QualType PtrType = Iterator->getType(); in handlePtrIncrOrDecr() local 636 if (!PtrType->isPointerType()) in handlePtrIncrOrDecr() 638 QualType ElementType = PtrType->getPointeeType(); in handlePtrIncrOrDecr()
|
| /openbsd-src/gnu/llvm/clang/utils/TableGen/ |
| H A D | MveEmitter.cpp | 637 const PointerType *PtrType; member in __anonece5a09e0111::PointerCastResult 639 PointerCastResult(const PointerType *PtrType, Ptr V) in PointerCastResult() argument 640 : PtrType(PtrType), V(V) {} in PointerCastResult() 644 << ParamAlloc.allocParam("llvm::Type *", PtrType->llvmName()) << ")"; in genCode()
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/IPO/ |
| H A D | MergeFunctions.cpp | 773 PointerType *PtrType = G->getType(); in writeAlias() local 774 auto *GA = GlobalAlias::create(G->getValueType(), PtrType->getAddressSpace(), in writeAlias()
|
| /openbsd-src/gnu/llvm/llvm/lib/DebugInfo/CodeView/ |
| H A D | TypeRecordMapping.cpp | 385 std::string PtrType = std::string(getEnumName( in visitKnownRecord() local 387 Attr += "[ Type: " + PtrType; in visitKnownRecord()
|
| /openbsd-src/gnu/llvm/llvm/tools/llvm-c-test/ |
| H A D | echo.cpp | 1063 LLVMTypeRef PtrType = TypeCloner(M).Clone(Cur); in declare_symbols() local 1065 unsigned AddrSpace = LLVMGetPointerAddressSpace(PtrType); in declare_symbols() 1067 LLVMAddAlias2(M, ValType, AddrSpace, LLVMGetUndef(PtrType), Name); in declare_symbols()
|
| /openbsd-src/gnu/llvm/clang/lib/CodeGen/ |
| H A D | MicrosoftCXXABI.cpp | 494 llvm::Type *getImageRelativeType(llvm::Type *PtrType) { in getImageRelativeType() argument 496 return PtrType; in getImageRelativeType() 3812 llvm::Type *PtrType = ABI.getImageRelativeType( in getBaseClassArray() local 3814 auto *ArrType = llvm::ArrayType::get(PtrType, Classes.size() + 1); in getBaseClassArray() 3827 BaseClassArrayData.push_back(llvm::Constant::getNullValue(PtrType)); in getBaseClassArray()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/AMDGPU/ |
| H A D | R600ISelLowering.cpp | 768 PointerType * PtrType = PointerType::get(VT.getTypeForEVT(*DAG.getContext()), in LowerImplicitParameter() local 776 MachinePointerInfo(ConstantPointerNull::get(PtrType))); in LowerImplicitParameter()
|
| /openbsd-src/gnu/llvm/clang/lib/Sema/ |
| H A D | SemaCast.cpp | 177 if (const auto *PtrType = dyn_cast<PointerType>(FromType)) { in CheckNoDeref() local 178 if (PtrType->getPointeeType()->hasAttr(attr::NoDeref)) { in CheckNoDeref()
|
| H A D | SemaDeclAttr.cpp | 5381 if (const auto *PtrType = Ty->getAs<PointerType>()) { in isValidSwiftIndirectResultType() local 5382 Ty = PtrType->getPointeeType(); in isValidSwiftIndirectResultType() 5393 if (const auto *PtrType = Ty->getAs<PointerType>()) { in isValidSwiftErrorResultType() local 5394 Ty = PtrType->getPointeeType(); in isValidSwiftErrorResultType()
|
| /openbsd-src/gnu/llvm/llvm/lib/Bitcode/Reader/ |
| H A D | BitcodeReader.cpp | 851 Error typeCheckLoadStoreInst(Type *ValType, Type *PtrType); 4513 Error BitcodeReader::typeCheckLoadStoreInst(Type *ValType, Type *PtrType) { in typeCheckLoadStoreInst() argument 4514 if (!isa<PointerType>(PtrType)) in typeCheckLoadStoreInst() 4517 if (!cast<PointerType>(PtrType)->isOpaqueOrPointeeTypeMatches(ValType)) in typeCheckLoadStoreInst()
|
| /openbsd-src/gnu/llvm/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | DAGCombiner.cpp | 5811 EVT PtrType = LDST->getBasePtr().getValueType(); in isLegalNarrowLdSt() local 5812 if (PtrType == MVT::Untyped || PtrType.isExtended()) in isLegalNarrowLdSt() 17732 EVT PtrType = Origin->getBasePtr().getValueType(); in isLegal() local 17733 if (PtrType == MVT::Untyped || PtrType.isExtended()) in isLegal() 17741 if (!TLI.isOperationLegal(ISD::ADD, PtrType)) in isLegal()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/ARM/ |
| H A D | ARMISelLowering.cpp | 5615 EVT PtrType = Ptr.getValueType(); in expandf64Toi32() local 5617 PtrType, Ptr, DAG.getConstant(4, dl, PtrType)); in expandf64Toi32()
|