search for: getor

Displaying 3 results from an estimated 3 matches for "getor".

Did you mean: getdr
2019 Mar 26
2
On-the-fly passes
...he & { return this->getAnalysis<AssumptionCacheTracker>().getAssumptionCache(F); }; auto OREGetter = [this] (Function &F) -> OptimizationRemarkEmitter & { return this-> getAnalysis<OptimizationRemarkEmitterWrapperPass>(F).getORE(); }; }
2018 Aug 11
3
ScalarEvolution in a ModulePass
...e appropriate lambda to get the analysis for that Function. The problem seems to arise when lambdas for other analysis FunctionPasses run after calling the GetSE lambda, e.g., when evaluating a statement like this: for (Function &F : M) Changed |= MyPassImpl(F, GetSE(F), GetDT(F), GetLI(F), GetORE(F), ...).run(); It appears that these other analysis FunctionPasses can cause ScalarEvolutionWrapperPass::runOnFunction() to rerun after GetSE() returns a pointer to a ScalarEvolution, which changes the underlying ScalarEvolution object that the wrapper pass points to. As a result, the pointer...
2011 Feb 04
3
[LLVMdev] ConstantBuilder proposal
...nstant *C1, Constant *C2) { return ConstantExpr::getSRem(C1, C2); } static Constant *GetFRem(Constant *C1, Constant *C2) { return ConstantExpr::getFRem(C1, C2); } static Constant *GetAnd(Constant *C1, Constant *C2) { return ConstantExpr::getAnd(C1, C2); } static Constant *GetOr(Constant *C1, Constant *C2) { return ConstantExpr::getOr(C1, C2); } static Constant *GetXor(Constant *C1, Constant *C2) { return ConstantExpr::getXor(C1, C2); } static Constant *GetShl(Constant *C1, Constant *C2) { return ConstantExpr::getShl(C1, C2); } static Constant *G...