Lines Matching defs:FactOrCheck
105 struct FactOrCheck { struct
106 enum class EntryTy {
115 union {
123 ConditionTy DoesHold;
125 unsigned NumIn;
126 unsigned NumOut;
127 EntryTy Ty;
129 FactOrCheck(EntryTy Ty, DomTreeNode *DTN, Instruction *Inst) in FactOrCheck() argument
133 FactOrCheck(DomTreeNode *DTN, Use *U) in FactOrCheck() function
138 FactOrCheck(DomTreeNode *DTN, CmpInst::Predicate Pred, Value *Op0, Value *Op1, in FactOrCheck() function
143 static FactOrCheck getConditionFact(DomTreeNode *DTN, CmpInst::Predicate Pred, in getConditionFact()
149 static FactOrCheck getInstFact(DomTreeNode *DTN, Instruction *Inst) { in getInstFact()
153 static FactOrCheck getCheck(DomTreeNode *DTN, Use *U) { in getCheck()
157 static FactOrCheck getCheck(DomTreeNode *DTN, CallInst *CI) { in getCheck()
161 bool isCheck() const { in isCheck()
165 Instruction *getContextInst() const { in getContextInst()
171 Instruction *getInstructionToSimplify() const { in getInstructionToSimplify()
179 bool isConditionFact() const { return Ty == EntryTy::ConditionFact; } in isConditionFact()