MCPcopy Create free account
hub / github.com/AdaptiveCpp/AdaptiveCpp / VectorizationAnalysis

Method VectorizationAnalysis

src/compiler/cbs/UniformityAnalysis.cpp:42–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40namespace hipsycl::compiler {
41
42VectorizationAnalysis::VectorizationAnalysis(VectorizationInfo &VecInfo, LoopInfo &LI,
43 DominatorTree &DT, PostDominatorTree &PDT)
44 : vecInfo(VecInfo), layout(VecInfo.getScalarFunction().getParent()->getDataLayout()), LI(LI),
45 DT(DT), SDA(DT, PDT, LI), region(VecInfo.getRegion()), allocaSSA(region) {
46
47 // compute pointer provenance
48 allocaSSA.compute();
49 IF_DEBUG_VA allocaSSA.print(errs());
50}
51
52bool VectorizationAnalysis::putOnWorklist(const llvm::Instruction &inst) {
53 if (mOnWorklist.insert(&inst).second) {

Callers

nothing calls this directly

Calls 1

computeMethod · 0.45

Tested by

no test coverage detected