Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/InstCombine/
DInstCombinePHI.cpp621 static bool PHIsEqualValue(PHINode *PN, Value *NonPhiInVal, in PHIsEqualValue() argument
635 if (!PHIsEqualValue(OpPN, NonPhiInVal, ValueEqualPHIs)) in PHIsEqualValue()
637 } else if (Op != NonPhiInVal) in PHIsEqualValue()
938 Value *NonPhiInVal = PN.getIncomingValue(InValNo); in visitPHINode() local
944 if (OpVal != NonPhiInVal && !isa<PHINode>(OpVal)) in visitPHINode()
953 if (PHIsEqualValue(&PN, NonPhiInVal, ValueEqualPHIs)) in visitPHINode()
954 return ReplaceInstUsesWith(PN, NonPhiInVal); in visitPHINode()