Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/InstCombine/
DInstCombinePHI.cpp530 static bool PHIsEqualValue(PHINode *PN, Value *NonPhiInVal, in PHIsEqualValue() argument
545 if (!PHIsEqualValue(OpPN, NonPhiInVal, ValueEqualPHIs)) in PHIsEqualValue()
547 } else if (Op != NonPhiInVal) in PHIsEqualValue()
845 Value *NonPhiInVal = PN.getIncomingValue(InValNo); in visitPHINode() local
851 if (OpVal != NonPhiInVal && !isa<PHINode>(OpVal)) in visitPHINode()
860 if (PHIsEqualValue(&PN, NonPhiInVal, ValueEqualPHIs)) in visitPHINode()
861 return ReplaceInstUsesWith(PN, NonPhiInVal); in visitPHINode()