Lines Matching refs:TLI
1 //===- InjectTLIMAppings.cpp - TLI to VFABI attribute injection ----------===//
39 /// mapping, TLI provides a VABI prefix, which contains all information required
73 static void addMappingsFromTLI(const TargetLibraryInfo &TLI, CallInst &CI) {
74 // This is needed to make sure we don't query the TLI for calls to
84 // Nothing to be done if the TLI thinks the function is not
86 if (!TLI.isFunctionVectorizable(ScalarName))
95 const VecDesc *VD = TLI.getVectorMappingInfo(ScalarName, VF, Predicate);
108 // All VFs in the TLI are powers of 2.
110 TLI.getWidestVF(ScalarName, WidestFixedVF, WidestScalableVF);
125 static bool runImpl(const TargetLibraryInfo &TLI, Function &F) {
128 addMappingsFromTLI(TLI, *CI);
138 const TargetLibraryInfo &TLI = AM.getResult<TargetLibraryAnalysis>(F);
139 runImpl(TLI, F);