Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DInferAddressSpaces.cpp172 bool isSafeToCastConstAddrSpace(Constant *C, unsigned NewAS) const;
718 if (C0 && isSafeToCastConstAddrSpace(C0, Src1AS)) in updateAddressSpace()
720 else if (C1 && isSafeToCastConstAddrSpace(C1, Src0AS)) in updateAddressSpace()
826 bool InferAddressSpaces::isSafeToCastConstAddrSpace(Constant *C, unsigned NewAS) const { in isSafeToCastConstAddrSpace() function in InferAddressSpaces
844 return isSafeToCastConstAddrSpace(cast<Constant>(Op->getOperand(0)), NewAS); in isSafeToCastConstAddrSpace()
970 if (isSafeToCastConstAddrSpace(KOtherSrc, NewAS)) { in rewriteWithNewAddressSpaces()