Lines Matching full:assume
1 //===- AssumptionCache.cpp - Cache finding @llvm.assume calls -------------===//
9 // This file contains a pass that keeps track of @llvm.assume intrinsics in
104 auto &AVV = getOrInsertAffectedValues(AV.Assume);
106 return Elem.Assume == CI && Elem.Index == AV.Index;
117 auto AVI = AffectedValues.find_as(AV.Assume);
123 if (Elem.Assume == CI) {
125 Elem.Assume = nullptr;
127 HasNonnull |= !!Elem.Assume;
172 // Go through all instructions in all blocks, add all calls to @llvm.assume
197 "Cannot register @llvm.assume call not in a basic block");
199 "Cannot register @llvm.assume call not in this function");
211 assert(match(cast<CallInst>(VH), m_Intrinsic<Intrinsic::assume>()) &&
212 "Cached something other than a call to @llvm.assume!");
291 if (match(&II, m_Intrinsic<Intrinsic::assume>()) &&