Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DInferAddressSpaces.cpp207 bool isSafeToCastConstAddrSpace(Constant *C, unsigned NewAS) const;
952 if (C0 && isSafeToCastConstAddrSpace(C0, Src1AS)) in updateAddressSpace()
954 else if (C1 && isSafeToCastConstAddrSpace(C1, Src0AS)) in updateAddressSpace()
1090 bool InferAddressSpacesImpl::isSafeToCastConstAddrSpace(Constant *C, in isSafeToCastConstAddrSpace() function in InferAddressSpacesImpl
1109 return isSafeToCastConstAddrSpace(cast<Constant>(Op->getOperand(0)), in isSafeToCastConstAddrSpace()
1282 if (isSafeToCastConstAddrSpace(KOtherSrc, NewAS)) { in rewriteWithNewAddressSpaces()