Home
last modified time | relevance | path

Searched refs:DstPtrTy (Results 1 – 4 of 4) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DConstantFold.cpp2217 PointerType *DstPtrTy = dyn_cast<PointerType>(CE->getType()); in ConstantFoldGetElementPtr() local
2218 if (SrcPtrTy && DstPtrTy) { in ConstantFoldGetElementPtr()
2222 dyn_cast<ArrayType>(DstPtrTy->getElementType()); in ConstantFoldGetElementPtr()
2225 && SrcPtrTy->getAddressSpace() == DstPtrTy->getAddressSpace()) in ConstantFoldGetElementPtr()
DInstructions.cpp2964 PointerType *DstPtrTy = dyn_cast<PointerType>(DstTy->getScalarType()); in castIsValid() local
2968 if (!SrcPtrTy != !DstPtrTy) in castIsValid()
2977 if (SrcPtrTy->getAddressSpace() != DstPtrTy->getAddressSpace()) in castIsValid()
2995 PointerType *DstPtrTy = dyn_cast<PointerType>(DstTy->getScalarType()); in castIsValid() local
2996 if (!DstPtrTy) in castIsValid()
2999 if (SrcPtrTy->getAddressSpace() == DstPtrTy->getAddressSpace()) in castIsValid()
/external/llvm/lib/IR/
DConstantFold.cpp2171 PointerType *DstPtrTy = dyn_cast<PointerType>(CE->getType()); in ConstantFoldGetElementPtrImpl() local
2172 if (SrcPtrTy && DstPtrTy) { in ConstantFoldGetElementPtrImpl()
2176 dyn_cast<ArrayType>(DstPtrTy->getElementType()); in ConstantFoldGetElementPtrImpl()
2179 && SrcPtrTy->getAddressSpace() == DstPtrTy->getAddressSpace()) in ConstantFoldGetElementPtrImpl()
DInstructions.cpp3149 PointerType *DstPtrTy = dyn_cast<PointerType>(DstTy->getScalarType()); in castIsValid() local
3153 if (!SrcPtrTy != !DstPtrTy) in castIsValid()
3162 if (SrcPtrTy->getAddressSpace() != DstPtrTy->getAddressSpace()) in castIsValid()
3180 PointerType *DstPtrTy = dyn_cast<PointerType>(DstTy->getScalarType()); in castIsValid() local
3181 if (!DstPtrTy) in castIsValid()
3184 if (SrcPtrTy->getAddressSpace() == DstPtrTy->getAddressSpace()) in castIsValid()