Home
last modified time | relevance | path

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

123

/external/llvm-project/llvm/unittests/Frontend/
DOpenMPIRBuilderTest.cpp158 EXPECT_EQ(Cancel->getNumUses(), 1U); in TEST_F()
218 EXPECT_EQ(Cancel->getNumUses(), 1U); in TEST_F()
274 EXPECT_EQ(Barrier->getNumUses(), 1U); in TEST_F()
416 EXPECT_EQ(OutlinedFn->getNumUses(), 1U); in TEST_F()
509 EXPECT_EQ(OutlinedFn.getNumUses(), 1U); in TEST_F()
617 EXPECT_EQ(OutlinedFn.getNumUses(), 1U); in TEST_F()
721 ASSERT_EQ(OutlinedFn->getNumUses(), 2U); in TEST_F()
731 ASSERT_EQ(Usr->getNumUses(), 1U); in TEST_F()
783 ASSERT_EQ(CBFn->getNumUses(), 1U); in TEST_F()
785 ASSERT_EQ(CBFn->user_back()->getNumUses(), 1U); in TEST_F()
[all …]
/external/llvm-project/llvm/tools/llvm-dis/
Dllvm-dis.cpp83 OS << "; [#uses=" << F->getNumUses() << ']'; // Output # uses in emitFunctionAnnot()
92 OS << "; [#uses=" << V.getNumUses() << " type=" << *V.getType() << "]"; in printInfoComment()
/external/llvm/tools/llvm-dis/
Dllvm-dis.cpp81 OS << "; [#uses=" << F->getNumUses() << ']'; // Output # uses in emitFunctionAnnot()
90 OS << "; [#uses=" << V.getNumUses() << " type=" << *V.getType() << "]"; in printInfoComment()
/external/llvm/lib/Transforms/Instrumentation/
DSanitizerCoverage.cpp183 return SanCovFunction->getNumUses() + in NumberOfInstrumentedBlocks()
184 SanCovWithCheckFunction->getNumUses() + SanCovTraceBB->getNumUses() + in NumberOfInstrumentedBlocks()
185 SanCovTraceEnter->getNumUses(); in NumberOfInstrumentedBlocks()
/external/llvm-project/llvm/lib/Analysis/
DFunctionPropertiesAnalysis.cpp25 FPI.Uses = ((!F.hasLocalLinkage()) ? 1 : 0) + F.getNumUses(); in getFunctionPropertiesInfo()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DReachingDefAnalysis.h140 unsigned getNumUses(MachineInstr *MI, int PhysReg);
/external/llvm/lib/Transforms/Scalar/
DLoopRerollPass.cpp520 unsigned IVUses = IV->getNumUses(); in isLoopControlIV()
525 int32_t IncOrCmpUses = User->getNumUses(); in isLoopControlIV()
559 if (BO->hasNoSignedWrap() && UUser && UUser->getNumUses() == 1 && in isLoopControlIV()
847 NumBaseUses = Roots.begin()->second->getNumUses(); in collectPossibleRoots()
853 if (KV.second->getNumUses() != NumBaseUses) { in collectPossibleRoots()
856 KV.second->getNumUses() << "\n"); in collectPossibleRoots()
868 if (I->getNumUses() > IL_MaxRerollIterations) in findRootsRecursive()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DAbstractCallSite.cpp66 if (CE->getNumUses() == 1 && CE->isCast()) { in AbstractCallSite()
DValue.cpp161 unsigned Value::getNumUses() const { in getNumUses() function in Value
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DLoopRerollPass.cpp516 unsigned IVUses = IV->getNumUses(); in isLoopControlIV()
521 int32_t IncOrCmpUses = User->getNumUses(); in isLoopControlIV()
837 NumBaseUses = Roots.begin()->second->getNumUses(); in collectPossibleRoots()
846 << ", #Root=" << KV.second->getNumUses() << "\n"); in collectPossibleRoots()
DGVNSink.cpp357 : GVNExpression::BasicExpression(I->getNumUses()) { in InstructionUseExpr()
/external/llvm-project/llvm/lib/Transforms/Scalar/
DLoopRerollPass.cpp526 unsigned IVUses = IV->getNumUses(); in isLoopControlIV()
531 int32_t IncOrCmpUses = User->getNumUses(); in isLoopControlIV()
847 NumBaseUses = Roots.begin()->second->getNumUses(); in collectPossibleRoots()
856 << ", #Root=" << KV.second->getNumUses() << "\n"); in collectPossibleRoots()
DGVNSink.cpp356 : GVNExpression::BasicExpression(I->getNumUses()) { in InstructionUseExpr()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DReachingDefAnalysis.cpp248 unsigned ReachingDefAnalysis::getNumUses(MachineInstr *Def, int PhysReg) { in getNumUses() function in ReachingDefAnalysis
/external/llvm-project/llvm/lib/Target/ARM/
DMVEGatherScatterLowering.cpp733 Phi->getParent() != L->getHeader() || Phi->getNumUses() != 2) in tryCreateIncrementingWBGatScat()
976 if (Phi->getNumUses() == 2) { in optimiseOffsets()
979 if (IncInstruction->getNumUses() != 1) { in optimiseOffsets()
/external/llvm/unittests/Linker/
DLinkModulesTest.cpp360 ASSERT_EQ(F->getNumUses(), (unsigned)2); in TEST_F()
/external/llvm-project/llvm/unittests/Linker/
DLinkModulesTest.cpp359 ASSERT_EQ(F->getNumUses(), (unsigned)2); in TEST_F()
/external/llvm/unittests/IR/
DValueHandleTest.cpp315 EXPECT_EQ(1U, getValPtr()->getNumUses()); in TEST_F()
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/
DValue.h403 unsigned getNumUses() const;
/external/llvm/include/llvm/IR/
DValue.h394 unsigned getNumUses() const;
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DValue.h454 unsigned getNumUses() const;
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Frontend/OpenMP/
DOMPIRBuilder.cpp532 assert(OutlinedFn && OutlinedFn->getNumUses() == 1); in CreateParallel()
/external/llvm-project/llvm/include/llvm/IR/
DValue.h498 unsigned getNumUses() const;
/external/llvm-project/llvm/unittests/IR/
DValueHandleTest.cpp332 EXPECT_EQ(1U, getValPtr()->getNumUses()); in TEST_F()
/external/llvm/lib/IR/
DValue.cpp137 unsigned Value::getNumUses() const { in getNumUses() function in Value

123