Lines Matching defs:mayLoad
3430 bool mayLoad;
3436 : CDP(cdp), hasSideEffects(false), mayStore(false), mayLoad(false),
3448 if (hasSideEffects || mayLoad || mayStore || isVariadic)
3471 if (CP.hasProperty(SDNPMayLoad)) mayLoad = true;
3484 if (N->NodeHasProperty(SDNPMayLoad, CDP)) mayLoad = true;
3492 mayLoad = true;// These may load memory.
3534 if (InstInfo.mayLoad != PatInfo.mayLoad && !InstInfo.mayLoad_Unset) {
3535 // Allow explicitly setting mayLoad = 1, even when the pattern has no loads.
3537 if (!InstInfo.mayLoad) {
3539 PrintError(PatDef->getLoc(), "Pattern doesn't match mayLoad = " +
3540 Twine(InstInfo.mayLoad));
3547 InstInfo.mayLoad |= PatInfo.mayLoad;
3982 // The mayLoad and mayStore flags default to false.
4004 "Can't infer mayLoad from patterns");
4027 NumLoads += InstInfo.mayLoad;
4047 // Similarly, mayStore implies mayLoad on intrinsics.
4048 if (!PatInfo.mayStore && PatInfo.mayLoad && !NumLoads)
4049 Msgs.push_back("pattern may load, but mayLoad isn't set");