/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/ |
D | Function.h | 309 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/ |
D | Function.h | 286 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) ||
|
D | CallSite.h | 409 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/ |
D | Function.h | 484 bool doesNotAccessMemory() const { in doesNotAccessMemory() function 493 return doesNotAccessMemory() || hasFnAttribute(Attribute::ReadOnly); in onlyReadsMemory() 501 return doesNotAccessMemory() || hasFnAttribute(Attribute::WriteOnly); in doesNotReadMemory()
|
D | CallSite.h | 459 bool doesNotAccessMemory() const { in doesNotAccessMemory() function 460 CALLSITE_DELEGATE_GETTER(doesNotAccessMemory()); in doesNotAccessMemory() 628 bool doesNotAccessMemory(unsigned OpNo) const { in doesNotAccessMemory() function
|
D | InstrTypes.h | 1569 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/ |
D | Function.h | 525 bool doesNotAccessMemory() const { in doesNotAccessMemory() function 534 return doesNotAccessMemory() || hasFnAttribute(Attribute::ReadOnly); in onlyReadsMemory() 542 return doesNotAccessMemory() || hasFnAttribute(Attribute::WriteOnly); in doesNotReadMemory()
|
D | InstrTypes.h | 1651 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/ |
D | OpenMPIRBuilderTest.cpp | 105 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/ |
D | FunctionAttrs.cpp | 200 if (F->doesNotAccessMemory()) in addReadAttrs() 408 if (CS.doesNotAccessMemory()) { in determinePointerReadAttrs() 457 if (!CS.doesNotAccessMemory(UseIndex)) in determinePointerReadAttrs()
|
/external/llvm/lib/IR/ |
D | Instruction.cpp | 493 return !cast<CallInst>(this)->doesNotAccessMemory(); in mayReadFromMemory() 495 return !cast<InvokeInst>(this)->doesNotAccessMemory(); in mayReadFromMemory()
|
/external/llvm/include/llvm/Analysis/ |
D | AliasAnalysis.h | 271 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/ |
D | FunctionAttrs.cpp | 272 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/ |
D | FunctionAttrs.cpp | 271 if (F->doesNotAccessMemory()) in addReadAttrs() 495 if (CB.doesNotAccessMemory()) { in determinePointerReadAttrs() 544 if (!CB.doesNotAccessMemory(UseIndex)) in determinePointerReadAttrs()
|
/external/llvm/lib/Transforms/Scalar/ |
D | LoopVersioningLICM.cpp | 330 if (isa<CallInst>(I) && !AA->doesNotAccessMemory(CallSite(I))) { in instructionSafeForVersioning()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
D | LoopVersioningLICM.cpp | 339 if (!AA->doesNotAccessMemory(Call)) { in instructionSafeForVersioning()
|
D | GVNSink.cpp | 103 (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/ |
D | GVNSink.cpp | 103 (isa<InvokeInst>(I) && !cast<InvokeInst>(I)->doesNotAccessMemory()) || in isMemoryInst() 104 (isa<CallInst>(I) && !cast<CallInst>(I)->doesNotAccessMemory()); in isMemoryInst()
|
/external/llvm/lib/Analysis/ |
D | GlobalsModRef.cpp | 497 if (F->doesNotAccessMemory()) { in AnalyzeCallGraph() 857 if (CS.doesNotAccessMemory()) in getModRefInfoForArgument()
|
/external/llvm/lib/CodeGen/ |
D | SafeStack.cpp | 339 if (!(CS.doesNotCapture(A - B) && (CS.doesNotAccessMemory(A - B) || in IsSafeStackAlloca() 340 CS.doesNotAccessMemory()))) { in IsSafeStackAlloca()
|
/external/llvm-project/llvm/lib/Analysis/ |
D | GlobalsModRef.cpp | 524 if (F->doesNotAccessMemory()) { in AnalyzeCallGraph() 909 if (Call->doesNotAccessMemory()) in getModRefInfoForArgument()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
D | SafeStack.cpp | 350 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/ |
D | GlobalsModRef.cpp | 522 if (F->doesNotAccessMemory()) { in AnalyzeCallGraph() 899 if (Call->doesNotAccessMemory()) in getModRefInfoForArgument()
|
/external/llvm-project/llvm/lib/CodeGen/ |
D | SafeStack.cpp | 352 if (!(CS.doesNotCapture(A - B) && (CS.doesNotAccessMemory(A - B) || in IsSafeStackAlloca() 353 CS.doesNotAccessMemory()))) { in IsSafeStackAlloca()
|
/external/llvm-project/llvm/lib/Transforms/Utils/ |
D | SimplifyLibCalls.cpp | 1511 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()
|