Home
last modified time | relevance | path

Searched refs:TheLibFunc (Results 1 – 4 of 4) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DBuildLibCalls.cpp263 LibFunc TheLibFunc; in inferNonMandatoryLibFuncAttrs() local
264 if (!(TLI.getLibFunc(F, TheLibFunc) && TLI.has(TheLibFunc))) in inferNonMandatoryLibFuncAttrs()
272 switch (TheLibFunc) { in inferNonMandatoryLibFuncAttrs()
451 Changed |= setAllocFamily(F, TheLibFunc == LibFunc_vec_malloc ? "vec_malloc" in inferNonMandatoryLibFuncAttrs()
546 F, TheLibFunc == LibFunc_vec_realloc ? "vec_malloc" : "malloc"); in inferNonMandatoryLibFuncAttrs()
623 Changed |= setAllocFamily(F, TheLibFunc == LibFunc_vec_calloc ? "vec_malloc" in inferNonMandatoryLibFuncAttrs()
685 Changed |= setAllocFamily(F, TheLibFunc == LibFunc_vec_free ? "vec_malloc" in inferNonMandatoryLibFuncAttrs()
1246 if (!isLibFreeFunction(&F, TheLibFunc) && !isReallocLikeFn(&F)) in inferNonMandatoryLibFuncAttrs()
1301 LibFunc TheLibFunc, FunctionType *T, in getOrInsertLibFunc() argument
1303 assert(TLI.has(TheLibFunc) && in getOrInsertLibFunc()
[all …]
H A DSimplifyLibCalls.cpp2853 LibFunc TheLibFunc; in insertSinCosCall() local
2854 TLI->getLibFunc(Name, TheLibFunc); in insertSinCosCall()
2856 M, *TLI, TheLibFunc, OrigCallee->getAttributes(), ResTy, ArgTy); in insertSinCosCall()
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DBuildLibCalls.h38 LibFunc TheLibFunc, FunctionType *T,
41 LibFunc TheLibFunc, FunctionType *T);
44 LibFunc TheLibFunc, AttributeList AttributeList, in getOrInsertLibFunc() argument
47 return getOrInsertLibFunc(M, TLI, TheLibFunc, in getOrInsertLibFunc()
54 LibFunc TheLibFunc, Type *RetTy, ArgsTy... Args) { in getOrInsertLibFunc() argument
55 return getOrInsertLibFunc(M, TLI, TheLibFunc, AttributeList{}, RetTy, in getOrInsertLibFunc()
62 LibFunc TheLibFunc, AttributeList AttributeList,
75 LibFunc TheLibFunc);
88 LibFunc &TheLibFunc);
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstructionCombining.cpp3160 LibFunc TheLibFunc; in isAllocSiteRemovable() local
3161 if (CB && TLI.getLibFunc(*CB->getCalledFunction(), TheLibFunc) && in isAllocSiteRemovable()
3162 TLI.has(TheLibFunc) && TheLibFunc == LibFunc_aligned_alloc && in isAllocSiteRemovable()