Home
last modified time | relevance | path

Searched refs:PtrTy (Results 1 – 25 of 70) sorted by relevance

123

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/
DWebAssemblyRuntimeLibcallSignatures.cpp519 wasm::ValType PtrTy = in getLibcallSignature() local
636 Params.push_back(PtrTy); in getLibcallSignature()
637 Params.push_back(PtrTy); in getLibcallSignature()
641 Params.push_back(PtrTy); in getLibcallSignature()
642 Params.push_back(PtrTy); in getLibcallSignature()
668 Params.push_back(PtrTy); in getLibcallSignature()
679 Params.push_back(PtrTy); in getLibcallSignature()
686 Params.push_back(PtrTy); in getLibcallSignature()
695 Params.push_back(PtrTy); in getLibcallSignature()
704 Params.push_back(PtrTy); in getLibcallSignature()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/
DThreadSanitizer.cpp240 Type *PtrTy = Ty->getPointerTo(); in initialize() local
243 M.getOrInsertFunction(AtomicLoadName, Attr, Ty, PtrTy, OrdTy); in initialize()
247 AtomicStoreName, Attr, IRB.getVoidTy(), PtrTy, Ty, OrdTy); in initialize()
271 M.getOrInsertFunction(RMWName, Attr, Ty, PtrTy, Ty, OrdTy); in initialize()
276 TsanAtomicCAS[i] = M.getOrInsertFunction(AtomicCASName, Attr, Ty, PtrTy, Ty, in initialize()
331 Type *PtrTy = cast<PointerType>(Addr->getType()->getScalarType()); in shouldInstrumentReadWriteFromAddress() local
332 if (PtrTy->getPointerAddressSpace() != 0) in shouldInstrumentReadWriteFromAddress()
639 Type *PtrTy = Ty->getPointerTo(); in instrumentAtomic() local
640 Value *Args[] = {IRB.CreatePointerCast(Addr, PtrTy), in instrumentAtomic()
654 Type *PtrTy = Ty->getPointerTo(); in instrumentAtomic() local
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/FuzzMutate/
DRandomIRBuilder.cpp142 if (auto PtrTy = dyn_cast<PointerType>(Inst->getType())) { in findPointer() local
144 if (!PtrTy->getElementType()->isSized() || in findPointer()
145 !PtrTy->getElementType()->isFirstClassType()) in findPointer()
149 return Pred.matches(Srcs, UndefValue::get(PtrTy->getElementType())); in findPointer()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
DSmallPtrSet.h258 template<typename PtrTy>
260 typedef PointerLikeTypeTraits<PtrTy> PtrTraits;
263 typedef PtrTy value_type;
264 typedef PtrTy reference;
265 typedef PtrTy pointer;
274 const PtrTy operator*() const {
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
DSmallPtrSet.h265 template <typename PtrTy>
268 using PtrTraits = PointerLikeTypeTraits<PtrTy>;
271 using value_type = PtrTy;
272 using reference = PtrTy;
273 using pointer = PtrTy;
283 const PtrTy operator*() const {
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/
DCombinerHelper.cpp1028 LLT PtrTy = MRI.getType(Dst); in optimizeMemset() local
1062 MIB.buildConstant(LLT::scalar(PtrTy.getSizeInBits()), DstOff); in optimizeMemset()
1063 Ptr = MIB.buildPtrAdd(PtrTy, Dst, Offset).getReg(0); in optimizeMemset()
1148 LLT PtrTy = MRI.getType(Src); in optimizeMemcpy() local
1166 Offset = MIB.buildConstant(LLT::scalar(PtrTy.getSizeInBits()), CurrOffset) in optimizeMemcpy()
1168 LoadPtr = MIB.buildPtrAdd(PtrTy, Src, Offset).getReg(0); in optimizeMemcpy()
1174 CurrOffset == 0 ? Dst : MIB.buildPtrAdd(PtrTy, Dst, Offset).getReg(0); in optimizeMemcpy()
1253 LLT PtrTy = MRI.getType(Src); in optimizeMemmove() local
1264 MIB.buildConstant(LLT::scalar(PtrTy.getSizeInBits()), CurrOffset); in optimizeMemmove()
1265 LoadPtr = MIB.buildPtrAdd(PtrTy, Src, Offset).getReg(0); in optimizeMemmove()
[all …]
DIRTranslator.cpp517 const LLT PtrTy = getLLTForType(*PtrIRTy, *DL); in emitJumpTable() local
519 auto Table = MIB.buildJumpTable(PtrTy, JT.JTI); in emitJumpTable()
1063 LLT PtrTy = getLLTForType(*PtrIRTy, *DL); in translateGetElementPtr() local
1088 BaseReg = MIRBuilder.buildPtrAdd(PtrTy, BaseReg, OffsetMIB.getReg(0)) in translateGetElementPtr()
1108 BaseReg = MIRBuilder.buildPtrAdd(PtrTy, BaseReg, GepOffsetReg).getReg(0); in translateGetElementPtr()
1458 LLT PtrTy = getLLTForType(*CI.getArgOperand(0)->getType(), *DL); in translateKnownIntrinsic() local
1459 Register GuardVal = MRI->createGenericVirtualRegister(PtrTy); in translateKnownIntrinsic()
1471 PtrTy.getSizeInBits() / 8, 8)); in translateKnownIntrinsic()
1517 LLT PtrTy = getLLTForType(*CI.getArgOperand(0)->getType(), *DL); in translateKnownIntrinsic() local
1518 Register Undef = MRI->createGenericVirtualRegister(PtrTy); in translateKnownIntrinsic()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DIRBuilder.cpp479 auto *PtrTy = cast<PointerType>(Ptr->getType()); in CreateMaskedLoad() local
480 Type *DataTy = PtrTy->getElementType(); in CreateMaskedLoad()
485 Type *OverloadedTypes[] = { DataTy, PtrTy }; in CreateMaskedLoad()
499 auto *PtrTy = cast<PointerType>(Ptr->getType()); in CreateMaskedStore() local
500 Type *DataTy = PtrTy->getElementType(); in CreateMaskedStore()
503 Type *OverloadedTypes[] = { DataTy, PtrTy }; in CreateMaskedStore()
532 auto PtrTy = cast<PointerType>(PtrsTy->getElementType()); in CreateMaskedGather() local
534 Type *DataTy = VectorType::get(PtrTy->getElementType(), NumElts); in CreateMaskedGather()
566 auto PtrTy = cast<PointerType>(PtrsTy->getElementType()); in CreateMaskedScatter() local
568 PtrTy->getElementType() == DataTy->getElementType() && in CreateMaskedScatter()
DGlobals.cpp112 PointerType *PtrTy = getType(); in getAddressSpace() local
113 return PtrTy->getAddressSpace(); in getAddressSpace()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUHSAMetadataStreamer.cpp349 if (auto PtrTy = dyn_cast<PointerType>(Ty)) { in emitKernelArg() local
350 if (PtrTy->getAddressSpace() == AMDGPUAS::LOCAL_ADDRESS) { in emitKernelArg()
353 PointeeAlign = DL.getABITypeAlignment(PtrTy->getElementType()); in emitKernelArg()
378 if (auto PtrTy = dyn_cast<PointerType>(Ty)) in emitKernelArg() local
379 Arg.mAddrSpaceQual = getAddressSpaceQualifier(PtrTy->getAddressSpace()); in emitKernelArg()
771 if (auto PtrTy = dyn_cast<PointerType>(Ty)) { in emitKernelArg() local
772 if (PtrTy->getAddressSpace() == AMDGPUAS::LOCAL_ADDRESS) { in emitKernelArg()
775 PointeeAlign = DL.getABITypeAlignment(PtrTy->getElementType()); in emitKernelArg()
810 if (auto PtrTy = dyn_cast<PointerType>(Ty)) in emitKernelArg() local
811 if (auto Qualifier = getAddressSpaceQualifier(PtrTy->getAddressSpace())) in emitKernelArg()
DAMDGPULegalizerInfo.cpp677 const LLT PtrTy = Query.Types[1]; in AMDGPULegalizerInfo() local
678 unsigned AS = PtrTy.getAddressSpace(); in AMDGPULegalizerInfo()
757 const LLT PtrTy = Query.Types[1]; in AMDGPULegalizerInfo() local
772 unsigned MaxSize = maxSizeForAddrSpace(PtrTy.getAddressSpace()); in AMDGPULegalizerInfo()
785 const LLT PtrTy = Query.Types[1]; in AMDGPULegalizerInfo() local
788 unsigned MaxSize = maxSizeForAddrSpace(PtrTy.getAddressSpace()); in AMDGPULegalizerInfo()
1619 Register DstReg, LLT PtrTy, in buildPCRelGlobalAddress() argument
1655 Register PCReg = PtrTy.getSizeInBits() != 32 ? DstReg : in buildPCRelGlobalAddress()
1669 if (PtrTy.getSizeInBits() == 32) in buildPCRelGlobalAddress()
1722 LLT PtrTy = LLT::pointer(AMDGPUAS::CONSTANT_ADDRESS, 64); in legalizeGlobalValue() local
[all …]
DAMDGPURewriteOutArguments.cpp461 Type *PtrTy = Val->getType()->getPointerTo(ArgType->getAddressSpace()); in runOnFunction() local
464 Value *PtrVal = B.CreateBitCast(&Arg, PtrTy); in runOnFunction()
DAMDGPULegalizerInfo.h63 Register DstReg, LLT PtrTy, MachineIRBuilder &B, const GlobalValue *GV,
DAMDGPUPromoteAlloca.cpp635 PointerType *PtrTy = dyn_cast<PointerType>(ParamTy); in hasSufficientLocalMem() local
636 if (PtrTy && PtrTy->getAddressSpace() == AMDGPUAS::LOCAL_ADDRESS) { in hasSufficientLocalMem()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64LegalizerInfo.cpp732 LLT PtrTy = MRI.getType(ListPtr); in legalizeVaArg() local
733 LLT IntPtrTy = LLT::scalar(PtrTy.getSizeInBits()); in legalizeVaArg()
735 const unsigned PtrSize = PtrTy.getSizeInBits() / 8; in legalizeVaArg()
736 Register List = MRI.createGenericVirtualRegister(PtrTy); in legalizeVaArg()
747 auto ListTmp = MIRBuilder.buildPtrAdd(PtrTy, List, AlignMinus1.getReg(0)); in legalizeVaArg()
749 DstPtr = MRI.createGenericVirtualRegister(PtrTy); in legalizeVaArg()
762 auto NewList = MIRBuilder.buildPtrAdd(PtrTy, DstPtr, Size.getReg(0)); in legalizeVaArg()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DScalarizer.cpp98 PointerType *PtrTy; member in __anon7684c9ed0111::Scatterer
252 PtrTy = dyn_cast<PointerType>(Ty); in INITIALIZE_PASS_DEPENDENCY()
253 if (PtrTy) in INITIALIZE_PASS_DEPENDENCY()
254 Ty = PtrTy->getElementType(); in INITIALIZE_PASS_DEPENDENCY()
271 if (PtrTy) { in operator []()
272 Type *ElTy = PtrTy->getElementType()->getVectorElementType(); in operator []()
274 Type *NewPtrTy = PointerType::get(ElTy, PtrTy->getAddressSpace()); in operator []()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ExecutionEngine/Orc/
DExecutionUtils.h193 template <typename PtrTy> JITTargetAddress toTargetAddress(PtrTy *P) { in toTargetAddress()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DVectorUtils.cpp187 auto *PtrTy = dyn_cast<PointerType>(Ptr->getType()); in getStrideFromPointer() local
188 if (!PtrTy || PtrTy->isAggregateType()) in getStrideFromPointer()
836 PointerType *PtrTy = cast<PointerType>(Ptr->getType()); in collectConstStrideAccesses() local
837 uint64_t Size = DL.getTypeAllocSize(PtrTy->getElementType()); in collectConstStrideAccesses()
842 Alignment = Align(DL.getABITypeAlignment(PtrTy->getElementType())); in collectConstStrideAccesses()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/Orc/
DOrcCBindingsStack.h260 template <typename PtrTy>
261 static PtrTy fromTargetAddress(JITTargetAddress Addr) { in fromTargetAddress()
262 return reinterpret_cast<PtrTy>(static_cast<uintptr_t>(Addr)); in fromTargetAddress()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DInterleavedLoadCombinePass.cpp960 PointerType *PtrTy = dyn_cast<PointerType>(Ptr.getType()); in computePolynomialFromPointer() local
961 if (!PtrTy) { in computePolynomialFromPointer()
967 DL.getIndexSizeInBits(PtrTy->getPointerAddressSpace()); in computePolynomialFromPointer()
1033 Polynomial(DL.getIndexSizeInBits(PtrTy->getPointerAddressSpace()), 0); in computePolynomialFromPointer()
DStackProtector.cpp391 PointerType *PtrTy = Type::getInt8PtrTy(RI->getContext()); in CreatePrologue() local
392 AI = B.CreateAlloca(PtrTy, nullptr, "StackGuardSlot"); in CreatePrologue()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DMVETailPredication.cpp295 auto *PtrTy = cast<PointerType>(I->getOperand(TypeOp)->getType()); in getVectorType() local
296 return cast<VectorType>(PtrTy->getElementType()); in getVectorType()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/BPF/
DBPFAbstractMemberAccess.cpp373 if (const auto *PtrTy = dyn_cast<DIDerivedType>(PType)) { in IsValidAIChain() local
374 if (PtrTy->getTag() != dwarf::DW_TAG_pointer_type) in IsValidAIChain()
376 return stripQualifiers(PtrTy->getBaseType()) == CType; in IsValidAIChain()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/
DMipsLegalizerInfo.cpp22 LLT PtrTy; member
33 if (Val.PtrTy != Query.Types[1]) in CheckTy0Ty1MemSizeAlign()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86TargetTransformInfo.h142 int getAddressComputationCost(Type *PtrTy, ScalarEvolution *SE,

123