Home
last modified time | relevance | path

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

/openbsd/src/gnu/llvm/llvm/lib/IR/
DInstructions.cpp3312 PointerType *SrcPtrTy = cast<PointerType>(SrcTy->getScalarType()); in isEliminableCastPair() local
3314 if (SrcPtrTy->hasSameElementTypeAs(DstPtrTy)) in isEliminableCastPair()
3592 if (PointerType *SrcPtrTy = dyn_cast<PointerType>(SrcTy)) { in isBitCastable() local
3593 return SrcPtrTy->getAddressSpace() == DestPtrTy->getAddressSpace(); in isBitCastable()
3794 PointerType *SrcPtrTy = dyn_cast<PointerType>(SrcTy->getScalarType()); in castIsValid() local
3799 if (!SrcPtrTy != !DstPtrTy) in castIsValid()
3804 if (!SrcPtrTy) in castIsValid()
3808 if (SrcPtrTy->getAddressSpace() != DstPtrTy->getAddressSpace()) in castIsValid()
3822 PointerType *SrcPtrTy = dyn_cast<PointerType>(SrcTy->getScalarType()); in castIsValid() local
3823 if (!SrcPtrTy) in castIsValid()
[all …]
DConstantFold.cpp2120 PointerType *SrcPtrTy = in ConstantFoldGetElementPtr() local
2123 if (SrcPtrTy && DstPtrTy && !SrcPtrTy->isOpaque() && in ConstantFoldGetElementPtr()
2126 dyn_cast<ArrayType>(SrcPtrTy->getNonOpaquePointerElementType()); in ConstantFoldGetElementPtr()
2131 && SrcPtrTy->getAddressSpace() == DstPtrTy->getAddressSpace()) in ConstantFoldGetElementPtr()
/openbsd/src/gnu/llvm/llvm/lib/CodeGen/
DMachineVerifier.cpp1609 LLT SrcPtrTy = MRI->getType(MI->getOperand(1).getReg()); in verifyPreISelGenericInstruction() local
1611 if (!DstPtrTy.isPointer() || !SrcPtrTy.isPointer()) { in verifyPreISelGenericInstruction()
1618 if (SrcPtrTy.getAddressSpace() != MMOs[1]->getAddrSpace()) in verifyPreISelGenericInstruction()
/openbsd/src/gnu/llvm/clang/lib/Sema/
DSemaCast.cpp2058 if (const PointerType *SrcPtrTy = SrcType->getAs<PointerType>()) in DiagnoseCastOfObjCSEL() local
2059 if (SrcPtrTy->isObjCSelType()) { in DiagnoseCastOfObjCSEL()
/openbsd/src/gnu/llvm/clang/lib/CodeGen/
DCGCall.cpp1375 llvm::PointerType *SrcPtrTy = llvm::dyn_cast<llvm::PointerType>(SrcTy); in CreateCoercedStore() local
1377 if (SrcPtrTy && DstPtrTy && in CreateCoercedStore()
1378 SrcPtrTy->getAddressSpace() != DstPtrTy->getAddressSpace()) { in CreateCoercedStore()