Lines Matching defs:AssumeBuilderState
101 struct AssumeBuilderState { struct
102 Module *M;
104 using MapKey = std::pair<Value *, Attribute::AttrKind>;
105 SmallMapVector<MapKey, unsigned, 8> AssumedKnowledgeMap;
106 Instruction *InstBeingRemoved = nullptr;
107 AssumptionCache* AC = nullptr;
108 DominatorTree* DT = nullptr;
110 AssumeBuilderState(Module *M, Instruction *I = nullptr, in AssumeBuilderState() function
114 bool tryToPreserveWithoutAddingAssume(RetainedKnowledge RK) { in tryToPreserveWithoutAddingAssume()
143 bool isKnowledgeWorthPreserving(RetainedKnowledge RK) { in isKnowledgeWorthPreserving()
171 void addKnowledge(RetainedKnowledge RK) { in addKnowledge()
194 void addAttribute(Attribute Attr, Value *WasOn) { in addAttribute()
205 void addCall(const CallBase *Call) { in addCall()
219 IntrinsicInst *build() { in build()
247 void addAccessedPtr(Instruction *MemInst, Value *Pointer, Type *AccType, in addAccessedPtr()
264 void addInstruction(Instruction *I) { in addInstruction()