Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DInstructions.cpp3032 if (PointerType *SrcPtrTy = dyn_cast<PointerType>(SrcTy)) { in isBitCastable() local
3033 return SrcPtrTy->getAddressSpace() == DestPtrTy->getAddressSpace(); in isBitCastable()
3241 PointerType *SrcPtrTy = dyn_cast<PointerType>(SrcTy->getScalarType()); in castIsValid() local
3246 if (!SrcPtrTy != !DstPtrTy) in castIsValid()
3251 if (!SrcPtrTy) in castIsValid()
3255 if (SrcPtrTy->getAddressSpace() != DstPtrTy->getAddressSpace()) in castIsValid()
3271 PointerType *SrcPtrTy = dyn_cast<PointerType>(SrcTy->getScalarType()); in castIsValid() local
3272 if (!SrcPtrTy) in castIsValid()
3279 if (SrcPtrTy->getAddressSpace() == DstPtrTy->getAddressSpace()) in castIsValid()
DConstantFold.cpp2336 PointerType *SrcPtrTy = in ConstantFoldGetElementPtr() local
2339 if (SrcPtrTy && DstPtrTy) { in ConstantFoldGetElementPtr()
2341 dyn_cast<ArrayType>(SrcPtrTy->getElementType()); in ConstantFoldGetElementPtr()
2346 && SrcPtrTy->getAddressSpace() == DstPtrTy->getAddressSpace()) in ConstantFoldGetElementPtr()
/external/llvm/lib/IR/
DInstructions.cpp2939 if (PointerType *SrcPtrTy = dyn_cast<PointerType>(SrcTy)) { in isBitCastable() local
2940 return SrcPtrTy->getAddressSpace() == DestPtrTy->getAddressSpace(); in isBitCastable()
3148 PointerType *SrcPtrTy = dyn_cast<PointerType>(SrcTy->getScalarType()); in castIsValid() local
3153 if (!SrcPtrTy != !DstPtrTy) in castIsValid()
3158 if (!SrcPtrTy) in castIsValid()
3162 if (SrcPtrTy->getAddressSpace() != DstPtrTy->getAddressSpace()) in castIsValid()
3176 PointerType *SrcPtrTy = dyn_cast<PointerType>(SrcTy->getScalarType()); in castIsValid() local
3177 if (!SrcPtrTy) in castIsValid()
3184 if (SrcPtrTy->getAddressSpace() == DstPtrTy->getAddressSpace()) in castIsValid()
DConstantFold.cpp2169 PointerType *SrcPtrTy = in ConstantFoldGetElementPtrImpl() local
2172 if (SrcPtrTy && DstPtrTy) { in ConstantFoldGetElementPtrImpl()
2174 dyn_cast<ArrayType>(SrcPtrTy->getElementType()); in ConstantFoldGetElementPtrImpl()
2179 && SrcPtrTy->getAddressSpace() == DstPtrTy->getAddressSpace()) in ConstantFoldGetElementPtrImpl()
/external/llvm-project/llvm/lib/IR/
DInstructions.cpp3163 if (PointerType *SrcPtrTy = dyn_cast<PointerType>(SrcTy)) { in isBitCastable() local
3164 return SrcPtrTy->getAddressSpace() == DestPtrTy->getAddressSpace(); in isBitCastable()
3365 PointerType *SrcPtrTy = dyn_cast<PointerType>(SrcTy->getScalarType()); in castIsValid() local
3370 if (!SrcPtrTy != !DstPtrTy) in castIsValid()
3375 if (!SrcPtrTy) in castIsValid()
3379 if (SrcPtrTy->getAddressSpace() != DstPtrTy->getAddressSpace()) in castIsValid()
3393 PointerType *SrcPtrTy = dyn_cast<PointerType>(SrcTy->getScalarType()); in castIsValid() local
3394 if (!SrcPtrTy) in castIsValid()
3401 if (SrcPtrTy->getAddressSpace() == DstPtrTy->getAddressSpace()) in castIsValid()
DConstantFold.cpp2487 PointerType *SrcPtrTy = in ConstantFoldGetElementPtr() local
2490 if (SrcPtrTy && DstPtrTy) { in ConstantFoldGetElementPtr()
2492 dyn_cast<ArrayType>(SrcPtrTy->getElementType()); in ConstantFoldGetElementPtr()
2497 && SrcPtrTy->getAddressSpace() == DstPtrTy->getAddressSpace()) in ConstantFoldGetElementPtr()
/external/llvm/lib/Analysis/
DConstantFolding.cpp500 auto *SrcPtrTy = dyn_cast<PointerType>(SrcPtr->getType()); in ConstantFoldLoadThroughBitcast() local
501 if (!SrcPtrTy) in ConstantFoldLoadThroughBitcast()
503 Type *SrcTy = SrcPtrTy->getPointerElementType(); in ConstantFoldLoadThroughBitcast()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DConstantFolding.cpp609 auto *SrcPtrTy = dyn_cast<PointerType>(SrcPtr->getType()); in ConstantFoldLoadThroughBitcastExpr() local
610 if (!SrcPtrTy) in ConstantFoldLoadThroughBitcastExpr()
612 Type *SrcTy = SrcPtrTy->getPointerElementType(); in ConstantFoldLoadThroughBitcastExpr()
/external/llvm-project/llvm/lib/CodeGen/
DMachineVerifier.cpp1455 LLT SrcPtrTy = MRI->getType(MI->getOperand(1).getReg()); in verifyPreISelGenericInstruction() local
1457 if (!DstPtrTy.isPointer() || !SrcPtrTy.isPointer()) { in verifyPreISelGenericInstruction()
1464 if (SrcPtrTy.getAddressSpace() != MMOs[1]->getAddrSpace()) in verifyPreISelGenericInstruction()
/external/llvm-project/llvm/lib/Analysis/
DConstantFolding.cpp658 auto *SrcPtrTy = dyn_cast<PointerType>(SrcPtr->getType()); in ConstantFoldLoadThroughBitcastExpr() local
659 if (!SrcPtrTy) in ConstantFoldLoadThroughBitcastExpr()
661 Type *SrcTy = SrcPtrTy->getPointerElementType(); in ConstantFoldLoadThroughBitcastExpr()
/external/clang/lib/Sema/
DSemaCast.cpp1715 if (const PointerType *SrcPtrTy = SrcType->getAs<PointerType>()) in DiagnoseCastOfObjCSEL() local
1716 if (SrcPtrTy->isObjCSelType()) { in DiagnoseCastOfObjCSEL()
/external/llvm-project/clang/lib/Sema/
DSemaCast.cpp1934 if (const PointerType *SrcPtrTy = SrcType->getAs<PointerType>()) in DiagnoseCastOfObjCSEL() local
1935 if (SrcPtrTy->isObjCSelType()) { in DiagnoseCastOfObjCSEL()
/external/llvm-project/clang/lib/CodeGen/
DCGCall.cpp1319 llvm::PointerType *SrcPtrTy = llvm::dyn_cast<llvm::PointerType>(SrcTy); in CreateCoercedStore() local
1321 if (SrcPtrTy && DstPtrTy && in CreateCoercedStore()
1322 SrcPtrTy->getAddressSpace() != DstPtrTy->getAddressSpace()) { in CreateCoercedStore()