Home
last modified time | relevance | path

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

/external/llvm/include/llvm/Analysis/
DAliasAnalysis.h333 ModRefInfo getModRefInfo(ImmutableCallSite CS, const MemoryLocation &Loc);
336 ModRefInfo getModRefInfo(ImmutableCallSite CS, const Value *P, in getModRefInfo() function
338 return getModRefInfo(CS, MemoryLocation(P, Size)); in getModRefInfo()
343 ModRefInfo getModRefInfo(const CallInst *C, const MemoryLocation &Loc) { in getModRefInfo() function
344 return getModRefInfo(ImmutableCallSite(C), Loc); in getModRefInfo()
348 ModRefInfo getModRefInfo(const CallInst *C, const Value *P, uint64_t Size) { in getModRefInfo() function
349 return getModRefInfo(C, MemoryLocation(P, Size)); in getModRefInfo()
354 ModRefInfo getModRefInfo(const InvokeInst *I, const MemoryLocation &Loc) { in getModRefInfo() function
355 return getModRefInfo(ImmutableCallSite(I), Loc); in getModRefInfo()
359 ModRefInfo getModRefInfo(const InvokeInst *I, const Value *P, uint64_t Size) { in getModRefInfo() function
[all …]
DScopedNoAliasAA.h41 ModRefInfo getModRefInfo(ImmutableCallSite CS, const MemoryLocation &Loc);
42 ModRefInfo getModRefInfo(ImmutableCallSite CS1, ImmutableCallSite CS2);
DTypeBasedAliasAnalysis.h43 ModRefInfo getModRefInfo(ImmutableCallSite CS, const MemoryLocation &Loc);
44 ModRefInfo getModRefInfo(ImmutableCallSite CS1, ImmutableCallSite CS2);
DObjCARCAliasAnalysis.h61 using AAResultBase::getModRefInfo;
62 ModRefInfo getModRefInfo(ImmutableCallSite CS, const MemoryLocation &Loc);
DGlobalsModRef.h88 using AAResultBase::getModRefInfo;
89 ModRefInfo getModRefInfo(ImmutableCallSite CS, const MemoryLocation &Loc);
DBasicAliasAnalysis.h66 ModRefInfo getModRefInfo(ImmutableCallSite CS, const MemoryLocation &Loc);
68 ModRefInfo getModRefInfo(ImmutableCallSite CS1, ImmutableCallSite CS2);
/external/llvm/unittests/Analysis/
DAliasAnalysisTest.cpp169 TEST_F(AliasAnalysisTest, getModRefInfo) { in TEST_F() argument
196 EXPECT_EQ(AA.getModRefInfo(Store1, MemoryLocation()), MRI_Mod); in TEST_F()
197 EXPECT_EQ(AA.getModRefInfo(Store1), MRI_Mod); in TEST_F()
198 EXPECT_EQ(AA.getModRefInfo(Load1, MemoryLocation()), MRI_Ref); in TEST_F()
199 EXPECT_EQ(AA.getModRefInfo(Load1), MRI_Ref); in TEST_F()
200 EXPECT_EQ(AA.getModRefInfo(Add1, MemoryLocation()), MRI_NoModRef); in TEST_F()
201 EXPECT_EQ(AA.getModRefInfo(Add1), MRI_NoModRef); in TEST_F()
202 EXPECT_EQ(AA.getModRefInfo(VAArg1, MemoryLocation()), MRI_ModRef); in TEST_F()
203 EXPECT_EQ(AA.getModRefInfo(VAArg1), MRI_ModRef); in TEST_F()
204 EXPECT_EQ(AA.getModRefInfo(CmpXChg1, MemoryLocation()), MRI_ModRef); in TEST_F()
[all …]
/external/llvm/lib/Analysis/
DAliasAnalysis.cpp115 ModRefInfo AAResults::getModRefInfo(Instruction *I, ImmutableCallSite Call) { in getModRefInfo() function in AAResults
119 return getModRefInfo(Call, CS); in getModRefInfo()
126 if (getModRefInfo(Call, DefLoc) != MRI_NoModRef) in getModRefInfo()
132 ModRefInfo AAResults::getModRefInfo(ImmutableCallSite CS, in getModRefInfo() function in AAResults
137 Result = ModRefInfo(Result & AA->getModRefInfo(CS, Loc)); in getModRefInfo()
147 ModRefInfo AAResults::getModRefInfo(ImmutableCallSite CS1, in getModRefInfo() function in AAResults
152 Result = ModRefInfo(Result & AA->getModRefInfo(CS1, CS2)); in getModRefInfo()
194 ModRefInfo AAResults::getModRefInfo(const LoadInst *L, in getModRefInfo() function in AAResults
209 ModRefInfo AAResults::getModRefInfo(const StoreInst *S, in getModRefInfo() function in AAResults
231 ModRefInfo AAResults::getModRefInfo(const VAArgInst *V, in getModRefInfo() function in AAResults
[all …]
DScopedNoAliasAA.cpp96 ModRefInfo ScopedNoAliasAAResult::getModRefInfo(ImmutableCallSite CS, in getModRefInfo() function in ScopedNoAliasAAResult
99 return AAResultBase::getModRefInfo(CS, Loc); in getModRefInfo()
110 return AAResultBase::getModRefInfo(CS, Loc); in getModRefInfo()
113 ModRefInfo ScopedNoAliasAAResult::getModRefInfo(ImmutableCallSite CS1, in getModRefInfo() function in ScopedNoAliasAAResult
116 return AAResultBase::getModRefInfo(CS1, CS2); in getModRefInfo()
128 return AAResultBase::getModRefInfo(CS1, CS2); in getModRefInfo()
DObjCARCAliasAnalysis.cpp109 ModRefInfo ObjCARCAAResult::getModRefInfo(ImmutableCallSite CS, in getModRefInfo() function in ObjCARCAAResult
112 return AAResultBase::getModRefInfo(CS, Loc); in getModRefInfo()
131 return AAResultBase::getModRefInfo(CS, Loc); in getModRefInfo()
DGlobalsModRef.cpp128 ModRefInfo getModRefInfo() const { in getModRefInfo() function in GlobalsAAResult::FunctionInfo
159 addModRefInfo(FI.getModRefInfo()); in addFunctionInfo()
233 if (FI->getModRefInfo() == MRI_NoModRef) in getModRefBehavior()
235 else if ((FI->getModRefInfo() & MRI_Mod) == 0) in getModRefBehavior()
248 if (FI->getModRefInfo() == MRI_NoModRef) in getModRefBehavior()
250 else if ((FI->getModRefInfo() & MRI_Mod) == 0) in getModRefBehavior()
570 if (FI.getModRefInfo() == MRI_ModRef) in AnalyzeCallGraph()
573 if (FI.getModRefInfo() == MRI_ModRef) in AnalyzeCallGraph()
603 if ((FI.getModRefInfo() & MRI_Mod) == 0) in AnalyzeCallGraph()
605 if (FI.getModRefInfo() == MRI_NoModRef) in AnalyzeCallGraph()
[all …]
DTypeBasedAliasAnalysis.cpp344 ModRefInfo TypeBasedAAResult::getModRefInfo(ImmutableCallSite CS, in getModRefInfo() function in TypeBasedAAResult
347 return AAResultBase::getModRefInfo(CS, Loc); in getModRefInfo()
355 return AAResultBase::getModRefInfo(CS, Loc); in getModRefInfo()
358 ModRefInfo TypeBasedAAResult::getModRefInfo(ImmutableCallSite CS1, in getModRefInfo() function in TypeBasedAAResult
361 return AAResultBase::getModRefInfo(CS1, CS2); in getModRefInfo()
370 return AAResultBase::getModRefInfo(CS1, CS2); in getModRefInfo()
DLoads.cpp262 if (AA && (AA->getModRefInfo(SI, StrippedPtr, AccessSize) & MRI_Mod) == 0) in FindAvailableLoadedValue()
275 (AA->getModRefInfo(Inst, StrippedPtr, AccessSize) & MRI_Mod) == 0) in FindAvailableLoadedValue()
DAliasSetTracker.cpp170 if (AA.getModRefInfo(UnknownInsts[i], in aliasesPointer()
185 if (!C1 || !C2 || AA.getModRefInfo(C1, C2) != MRI_NoModRef || in aliasesUnknownInst()
186 AA.getModRefInfo(C2, C1) != MRI_NoModRef) in aliasesUnknownInst()
191 if (AA.getModRefInfo(Inst, MemoryLocation(I.getPointer(), I.getSize(), in aliasesUnknownInst()
DAliasAnalysisEvaluator.cpp296 switch (AA.getModRefInfo(*C, *V, Size)) { in runOnFunction()
322 switch (AA.getModRefInfo(*C, *D)) { in runOnFunction()
DBasicAliasAnalysis.cpp682 ModRefInfo BasicAAResult::getModRefInfo(ImmutableCallSite CS, in getModRefInfo() function in BasicAAResult
738 return AAResultBase::getModRefInfo(CS, Loc); in getModRefInfo()
741 ModRefInfo BasicAAResult::getModRefInfo(ImmutableCallSite CS1, in getModRefInfo() function in BasicAAResult
750 return AAResultBase::getModRefInfo(CS1, CS2); in getModRefInfo()
DMemoryDependenceAnalysis.cpp226 if (AA->getModRefInfo(CS, Loc) != MRI_NoModRef) in getCallSiteDependencyFrom()
235 switch (AA->getModRefInfo(CS, InstCS)) { in getCallSiteDependencyFrom()
654 if (AA->getModRefInfo(SI, MemLoc) == MRI_NoModRef) in getSimplePointerDependencyFrom()
702 ModRefInfo MR = AA->getModRefInfo(Inst, MemLoc); in getSimplePointerDependencyFrom()
/external/clang/test/CodeGenCXX/
Dx86_32-arguments.cpp42 virtual void getModRefInfo(CallSite CS) = 0;
50 void getModRefInfo(CallSite CS);
53 void BasicAliasAnalysis::getModRefInfo(CallSite CS) { in getModRefInfo() function in BasicAliasAnalysis
D2003-11-27-MultipleInheritanceThunk.cpp14 virtual int getModRefInfo(CallSite CS);
24 int getModRefInfo(CallSite CS) { in getModRefInfo() function
/external/llvm/lib/Transforms/Scalar/
DDeadStoreElimination.cpp645 if (AA->getModRefInfo(DepWrite, Loc) & MRI_Ref) in runOnBasicBlock()
701 auto Res = AA->getModRefInfo(I, MemLoc); in MemoryIsNotModifiedBetween()
890 ModRefInfo A = AA->getModRefInfo(CS, I, getPointerSize(I, DL, *TLI)); in handleEndBlock()
DSink.cpp168 if (AA->getModRefInfo(S, Loc) & MRI_Mod) in isSafeToMove()
DMemCpyOptimizer.cpp517 if (AA.getModRefInfo(&*I, StoreLoc) != MRI_NoModRef) { in processStore()
715 ModRefInfo MR = AA.getModRefInfo(C, cpyDest, srcSize); in performCallSlotOptzn()
DLoopIdiomRecognize.cpp474 if (&*I != IgnoredStore && (AA.getModRefInfo(&*I, StoreLoc) & Access)) in mayLoopAccessLocation()
/external/llvm/lib/Transforms/ObjCARC/
DObjCARCContract.cpp250 if (!(AA->getModRefInfo(Inst, Loc) & MRI_Mod)) in findSafeStoreForStoreStrongContraction()
/external/llvm/docs/
DAliasAnalysis.rst142 The ``getModRefInfo`` methods
145 The ``getModRefInfo`` methods return information about whether the execution of
150 The ``AliasAnalysis`` class also provides a ``getModRefInfo`` method for testing