LLVM: lib/Transforms/Vectorize/SandboxVectorizer/Passes/RegionsFromMetadata.cpp Source File (original) (raw)

Go to the documentation of this file.

1

2

3

4

5

6

7

8

10

13

15

19

23 bool Change = false;

24 for (auto &R : Regions) {

25 Change |= RPM.runOnRegion(*R, A);

26 }

27 return Change;

28}

29

30}

static GCRegistry::Add< ErlangGC > A("erlang", "erlang-compatible garbage collector")

This is a 'vector' (really, a variable-sized array), optimized for the case when the array is small.

StringRef - Represent a constant reference to a string, i.e.

FunctionPass(StringRef Name)

Name can't contain any spaces or start with '-'.

static LLVM_ABI SmallVector< std::unique_ptr< Region > > createRegionsFromMD(Function &F, TargetTransformInfo &TTI)