Home
last modified time | relevance | path

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

1234

/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/
DFunction.h309 bool doesNotAccessMemory() const { in doesNotAccessMemory() function
318 return doesNotAccessMemory() || hasFnAttribute(Attribute::ReadOnly); in onlyReadsMemory()
326 return doesNotAccessMemory() || hasFnAttribute(Attribute::WriteOnly); in doesNotReadMemory()
441 bool doesNotAccessMemory(unsigned n) const { in doesNotAccessMemory() function
449 return doesNotAccessMemory(n) || in onlyReadsMemory()
/external/llvm/include/llvm/IR/
DFunction.h286 bool doesNotAccessMemory() const {
295 return doesNotAccessMemory() || hasFnAttribute(Attribute::ReadOnly);
303 return doesNotAccessMemory() || hasFnAttribute(Attribute::WriteOnly);
418 bool doesNotAccessMemory(unsigned n) const {
426 return doesNotAccessMemory(n) ||
DCallSite.h409 bool doesNotAccessMemory() const { in doesNotAccessMemory() function
410 CALLSITE_DELEGATE_GETTER(doesNotAccessMemory()); in doesNotAccessMemory()
560 bool doesNotAccessMemory(unsigned OpNo) const { in doesNotAccessMemory() function
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DFunction.h484 bool doesNotAccessMemory() const { in doesNotAccessMemory() function
493 return doesNotAccessMemory() || hasFnAttribute(Attribute::ReadOnly); in onlyReadsMemory()
501 return doesNotAccessMemory() || hasFnAttribute(Attribute::WriteOnly); in doesNotReadMemory()
DCallSite.h459 bool doesNotAccessMemory() const { in doesNotAccessMemory() function
460 CALLSITE_DELEGATE_GETTER(doesNotAccessMemory()); in doesNotAccessMemory()
628 bool doesNotAccessMemory(unsigned OpNo) const { in doesNotAccessMemory() function
DInstrTypes.h1569 bool doesNotAccessMemory(unsigned OpNo) const {
1661 bool doesNotAccessMemory() const { return hasFnAttr(Attribute::ReadNone); }
1668 return doesNotAccessMemory() || hasFnAttr(Attribute::ReadOnly);
1676 return doesNotAccessMemory() || hasFnAttr(Attribute::WriteOnly);
/external/llvm-project/llvm/include/llvm/IR/
DFunction.h525 bool doesNotAccessMemory() const { in doesNotAccessMemory() function
534 return doesNotAccessMemory() || hasFnAttribute(Attribute::ReadOnly); in onlyReadsMemory()
542 return doesNotAccessMemory() || hasFnAttribute(Attribute::WriteOnly); in doesNotReadMemory()
DInstrTypes.h1651 bool doesNotAccessMemory(unsigned OpNo) const {
1746 bool doesNotAccessMemory() const { return hasFnAttr(Attribute::ReadNone); }
1753 return doesNotAccessMemory() || hasFnAttr(Attribute::ReadOnly);
1761 return doesNotAccessMemory() || hasFnAttr(Attribute::WriteOnly);
/external/llvm-project/llvm/unittests/Frontend/
DOpenMPIRBuilderTest.cpp105 EXPECT_FALSE(GTID->getCalledFunction()->doesNotAccessMemory()); in TEST_F()
112 EXPECT_FALSE(Barrier->getCalledFunction()->doesNotAccessMemory()); in TEST_F()
149 EXPECT_FALSE(GTID->getCalledFunction()->doesNotAccessMemory()); in TEST_F()
156 EXPECT_FALSE(Cancel->getCalledFunction()->doesNotAccessMemory()); in TEST_F()
209 EXPECT_FALSE(GTID->getCalledFunction()->doesNotAccessMemory()); in TEST_F()
216 EXPECT_FALSE(Cancel->getCalledFunction()->doesNotAccessMemory()); in TEST_F()
265 EXPECT_FALSE(GTID->getCalledFunction()->doesNotAccessMemory()); in TEST_F()
272 EXPECT_FALSE(Barrier->getCalledFunction()->doesNotAccessMemory()); in TEST_F()
/external/llvm/lib/Transforms/IPO/
DFunctionAttrs.cpp200 if (F->doesNotAccessMemory()) in addReadAttrs()
408 if (CS.doesNotAccessMemory()) { in determinePointerReadAttrs()
457 if (!CS.doesNotAccessMemory(UseIndex)) in determinePointerReadAttrs()
/external/llvm/lib/IR/
DInstruction.cpp493 return !cast<CallInst>(this)->doesNotAccessMemory(); in mayReadFromMemory()
495 return !cast<InvokeInst>(this)->doesNotAccessMemory(); in mayReadFromMemory()
/external/llvm/include/llvm/Analysis/
DAliasAnalysis.h271 bool doesNotAccessMemory(ImmutableCallSite CS) { in doesNotAccessMemory() function
286 bool doesNotAccessMemory(const Function *F) { in doesNotAccessMemory() function
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
DFunctionAttrs.cpp272 if (F->doesNotAccessMemory()) in addReadAttrs()
494 if (CS.doesNotAccessMemory()) { in determinePointerReadAttrs()
543 if (!CS.doesNotAccessMemory(UseIndex)) in determinePointerReadAttrs()
/external/llvm-project/llvm/lib/Transforms/IPO/
DFunctionAttrs.cpp271 if (F->doesNotAccessMemory()) in addReadAttrs()
495 if (CB.doesNotAccessMemory()) { in determinePointerReadAttrs()
544 if (!CB.doesNotAccessMemory(UseIndex)) in determinePointerReadAttrs()
/external/llvm/lib/Transforms/Scalar/
DLoopVersioningLICM.cpp330 if (isa<CallInst>(I) && !AA->doesNotAccessMemory(CallSite(I))) { in instructionSafeForVersioning()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DLoopVersioningLICM.cpp339 if (!AA->doesNotAccessMemory(Call)) { in instructionSafeForVersioning()
DGVNSink.cpp103 (isa<InvokeInst>(I) && !cast<InvokeInst>(I)->doesNotAccessMemory()) || in isMemoryInst()
104 (isa<CallInst>(I) && !cast<CallInst>(I)->doesNotAccessMemory()); in isMemoryInst()
/external/llvm-project/llvm/lib/Transforms/Scalar/
DGVNSink.cpp103 (isa<InvokeInst>(I) && !cast<InvokeInst>(I)->doesNotAccessMemory()) || in isMemoryInst()
104 (isa<CallInst>(I) && !cast<CallInst>(I)->doesNotAccessMemory()); in isMemoryInst()
/external/llvm/lib/Analysis/
DGlobalsModRef.cpp497 if (F->doesNotAccessMemory()) { in AnalyzeCallGraph()
857 if (CS.doesNotAccessMemory()) in getModRefInfoForArgument()
/external/llvm/lib/CodeGen/
DSafeStack.cpp339 if (!(CS.doesNotCapture(A - B) && (CS.doesNotAccessMemory(A - B) || in IsSafeStackAlloca()
340 CS.doesNotAccessMemory()))) { in IsSafeStackAlloca()
/external/llvm-project/llvm/lib/Analysis/
DGlobalsModRef.cpp524 if (F->doesNotAccessMemory()) { in AnalyzeCallGraph()
909 if (Call->doesNotAccessMemory()) in getModRefInfoForArgument()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DSafeStack.cpp350 if (!(CS.doesNotCapture(A - B) && (CS.doesNotAccessMemory(A - B) || in IsSafeStackAlloca()
351 CS.doesNotAccessMemory()))) { in IsSafeStackAlloca()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DGlobalsModRef.cpp522 if (F->doesNotAccessMemory()) { in AnalyzeCallGraph()
899 if (Call->doesNotAccessMemory()) in getModRefInfoForArgument()
/external/llvm-project/llvm/lib/CodeGen/
DSafeStack.cpp352 if (!(CS.doesNotCapture(A - B) && (CS.doesNotAccessMemory(A - B) || in IsSafeStackAlloca()
353 CS.doesNotAccessMemory()))) { in IsSafeStackAlloca()
/external/llvm-project/llvm/lib/Transforms/Utils/
DSimplifyLibCalls.cpp1511 ExpFn = BaseFn->doesNotAccessMemory() in replacePowWithExp()
1557 if (Pow->doesNotAccessMemory()) in replacePowWithExp()
1589 if (Pow->doesNotAccessMemory()) in replacePowWithExp()
1643 if (!Pow->doesNotAccessMemory() && !Pow->hasNoInfs() && in replacePowWithSqrt()
1647 Sqrt = getSqrtCall(Base, Attrs, Pow->doesNotAccessMemory(), Mod, B, TLI); in replacePowWithSqrt()
1759 Pow->doesNotAccessMemory(), M, B, TLI); in optimizePow()
1971 Log->doesNotAccessMemory() in optimizeLog()
1994 Value *LogE = Log->doesNotAccessMemory() in optimizeLog()

1234