Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DBasicAliasAnalysis.cpp1876 void BasicAAResult::subtractDecomposedGEPs(DecomposedGEP &DestGEP, in subtractDecomposedGEPs() argument
1881 if (DestGEP.Offset.ult(SrcGEP.Offset)) in subtractDecomposedGEPs()
1882 DestGEP.NWFlags = DestGEP.NWFlags.withoutNoUnsignedWrap(); in subtractDecomposedGEPs()
1884 DestGEP.Offset -= SrcGEP.Offset; in subtractDecomposedGEPs()
1889 for (auto I : enumerate(DestGEP.VarIndices)) { in subtractDecomposedGEPs()
1909 DestGEP.NWFlags = DestGEP.NWFlags.withoutNoUnsignedWrap(); in subtractDecomposedGEPs()
1914 DestGEP.VarIndices.erase(DestGEP.VarIndices.begin() + I.index()); in subtractDecomposedGEPs()
1924 DestGEP.VarIndices.push_back(Entry); in subtractDecomposedGEPs()
1927 DestGEP.NWFlags = DestGEP.NWFlags.withoutNoUnsignedWrap(); in subtractDecomposedGEPs()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DInstruction.cpp704 if (auto *DestGEP = dyn_cast<GetElementPtrInst>(this)) in copyIRFlags() local
705 DestGEP->setNoWrapFlags(SrcGEP->getNoWrapFlags() | in copyIRFlags()
706 DestGEP->getNoWrapFlags()); in copyIRFlags()
749 if (auto *DestGEP = dyn_cast<GetElementPtrInst>(this)) in andIRFlags() local
750 DestGEP->setNoWrapFlags(SrcGEP->getNoWrapFlags() & in andIRFlags()
751 DestGEP->getNoWrapFlags()); in andIRFlags()
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DBasicAliasAnalysis.h130 void subtractDecomposedGEPs(DecomposedGEP &DestGEP,