MCPcopy Create free account
hub / github.com/GoSSIP-SJTU/Armariris / vectorizeInterleaveGroup

Method vectorizeInterleaveGroup

lib/Transforms/Vectorize/LoopVectorize.cpp:2348–2467  ·  view source on GitHub ↗

Try to vectorize the interleave group that \p Instr belongs to. E.g. Translate following interleaved load group (factor = 3): for (i = 0; i < N; i+=3) { R = Pic[i]; // Member of index 0 G = Pic[i+1]; // Member of index 1 B = Pic[i+2]; // Member of index 2 ... // do something to R, G, B } To: %wide.vec = load <12 x i32> ; Read 4 tuples of R,G,B

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 15

setDebugLocFromInstFunction · 0.85
getStridedMaskFunction · 0.85
ConcatenateVectorsFunction · 0.85
getInterleavedMaskFunction · 0.85
getInsertPosMethod · 0.80
getValueOperandMethod · 0.80
getFactorMethod · 0.80
getPointerToMethod · 0.80
isReverseMethod · 0.80
getInt32Method · 0.80
assertFunction · 0.50

Tested by

no test coverage detected