Home
last modified time | relevance | path

Searched refs:NewPtrTy (Results 1 – 10 of 10) sorted by relevance

/external/llvm-project/llvm/lib/Transforms/Scalar/
DInferAddressSpaces.cpp502 Type *NewPtrTy = in operandWithNewAddressSpaceOrCreateUndef() local
506 return ConstantExpr::getAddrSpaceCast(C, NewPtrTy); in operandWithNewAddressSpaceOrCreateUndef()
512 return UndefValue::get(NewPtrTy); in operandWithNewAddressSpaceOrCreateUndef()
566 auto *NewPtrTy = I->getType()->getPointerElementType()->getPointerTo(AS); in cloneInstructionWithNewAddressSpace() local
567 auto *NewI = new AddrSpaceCastInst(I, NewPtrTy); in cloneInstructionWithNewAddressSpace()
DScalarizer.cpp284 Type *NewPtrTy = PointerType::get(ElTy, PtrTy->getAddressSpace()); in operator []() local
285 CV[0] = Builder.CreateBitCast(V, NewPtrTy, V->getName() + ".i0"); in operator []()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DInferAddressSpaces.cpp419 Type *NewPtrTy = in operandWithNewAddressSpaceOrCreateUndef() local
423 return ConstantExpr::getAddrSpaceCast(C, NewPtrTy); in operandWithNewAddressSpaceOrCreateUndef()
429 return UndefValue::get(NewPtrTy); in operandWithNewAddressSpaceOrCreateUndef()
DScalarizer.cpp274 Type *NewPtrTy = PointerType::get(ElTy, PtrTy->getAddressSpace()); in operator []() local
275 CV[0] = Builder.CreateBitCast(V, NewPtrTy, V->getName() + ".i0"); in operator []()
/external/llvm/lib/Analysis/
DConstantFolding.cpp730 auto *NewPtrTy = cast<PointerType>(Ptr->getType()); in StripPtrCastKeepAS() local
732 ElemTy = NewPtrTy->getPointerElementType(); in StripPtrCastKeepAS()
735 if (NewPtrTy->getAddressSpace() != OldPtrTy->getAddressSpace()) { in StripPtrCastKeepAS()
736 NewPtrTy = ElemTy->getPointerTo(OldPtrTy->getAddressSpace()); in StripPtrCastKeepAS()
737 Ptr = ConstantExpr::getPointerCast(Ptr, NewPtrTy); in StripPtrCastKeepAS()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DConstantFolding.cpp808 auto *NewPtrTy = cast<PointerType>(Ptr->getType()); in StripPtrCastKeepAS() local
810 ElemTy = NewPtrTy->getPointerElementType(); in StripPtrCastKeepAS()
813 if (NewPtrTy->getAddressSpace() != OldPtrTy->getAddressSpace()) { in StripPtrCastKeepAS()
814 NewPtrTy = ElemTy->getPointerTo(OldPtrTy->getAddressSpace()); in StripPtrCastKeepAS()
815 Ptr = ConstantExpr::getPointerCast(Ptr, NewPtrTy); in StripPtrCastKeepAS()
/external/llvm-project/llvm/lib/Analysis/
DConstantFolding.cpp853 auto *NewPtrTy = cast<PointerType>(Ptr->getType()); in StripPtrCastKeepAS() local
855 ElemTy = NewPtrTy->getPointerElementType(); in StripPtrCastKeepAS()
858 if (NewPtrTy->getAddressSpace() != OldPtrTy->getAddressSpace()) { in StripPtrCastKeepAS()
859 NewPtrTy = ElemTy->getPointerTo(OldPtrTy->getAddressSpace()); in StripPtrCastKeepAS()
860 Ptr = ConstantExpr::getPointerCast(Ptr, NewPtrTy); in StripPtrCastKeepAS()
/external/llvm-project/polly/lib/CodeGen/
DBlockGenerators.cpp280 auto NewPtrTy = Address->getType(); in generateLocationAccessed() local
282 NewPtrTy->getPointerAddressSpace()); in generateLocationAccessed()
284 if (OldPtrTy != NewPtrTy) in generateLocationAccessed()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DHexagonISelLowering.cpp3310 PointerType *NewPtrTy in emitLoadLinked() local
3312 Addr = Builder.CreateBitCast(Addr, NewPtrTy); in emitLoadLinked()
/external/llvm-project/llvm/lib/Target/Hexagon/
DHexagonISelLowering.cpp3502 PointerType *NewPtrTy in emitLoadLinked() local
3504 Addr = Builder.CreateBitCast(Addr, NewPtrTy); in emitLoadLinked()