Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DBuildLibCalls.h41 LibFunc TheLibFunc,
46 LibFunc TheLibFunc,
50 LibFunc TheLibFunc, AttributeList AttributeList, in getOrInsertLibFunc() argument
53 return getOrInsertLibFunc(M, TLI, TheLibFunc, in getOrInsertLibFunc()
60 LibFunc TheLibFunc, Type *RetTy, ArgsTy... Args) { in getOrInsertLibFunc() argument
61 return getOrInsertLibFunc(M, TLI, TheLibFunc, AttributeList{}, RetTy, in getOrInsertLibFunc()
68 LibFunc TheLibFunc, AttributeList AttributeList,
82 LibFunc TheLibFunc);
97 LibFunc LongDoubleFn, LibFunc &TheLibFunc);
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DBuildLibCalls.cpp316 LibFunc TheLibFunc; in inferNonMandatoryLibFuncAttrs() local
317 if (!(TLI.getLibFunc(F, TheLibFunc) && TLI.has(TheLibFunc))) in inferNonMandatoryLibFuncAttrs()
325 switch (TheLibFunc) { in inferNonMandatoryLibFuncAttrs()
520 Changed |= setAllocFamily(F, TheLibFunc == LibFunc_vec_malloc ? "vec_malloc" in inferNonMandatoryLibFuncAttrs()
620 F, TheLibFunc == LibFunc_vec_realloc ? "vec_malloc" : "malloc"); in inferNonMandatoryLibFuncAttrs()
714 Changed |= setAllocFamily(F, TheLibFunc == LibFunc_vec_calloc ? "vec_malloc" in inferNonMandatoryLibFuncAttrs()
777 Changed |= setAllocFamily(F, TheLibFunc == LibFunc_vec_free ? "vec_malloc" in inferNonMandatoryLibFuncAttrs()
1395 if (!isLibFreeFunction(&F, TheLibFunc) && !isReallocLikeFn(&F)) in inferNonMandatoryLibFuncAttrs()
1450 LibFunc TheLibFunc, FunctionType *T, in getOrInsertLibFunc() argument
1452 assert(TLI.has(TheLibFunc) && in getOrInsertLibFunc()
[all …]
H A DSimplifyLibCalls.cpp2910 LibFunc TheLibFunc; in insertSinCosCall() local
2911 TLI->getLibFunc(Name, TheLibFunc); in insertSinCosCall()
2913 M, *TLI, TheLibFunc, OrigCallee->getAttributes(), ResTy, ArgTy); in insertSinCosCall()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstructionCombining.cpp3457 LibFunc TheLibFunc; in isAllocSiteRemovable() local
3458 if (CB && TLI.getLibFunc(*CB->getCalledFunction(), TheLibFunc) && in isAllocSiteRemovable()
3459 TLI.has(TheLibFunc) && TheLibFunc == LibFunc_aligned_alloc && in isAllocSiteRemovable()