Searched refs:getKnownConstant (Results 1 – 3 of 3) sorted by relevance
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/ |
D | JumpThreading.cpp | 289 static Constant *getKnownConstant(Value *Val, ConstantPreference Preference) { in getKnownConstant() function 325 if (Constant *KC = getKnownConstant(V, Preference)) { in ComputeValueKnownInPredecessors() 355 if (Constant *KC = getKnownConstant(PredCst, Preference)) in ComputeValueKnownInPredecessors() 366 if (Constant *KC = getKnownConstant(InVal, Preference)) { in ComputeValueKnownInPredecessors() 371 if (Constant *KC = getKnownConstant(CI, Preference)) in ComputeValueKnownInPredecessors() 457 if (Constant *KC = getKnownConstant(Folded, WantInteger)) in ComputeValueKnownInPredecessors() 490 if (Constant *KC = getKnownConstant(Res, WantInteger)) in ComputeValueKnownInPredecessors() 533 if (Constant *KC = getKnownConstant(Folded, WantInteger)) in ComputeValueKnownInPredecessors() 545 Constant *TrueVal = getKnownConstant(SI->getTrueValue(), Preference); in ComputeValueKnownInPredecessors() 546 Constant *FalseVal = getKnownConstant(SI->getFalseValue(), Preference); in ComputeValueKnownInPredecessors() [all …]
|
/external/llvm/lib/Transforms/Scalar/ |
D | JumpThreading.cpp | 354 static Constant *getKnownConstant(Value *Val, ConstantPreference Preference) { in getKnownConstant() function 390 if (Constant *KC = getKnownConstant(V, Preference)) { in ComputeValueKnownInPredecessors() 419 if (Constant *KC = getKnownConstant(PredCst, Preference)) in ComputeValueKnownInPredecessors() 430 if (Constant *KC = getKnownConstant(InVal, Preference)) { in ComputeValueKnownInPredecessors() 436 if (Constant *KC = getKnownConstant(CI, Preference)) in ComputeValueKnownInPredecessors() 536 if (Constant *KC = getKnownConstant(Folded, WantInteger)) in ComputeValueKnownInPredecessors() 571 if (Constant *KC = getKnownConstant(Res, WantInteger)) in ComputeValueKnownInPredecessors() 612 if (Constant *KC = getKnownConstant(Folded, WantInteger)) in ComputeValueKnownInPredecessors() 624 Constant *TrueVal = getKnownConstant(SI->getTrueValue(), Preference); in ComputeValueKnownInPredecessors() 625 Constant *FalseVal = getKnownConstant(SI->getFalseValue(), Preference); in ComputeValueKnownInPredecessors() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/ |
D | JumpThreading.cpp | 552 static Constant *getKnownConstant(Value *Val, ConstantPreference Preference) { in getKnownConstant() function 587 if (Constant *KC = getKnownConstant(V, Preference)) { in ComputeValueKnownInPredecessors() 620 if (Constant *KC = getKnownConstant(PredCst, Preference)) in ComputeValueKnownInPredecessors() 635 if (Constant *KC = getKnownConstant(InVal, Preference)) { in ComputeValueKnownInPredecessors() 641 if (Constant *KC = getKnownConstant(CI, Preference)) in ComputeValueKnownInPredecessors() 739 if (Constant *KC = getKnownConstant(Folded, WantInteger)) in ComputeValueKnownInPredecessors() 795 if (Constant *KC = getKnownConstant(Res, WantInteger)) in ComputeValueKnownInPredecessors() 883 if (Constant *KC = getKnownConstant(Folded, WantInteger)) in ComputeValueKnownInPredecessors() 894 Constant *TrueVal = getKnownConstant(SI->getTrueValue(), Preference); in ComputeValueKnownInPredecessors() 895 Constant *FalseVal = getKnownConstant(SI->getFalseValue(), Preference); in ComputeValueKnownInPredecessors() [all …]
|