Lines Matching refs:JumpThreading
1 //===- JumpThreading.cpp - Thread control through conditional blocks ------===//
13 #include "llvm/Transforms/Scalar/JumpThreading.h"
104 cl::desc("Print the LazyValueInfo cache after JumpThreading"), cl::init(false),
109 cl::desc("Allow JumpThreading to thread across loop headers, for testing"),
130 class JumpThreading : public FunctionPass {
136 JumpThreading(int T = -1) : FunctionPass(ID), Impl(T) {
157 char JumpThreading::ID = 0;
159 INITIALIZE_PASS_BEGIN(JumpThreading, "jump-threading",
165 INITIALIZE_PASS_END(JumpThreading, "jump-threading",
170 return new JumpThreading(Threshold);
304 bool JumpThreading::runOnFunction(Function &F) {
389 // JumpThreading must not processes blocks unreachable from entry. It's a
392 assert(DTU && "DTU isn't passed into JumpThreading before using it.");
393 assert(DTU->hasDomTree() && "JumpThreading relies on DomTree to proceed.");
2775 // @TryToUnfoldSelectInCurrBB test in test/Transforms/JumpThreading/select.ll.