Home
last modified time | relevance | path

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

12345678910>>...12

/external/llvm-project/llvm/lib/Transforms/InstCombine/
DInstCombinePHI.cpp49 for (unsigned i = 1; i != PN.getNumIncomingValues(); ++i) { in PHIArgMergedDebugLoc()
141 for (unsigned i = 0; i != PN.getNumIncomingValues(); ++i) { in foldIntegerTypedPHI()
189 assert(AvailablePtrVals.size() == PN.getNumIncomingValues() && in foldIntegerTypedPHI()
203 for (unsigned i = 0; i != PtrPHI->getNumIncomingValues(); ++i) { in foldIntegerTypedPHI()
249 IntToPtr->getType(), PN.getNumIncomingValues(), PN.getName() + ".ptr"); in foldIntegerTypedPHI()
253 for (unsigned i = 0; i != PN.getNumIncomingValues(); ++i) { in foldIntegerTypedPHI()
310 for (unsigned i = 1; i != PN.getNumIncomingValues(); ++i) { in foldPHIArgInsertValueInstructionIntoPHI()
323 FirstIVI->getOperand(OpIdx)->getType(), PN.getNumIncomingValues(), in foldPHIArgInsertValueInstructionIntoPHI()
350 for (unsigned i = 1; i != PN.getNumIncomingValues(); ++i) { in foldPHIArgExtractValueInstructionIntoPHI()
361 FirstEVI->getAggregateOperand()->getType(), PN.getNumIncomingValues(), in foldPHIArgExtractValueInstructionIntoPHI()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombinePHI.cpp40 for (unsigned i = 1; i != PN.getNumIncomingValues(); ++i) { in PHIArgMergedDebugLoc()
132 for (unsigned i = 0; i != PN.getNumIncomingValues(); ++i) { in FoldIntegerTypedPHI()
180 assert(AvailablePtrVals.size() == PN.getNumIncomingValues() && in FoldIntegerTypedPHI()
194 for (unsigned i = 0; i != PtrPHI->getNumIncomingValues(); ++i) { in FoldIntegerTypedPHI()
240 IntToPtr->getType(), PN.getNumIncomingValues(), PN.getName() + ".ptr"); in FoldIntegerTypedPHI()
244 for (unsigned i = 0; i != PN.getNumIncomingValues(); ++i) { in FoldIntegerTypedPHI()
306 for (unsigned i = 1; i != PN.getNumIncomingValues(); ++i) { in FoldPHIArgBinOpIntoPHI()
338 NewLHS = PHINode::Create(LHSType, PN.getNumIncomingValues(), in FoldPHIArgBinOpIntoPHI()
346 NewRHS = PHINode::Create(RHSType, PN.getNumIncomingValues(), in FoldPHIArgBinOpIntoPHI()
355 for (unsigned i = 1, e = PN.getNumIncomingValues(); i != e; ++i) { in FoldPHIArgBinOpIntoPHI()
[all …]
/external/llvm/lib/Transforms/InstCombine/
DInstCombinePHI.cpp39 for (unsigned i = 1; i != PN.getNumIncomingValues(); ++i) { in FoldPHIArgBinOpIntoPHI()
71 NewLHS = PHINode::Create(LHSType, PN.getNumIncomingValues(), in FoldPHIArgBinOpIntoPHI()
79 NewRHS = PHINode::Create(RHSType, PN.getNumIncomingValues(), in FoldPHIArgBinOpIntoPHI()
88 for (unsigned i = 1, e = PN.getNumIncomingValues(); i != e; ++i) { in FoldPHIArgBinOpIntoPHI()
114 for (unsigned i = 1, e = PN.getNumIncomingValues(); i != e; ++i) in FoldPHIArgBinOpIntoPHI()
138 for (unsigned i = 1; i != PN.getNumIncomingValues(); ++i) { in FoldPHIArgGEPIntoPHI()
211 for (unsigned i = 1, e = PN.getNumIncomingValues(); i != e; ++i) { in FoldPHIArgGEPIntoPHI()
307 for (unsigned i = 1, e = PN.getNumIncomingValues(); i != e; ++i) { in FoldPHIArgLoadIntoPHI()
338 PN.getNumIncomingValues(), in FoldPHIArgLoadIntoPHI()
361 for (unsigned i = 1, e = PN.getNumIncomingValues(); i != e; ++i) { in FoldPHIArgLoadIntoPHI()
[all …]
/external/llvm-project/llvm/unittests/Transforms/Utils/
DCodeExtractorTest.cpp72 EXPECT_TRUE(Exit && cast<PHINode>(Exit->front()).getNumIncomingValues() == 1); in TEST()
75 cast<PHINode>(ExitSplit->front()).getNumIncomingValues() == 2); in TEST()
124 cast<PHINode>(Exit1->front()).getNumIncomingValues() == 2); in TEST()
126 cast<PHINode>(Exit2->front()).getNumIncomingValues() == 2); in TEST()
/external/llvm/lib/Transforms/Utils/
DDemoteRegToStack.cpp69 for (unsigned i = 0, e = PN->getNumIncomingValues(); i != e; ++i) in DemoteRegToStack()
125 for (unsigned i = 0, e = P->getNumIncomingValues(); i < e; ++i) { in DemotePHIToStack()
DSSAUpdater.cpp67 unsigned PHINumValues = PHI->getNumIncomingValues(); in IsEquivalentPHI()
101 for (unsigned i = 0, e = SomePhi->getNumIncomingValues(); i != e; ++i) { in GetValueInMiddleOfBlock()
228 : PHI(P), idx(PHI->getNumIncomingValues()) {} in PHI_iterator()
294 if (PHI && PHI->getNumIncomingValues() == 0) in ValueIsNewPHI()
DCloneFunction.cpp471 unsigned NumPreds = OPN->getNumIncomingValues(); in CloneAndPruneIntoFromInst()
505 if (NumPreds != PN->getNumIncomingValues()) { in CloneAndPruneIntoFromInst()
506 assert(NumPreds < PN->getNumIncomingValues()); in CloneAndPruneIntoFromInst()
514 for (unsigned i = 0, e = PN->getNumIncomingValues(); i != e; ++i) in CloneAndPruneIntoFromInst()
534 if (PN->getNumIncomingValues() == 0) { in CloneAndPruneIntoFromInst()
DCodeExtractor.cpp194 for (unsigned i = 0, e = PN->getNumIncomingValues(); i != e; ++i) in severSplitPHINodes()
231 for (unsigned i = 0, e = PN->getNumIncomingValues(); i != e; ++i) in severSplitPHINodes()
249 for (unsigned i = 0; i != PN->getNumIncomingValues(); ++i) { in severSplitPHINodes()
730 for (unsigned i = 0, e = PN->getNumIncomingValues(); i != e; ++i) in extractCodeRegion()
744 for (unsigned i = 0, e = PN->getNumIncomingValues(); i != e; ++i) in extractCodeRegion()
/external/llvm-project/llvm/lib/Transforms/Utils/
DSSAUpdater.cpp80 unsigned PHINumValues = PHI->getNumIncomingValues(); in IsEquivalentPHI()
114 for (unsigned i = 0, e = SomePhi->getNumIncomingValues(); i != e; ++i) { in GetValueInMiddleOfBlock()
235 : PHI(P), idx(PHI->getNumIncomingValues()) {} in PHI_iterator()
301 if (PHI && PHI->getNumIncomingValues() == 0) in ValueIsNewPHI()
DDemoteRegToStack.cpp70 for (unsigned i = 0, e = PN->getNumIncomingValues(); i != e; ++i) in DemoteRegToStack()
131 for (unsigned i = 0, e = P->getNumIncomingValues(); i < e; ++i) { in DemotePHIToStack()
DPromoteMemoryToRegister.cpp739 if (SomePHI->getNumIncomingValues() == getNumPreds(BB)) in run()
755 for (unsigned i = 0, e = SomePHI->getNumIncomingValues(); i != e; ++i) { in run()
770 unsigned NumBadPreds = SomePHI->getNumIncomingValues(); in run()
773 SomePHI->getNumIncomingValues() == NumBadPreds) { in run()
920 APN->getNumIncomingValues() > 0); in RenamePass()
DCloneFunction.cpp527 unsigned NumPreds = OPN->getNumIncomingValues(); in CloneAndPruneIntoFromInst()
561 if (NumPreds != PN->getNumIncomingValues()) { in CloneAndPruneIntoFromInst()
562 assert(NumPreds < PN->getNumIncomingValues()); in CloneAndPruneIntoFromInst()
570 for (unsigned i = 0, e = PN->getNumIncomingValues(); i != e; ++i) in CloneAndPruneIntoFromInst()
590 if (PN->getNumIncomingValues() == 0) { in CloneAndPruneIntoFromInst()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DSSAUpdater.cpp80 unsigned PHINumValues = PHI->getNumIncomingValues(); in IsEquivalentPHI()
114 for (unsigned i = 0, e = SomePhi->getNumIncomingValues(); i != e; ++i) { in GetValueInMiddleOfBlock()
240 : PHI(P), idx(PHI->getNumIncomingValues()) {} in PHI_iterator()
306 if (PHI && PHI->getNumIncomingValues() == 0) in ValueIsNewPHI()
DDemoteRegToStack.cpp70 for (unsigned i = 0, e = PN->getNumIncomingValues(); i != e; ++i) in DemoteRegToStack()
131 for (unsigned i = 0, e = P->getNumIncomingValues(); i < e; ++i) { in DemotePHIToStack()
DPromoteMemoryToRegister.cpp724 if (SomePHI->getNumIncomingValues() == getNumPreds(BB)) in run()
740 for (unsigned i = 0, e = SomePHI->getNumIncomingValues(); i != e; ++i) { in run()
755 unsigned NumBadPreds = SomePHI->getNumIncomingValues(); in run()
758 SomePHI->getNumIncomingValues() == NumBadPreds) { in run()
905 APN->getNumIncomingValues() > 0); in RenamePass()
DCloneFunction.cpp523 unsigned NumPreds = OPN->getNumIncomingValues(); in CloneAndPruneIntoFromInst()
557 if (NumPreds != PN->getNumIncomingValues()) { in CloneAndPruneIntoFromInst()
558 assert(NumPreds < PN->getNumIncomingValues()); in CloneAndPruneIntoFromInst()
566 for (unsigned i = 0, e = PN->getNumIncomingValues(); i != e; ++i) in CloneAndPruneIntoFromInst()
586 if (PN->getNumIncomingValues() == 0) { in CloneAndPruneIntoFromInst()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/
DPoisonChecking.cpp266 OldPHI->getNumIncomingValues()); in rewrite()
267 for (unsigned i = 0; i < OldPHI->getNumIncomingValues(); i++) in rewrite()
308 for (unsigned i = 0; i < OldPHI->getNumIncomingValues(); i++) { in rewrite()
/external/llvm-project/llvm/lib/Transforms/Instrumentation/
DPoisonChecking.cpp269 auto *NewPHI = PHINode::Create(Int1Ty, OldPHI->getNumIncomingValues()); in rewrite()
270 for (unsigned i = 0; i < OldPHI->getNumIncomingValues(); i++) in rewrite()
313 for (unsigned i = 0; i < OldPHI->getNumIncomingValues(); i++) { in rewrite()
/external/llvm-project/llvm/lib/Target/AArch64/
DSVEIntrinsicOpts.cpp123 PHINode *NPN = Builder.CreatePHI(RequiredType, PN->getNumIncomingValues()); in processPhiNode()
126 for (unsigned I = 0; I < PN->getNumIncomingValues(); I++) { in processPhiNode()
/external/llvm/lib/Target/AMDGPU/
DSIAnnotateControlFlow.cpp193 for (unsigned i = 0, e = Phi->getNumIncomingValues(); i != e; ++i) { in isElse()
251 for (unsigned i = 0, e = Phi->getNumIncomingValues(); i != e; ++i) { in handleLoopCondition()
266 for (unsigned i = 0, e = Phi->getNumIncomingValues(); i != e; ++i) { in handleLoopCondition()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/ObjCARC/
DObjCARC.h91 unsigned I = 0, E = PN.getNumIncomingValues(); in getEquivalentPHIs()
/external/llvm-project/llvm/lib/Transforms/ObjCARC/
DObjCARC.h77 unsigned I = 0, E = PN.getNumIncomingValues(); in getEquivalentPHIs()
/external/llvm-project/llvm/lib/Target/BPF/
DBPFCheckAndAdjustIR.cpp82 for (int i = 0, e = PN->getNumIncomingValues(); i < e; ++i) { in checkIR()
/external/llvm/lib/Analysis/
DSparsePropagation.cpp250 if (PN.getNumIncomingValues() > 64) { in visitPHINode()
258 for (unsigned i = 0, e = PN.getNumIncomingValues(); i != e; ++i) { in visitPHINode()
/external/llvm-project/llvm/lib/Transforms/Scalar/
DLoopInterchange.cpp657 if (PHI->getNumIncomingValues() != 1) in followLCSSA()
666 if (PHI->getNumIncomingValues() == 1) in findInnerReductionPhi()
697 assert(PHI.getNumIncomingValues() == 2 && in findInductionAndReductions()
900 if (PHI.getNumIncomingValues() > 1) in areInnerLoopExitPHIsSupported()
928 for (unsigned i = 0; i < PHI.getNumIncomingValues(); i++) { in areOuterLoopExitPHIsSupported()
1398 assert(P.getNumIncomingValues() == 1 && in moveLCSSAPhis()
1448 if (P.getNumIncomingValues() != 1) in moveLCSSAPhis()

12345678910>>...12