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

Function getVectorCallCost

lib/Transforms/Vectorize/LoopVectorize.cpp:3351–3397  ·  view source on GitHub ↗

Estimate cost of a call instruction CI if it were vectorized with factor VF. Return the cost of the instruction, including scalarization overhead if it's needed. The flag NeedToScalarize shows if the call needs to be scalarized - i.e. either vector version isn't available, or is too expensive.

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

vectorizeBlockInLoopMethod · 0.85
getInstructionCostMethod · 0.85

Calls 10

ToVectorTyFunction · 0.85
getScalarizationOverheadFunction · 0.85
getCalledFunctionMethod · 0.45
getNameMethod · 0.45
getTypeMethod · 0.45
arg_operandsMethod · 0.45
push_backMethod · 0.45
getCallInstrCostMethod · 0.45
isNoBuiltinMethod · 0.45

Tested by

no test coverage detected