Lines Matching defs:FunctionEffect
66 /// FunctionEffect - Capture whether or not this function reads or writes to
68 unsigned FunctionEffect;
70 FunctionRecord() : MayReadAnyGlobal (false), FunctionEffect(0) {}
128 if (FR->FunctionEffect == 0)
130 else if ((FR->FunctionEffect & Mod) == 0)
145 if (FR->FunctionEffect == 0)
147 else if ((FR->FunctionEffect & Mod) == 0)
382 unsigned FunctionEffect = 0;
398 FunctionEffect |= Ref;
404 FunctionEffect |= ModRef;
417 FunctionEffect |= CalleeFR->FunctionEffect;
446 for (unsigned i = 0, e = SCC.size(); i != e && FunctionEffect != ModRef;++i)
449 II != E && FunctionEffect != ModRef; ++II)
451 FunctionEffect |= Ref;
455 FunctionEffect |= Mod;
457 FunctionEffect |= Mod;
460 FunctionEffect |= Ref;
462 FunctionEffect |= ModRef;
467 FunctionEffect |= (Behaviour & ModRef);
470 if ((FunctionEffect & Mod) == 0)
472 if (FunctionEffect == 0)
474 FR.FunctionEffect = FunctionEffect;