Lines Matching defs:hasSideEffects
2558 bool hasSideEffects;
2565 : CDP(cdp), hasSideEffects(false), mayStore(false), mayLoad(false),
2579 if (hasSideEffects || mayLoad || mayStore || isVariadic)
2611 if (CP.hasProperty(SDNPSideEffect)) hasSideEffects = true;
2630 if (N->NodeHasProperty(SDNPSideEffect, CDP)) hasSideEffects = true;
2643 hasSideEffects = true;
2659 if (InstInfo.hasSideEffects != PatInfo.hasSideEffects &&
2661 // Allow explicitly setting hasSideEffects = 1 on instructions, even when
2664 if (!InstInfo.hasSideEffects) {
2666 PrintError(PatDef->getLoc(), "Pattern doesn't match hasSideEffects = " +
2667 Twine(InstInfo.hasSideEffects));
2688 InstInfo.hasSideEffects |= PatInfo.hasSideEffects;
3084 // Treat neverHasSideEffects = 1 as the equivalent of hasSideEffects = 0.
3087 assert(!InstInfo.hasSideEffects);
3137 // Conservatively assume hasSideEffects if it wasn't explicit.
3139 InstInfo.hasSideEffects = true;
3151 "Can't infer hasSideEffects from patterns");
3178 NumSideEffects += InstInfo.hasSideEffects;
3192 if (PatInfo.hasSideEffects && !NumSideEffects)
3193 Msgs.push_back("pattern has side effects, but hasSideEffects isn't set");
3197 if (!PatInfo.hasSideEffects && PatInfo.mayStore && !NumStores)