Home
last modified time | relevance | path

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

/external/swiftshader/third_party/LLVM/lib/Analysis/
DInstructionSimplify.cpp482 Value *CommonValue = 0; in ThreadBinOpOverPHI() local
492 if (!V || (CommonValue && V != CommonValue)) in ThreadBinOpOverPHI()
494 CommonValue = V; in ThreadBinOpOverPHI()
497 return CommonValue; in ThreadBinOpOverPHI()
524 Value *CommonValue = 0; in ThreadCmpOverPHI() local
532 if (!V || (CommonValue && V != CommonValue)) in ThreadCmpOverPHI()
534 CommonValue = V; in ThreadCmpOverPHI()
537 return CommonValue; in ThreadCmpOverPHI()
2307 Value *CommonValue = 0; in SimplifyPHINode() local
2318 if (CommonValue && Incoming != CommonValue) in SimplifyPHINode()
[all …]
DConstantFolding.cpp735 Constant *CommonValue = 0; in ConstantFoldInstruction() local
748 if (!C || (CommonValue && C != CommonValue)) in ConstantFoldInstruction()
750 CommonValue = C; in ConstantFoldInstruction()
754 return CommonValue ? CommonValue : UndefValue::get(PN->getType()); in ConstantFoldInstruction()
/external/llvm/lib/Analysis/
DInstructionSimplify.cpp472 Value *CommonValue = nullptr; in ThreadBinOpOverPHI() local
481 if (!V || (CommonValue && V != CommonValue)) in ThreadBinOpOverPHI()
483 CommonValue = V; in ThreadBinOpOverPHI()
486 return CommonValue; in ThreadBinOpOverPHI()
512 Value *CommonValue = nullptr; in ThreadCmpOverPHI() local
519 if (!V || (CommonValue && V != CommonValue)) in ThreadCmpOverPHI()
521 CommonValue = V; in ThreadCmpOverPHI()
524 return CommonValue; in ThreadCmpOverPHI()
3713 Value *CommonValue = nullptr; in SimplifyPHINode() local
3723 if (CommonValue && Incoming != CommonValue) in SimplifyPHINode()
[all …]
DConstantFolding.cpp973 Constant *CommonValue = nullptr; in ConstantFoldInstruction() local
991 if (CommonValue && C != CommonValue) in ConstantFoldInstruction()
993 CommonValue = C; in ConstantFoldInstruction()
998 return CommonValue ? CommonValue : UndefValue::get(PN->getType()); in ConstantFoldInstruction()