Home
last modified time | relevance | path

Searched refs:PtrType (Results 1 – 14 of 14) sorted by relevance

/freebsd-12.1/contrib/llvm/include/llvm/ADT/
H A DSmallPtrSet.h343 template <typename PtrType>
360 using iterator = SmallPtrSetIterator<PtrType>;
363 using value_type = PtrType;
378 bool erase(PtrType Ptr) {
417 template<class PtrType, unsigned SmallSize>
424 using BaseT = SmallPtrSetImpl<PtrType>;
442 SmallPtrSet(std::initializer_list<PtrType> IL)
447 SmallPtrSet<PtrType, SmallSize> &
454 SmallPtrSet<PtrType, SmallSize> &
461 SmallPtrSet<PtrType, SmallSize> &
[all …]
/freebsd-12.1/contrib/llvm/lib/Target/AMDGPU/
H A DAMDGPUCallLowering.cpp55 LLT PtrType = getLLTForType(*PtrTy, DL); in lowerParameterPtr() local
56 unsigned DstReg = MRI.createGenericVirtualRegister(PtrType); in lowerParameterPtr()
H A DR600ISelLowering.cpp905 PointerType * PtrType = PointerType::get(VT.getTypeForEVT(*DAG.getContext()), in LowerImplicitParameter() local
913 MachinePointerInfo(ConstantPointerNull::get(PtrType))); in LowerImplicitParameter()
/freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/Language/ObjC/
H A DNSArray.cpp168 template <typename PtrType>
170 PtrType _cow;
172 PtrType _data;
176 PtrType _mutations;
/freebsd-12.1/contrib/llvm/lib/Transforms/IPO/
H A DMergeFunctions.cpp765 PointerType *PtrType = G->getType(); in writeAlias() local
767 PtrType->getElementType(), PtrType->getAddressSpace(), in writeAlias()
/freebsd-12.1/contrib/llvm/include/llvm/IR/
H A DIRBuilder.h2146 auto *PtrType = Ptr->getType(); in CreateLaunderInvariantGroup() local
2147 auto *Int8PtrTy = getInt8PtrTy(PtrType->getPointerAddressSpace()); in CreateLaunderInvariantGroup()
2148 if (PtrType != Int8PtrTy) in CreateLaunderInvariantGroup()
2161 if (PtrType != Int8PtrTy) in CreateLaunderInvariantGroup()
2162 return CreateBitCast(Fn, PtrType); in CreateLaunderInvariantGroup()
2174 auto *PtrType = Ptr->getType(); in CreateStripInvariantGroup() local
2175 auto *Int8PtrTy = getInt8PtrTy(PtrType->getPointerAddressSpace()); in CreateStripInvariantGroup()
2176 if (PtrType != Int8PtrTy) in CreateStripInvariantGroup()
2189 if (PtrType != Int8PtrTy) in CreateStripInvariantGroup()
2190 return CreateBitCast(Fn, PtrType); in CreateStripInvariantGroup()
H A DModule.h50 template <class PtrType> class SmallPtrSetImpl;
/freebsd-12.1/contrib/llvm/lib/Transforms/Utils/
H A DBuildLibCalls.cpp1184 IntegerType *PtrType = DL.getIntPtrType((B.GetInsertBlock()->getContext())); in emitCalloc() local
1186 PtrType, PtrType); in emitCalloc()
/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DMicrosoftCXXABI.cpp460 llvm::Type *getImageRelativeType(llvm::Type *PtrType) { in getImageRelativeType() argument
462 return PtrType; in getImageRelativeType()
3595 llvm::Type *PtrType = ABI.getImageRelativeType( in getBaseClassArray() local
3597 auto *ArrType = llvm::ArrayType::get(PtrType, Classes.size() + 1); in getBaseClassArray()
3610 BaseClassArrayData.push_back(llvm::Constant::getNullValue(PtrType)); in getBaseClassArray()
/freebsd-12.1/contrib/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp4266 EVT PtrType = LDST->getBasePtr().getValueType(); in isLegalNarrowLdSt() local
4267 if (PtrType == MVT::Untyped || PtrType.isExtended()) in isLegalNarrowLdSt()
9436 EVT PtrType = N0.getOperand(1).getValueType(); in ReduceLoadWidth() local
9444 PtrType, LN0->getBasePtr(), in ReduceLoadWidth()
13410 EVT PtrType = Origin->getBasePtr().getValueType(); in isLegal() local
13411 if (PtrType == MVT::Untyped || PtrType.isExtended()) in isLegal()
13419 if (!TLI.isOperationLegal(ISD::ADD, PtrType)) in isLegal()
15606 EVT PtrType = NewPtr.getValueType(); in scalarizeExtractedVectorLoad() local
15612 Offset = DAG.getConstant(PtrOff, DL, PtrType); in scalarizeExtractedVectorLoad()
15615 Offset = DAG.getZExtOrTrunc(EltNo, DL, PtrType); in scalarizeExtractedVectorLoad()
[all …]
H A DTargetLowering.cpp2412 EVT PtrType = Lod->getOperand(1).getValueType(); in SimplifySetCC() local
2415 Ptr = DAG.getNode(ISD::ADD, dl, PtrType, Lod->getBasePtr(), in SimplifySetCC()
2416 DAG.getConstant(bestOffset, dl, PtrType)); in SimplifySetCC()
/freebsd-12.1/contrib/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp673 Error typeCheckLoadStoreInst(Type *ValType, Type *PtrType);
3397 Error BitcodeReader::typeCheckLoadStoreInst(Type *ValType, Type *PtrType) { in typeCheckLoadStoreInst() argument
3398 if (!isa<PointerType>(PtrType)) in typeCheckLoadStoreInst()
3400 Type *ElemType = cast<PointerType>(PtrType)->getElementType(); in typeCheckLoadStoreInst()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DSemaDeclAttr.cpp4514 if (const auto *PtrType = Ty->getAs<PointerType>()) { in isValidSwiftIndirectResultType() local
4515 Ty = PtrType->getPointeeType(); in isValidSwiftIndirectResultType()
4526 if (const auto *PtrType = Ty->getAs<PointerType>()) { in isValidSwiftErrorResultType() local
4527 Ty = PtrType->getPointeeType(); in isValidSwiftErrorResultType()
/freebsd-12.1/contrib/llvm/lib/Target/ARM/
H A DARMISelLowering.cpp4578 EVT PtrType = Ptr.getValueType(); in expandf64Toi32() local
4581 PtrType, Ptr, DAG.getConstant(4, dl, PtrType)); in expandf64Toi32()