Home
last modified time | relevance | path

Searched refs:SrcPtrTy (Results 1 – 6 of 6) sorted by relevance

/llvm-project-15.0.7/llvm/lib/IR/
H A DInstructions.cpp3143 PointerType *SrcPtrTy = cast<PointerType>(SrcTy->getScalarType()); in isEliminableCastPair() local
3145 if (SrcPtrTy->hasSameElementTypeAs(DstPtrTy)) in isEliminableCastPair()
3423 if (PointerType *SrcPtrTy = dyn_cast<PointerType>(SrcTy)) { in isBitCastable() local
3424 return SrcPtrTy->getAddressSpace() == DestPtrTy->getAddressSpace(); in isBitCastable()
3625 PointerType *SrcPtrTy = dyn_cast<PointerType>(SrcTy->getScalarType()); in castIsValid() local
3630 if (!SrcPtrTy != !DstPtrTy) in castIsValid()
3635 if (!SrcPtrTy) in castIsValid()
3639 if (SrcPtrTy->getAddressSpace() != DstPtrTy->getAddressSpace()) in castIsValid()
3653 PointerType *SrcPtrTy = dyn_cast<PointerType>(SrcTy->getScalarType()); in castIsValid() local
3654 if (!SrcPtrTy) in castIsValid()
[all …]
H A DConstantFold.cpp2113 PointerType *SrcPtrTy = in ConstantFoldGetElementPtr() local
2116 if (SrcPtrTy && DstPtrTy && !SrcPtrTy->isOpaque() && in ConstantFoldGetElementPtr()
2119 dyn_cast<ArrayType>(SrcPtrTy->getNonOpaquePointerElementType()); in ConstantFoldGetElementPtr()
2124 && SrcPtrTy->getAddressSpace() == DstPtrTy->getAddressSpace()) in ConstantFoldGetElementPtr()
/llvm-project-15.0.7/llvm/lib/Target/SPIRV/
H A DSPIRVInstructionSelector.cpp660 SPIRVType *SrcPtrTy = GR.getSPIRVTypeForVReg(SrcPtr); in selectAddrSpaceCast() local
674 SrcPtrTy, I, TII, SPIRV::StorageClass::Generic); in selectAddrSpaceCast()
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DMachineVerifier.cpp1548 LLT SrcPtrTy = MRI->getType(MI->getOperand(1).getReg()); in verifyPreISelGenericInstruction() local
1550 if (!DstPtrTy.isPointer() || !SrcPtrTy.isPointer()) { in verifyPreISelGenericInstruction()
1557 if (SrcPtrTy.getAddressSpace() != MMOs[1]->getAddrSpace()) in verifyPreISelGenericInstruction()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaCast.cpp2042 if (const PointerType *SrcPtrTy = SrcType->getAs<PointerType>()) in DiagnoseCastOfObjCSEL() local
2043 if (SrcPtrTy->isObjCSelType()) { in DiagnoseCastOfObjCSEL()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGCall.cpp1369 llvm::PointerType *SrcPtrTy = llvm::dyn_cast<llvm::PointerType>(SrcTy); in CreateCoercedStore() local
1371 if (SrcPtrTy && DstPtrTy && in CreateCoercedStore()
1372 SrcPtrTy->getAddressSpace() != DstPtrTy->getAddressSpace()) { in CreateCoercedStore()