Home
last modified time | relevance | path

Searched refs:Fns (Results 1 – 16 of 16) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Interpreter/
H A DExternalFunctions.cpp119 auto &Fns = getFunctions(); in lookupFunction() local
120 sys::ScopedLock Writer(Fns.Lock); in lookupFunction()
121 ExFunc FnPtr = Fns.FuncNames[ExtName]; in lookupFunction()
123 FnPtr = Fns.FuncNames[("lle_X_" + F->getName()).str()]; in lookupFunction()
128 Fns.ExportedFunctions.insert(std::make_pair(F, FnPtr)); // Cache for later in lookupFunction()
273 auto &Fns = getFunctions(); in callExternalFunction() local
274 std::unique_lock<sys::Mutex> Guard(Fns.Lock); in callExternalFunction()
279 Fns.ExportedFunctions.find(F); in callExternalFunction()
280 if (ExFunc Fn = (FI == Fns.ExportedFunctions.end()) ? lookupFunction(F) in callExternalFunction()
287 std::map<const Function *, RawFunc>::iterator RF = Fns.RawFunctions.find(F); in callExternalFunction()
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DIgnoreExpr.h25 Expr *IgnoreExprNodesImpl(Expr *E, FnTy &&Fn, FnTys &&... Fns) { in IgnoreExprNodesImpl()
27 std::forward<FnTys>(Fns)...); in IgnoreExprNodesImpl()
34 template <typename... FnTys> Expr *IgnoreExprNodes(Expr *E, FnTys &&... Fns) { in IgnoreExprNodes()
38 E = detail::IgnoreExprNodesImpl(E, std::forward<FnTys>(Fns)...); in IgnoreExprNodes()
44 const Expr *IgnoreExprNodes(const Expr *E, FnTys &&...Fns) { in IgnoreExprNodes() argument
45 return IgnoreExprNodes(const_cast<Expr *>(E), std::forward<FnTys>(Fns)...); in IgnoreExprNodes()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUSplitModule.cpp291 DenseSet<const Function *> &Fns) { in addAllIndirectCallDependencies() argument
294 Fns.insert(&Fn); in addAllIndirectCallDependencies()
312 DenseSet<const Function *> &Fns, bool OnlyDirect, in addAllDependencies() argument
346 addAllIndirectCallDependencies(M, Fns); in addAllDependencies()
354 auto [It, Inserted] = Fns.insert(Callee); in addAllDependencies()
550 for (const auto &[PID, Fns] : enumerate(Partitions)) { in doPartitioning()
551 float Overlap = calculateOverlap(CurFn.Dependencies, Fns); in doPartitioning()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGHLSLRuntime.cpp400 static void gatherFunctions(SmallVectorImpl<Function *> &Fns, llvm::Module &M, in gatherFunctions() argument
423 Fns.push_back(cast<Function>(CS->getOperand(1))); in gatherFunctions()
H A DCodeGenModule.h1759 void EmitCtorList(CtorList &Fns, const char *GlobalName);
H A DCodeGenModule.cpp2085 void CodeGenModule::EmitCtorList(CtorList &Fns, const char *GlobalName) { in EmitCtorList() argument
2086 if (Fns.empty()) return; in EmitCtorList()
2100 for (const auto &I : Fns) { in EmitCtorList()
2120 Fns.clear(); in EmitCtorList()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Coroutines/
H A DCoroSplit.cpp1605 ArrayRef<Function *> Fns) { in setCoroInfo()
1608 SmallVector<Constant *, 4> Args(Fns.begin(), Fns.end()); in setCoroInfo()
1610 Function *Part = *Fns.begin(); in setCoroInfo()
2073 SmallVectorImpl<Function *> &Fns, in addPrepareFunction() argument
2077 Fns.push_back(PrepareFn); in addPrepareFunction()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaOverload.cpp7291 void Sema::AddFunctionCandidates(const UnresolvedSetImpl &Fns, in AddFunctionCandidates() argument
7298 for (UnresolvedSetIterator F = Fns.begin(), E = Fns.end(); F != E; ++F) { in AddFunctionCandidates()
8217 const UnresolvedSetImpl &Fns, ArrayRef<Expr *> Args, in AddNonMemberOperatorCandidates() argument
8220 for (UnresolvedSetIterator F = Fns.begin(), E = Fns.end(); F != E; ++F) { in AddNonMemberOperatorCandidates()
9963 ADLResult Fns; in AddArgumentDependentLookupCandidates() local
9973 ArgumentDependentLookup(Name, Loc, Args, Fns); in AddArgumentDependentLookupCandidates()
9980 Fns.erase(Cand->Function); in AddArgumentDependentLookupCandidates()
9982 Fns.erase(FunTmpl); in AddArgumentDependentLookupCandidates()
9987 for (ADLResult::iterator I = Fns.begin(), E = Fns.end(); I != E; ++I) { in AddArgumentDependentLookupCandidates()
14084 const UnresolvedSetImpl &Fns, in CreateUnresolvedLookupExpr() argument
[all …]
H A DSemaDeclCXX.cpp7840 Fns.assign(Info->getUnqualifiedLookups().begin(), in DefaultedComparisonVisitor()
7936 UnresolvedSet<16> Fns; member in __anon42c808801f11::DefaultedComparisonVisitor
8065 S.LookupOverloadedBinOp(CandidateSet, OO, Fns, Args); in visitBinaryOperator()
8574 Op = S.CreateOverloadedBinOp(Loc, Opc, Fns, Obj.first.get(), in visitExpandedSubobject()
8620 Comp = S.CreateOverloadedBinOp(Loc, BO_NE, Fns, VDRef.get(), Zero, true, in visitExpandedSubobject()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DTargetLibraryInfo.cpp1199 void TargetLibraryInfoImpl::addVectorizableFunctions(ArrayRef<VecDesc> Fns) { in addVectorizableFunctions() argument
1200 llvm::append_range(VectorDescs, Fns); in addVectorizableFunctions()
1203 llvm::append_range(ScalarDescs, Fns); in addVectorizableFunctions()
/freebsd/contrib/llvm-project/llvm/tools/bugpoint/
H A DMiscompilation.cpp457 const std::vector<Function *> &Fns) in ReduceMiscompiledBlocks() argument
458 : BD(bd), TestFn(F), FunctionsBeingTested(Fns) {} in ReduceMiscompiledBlocks()
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DTargetLibraryInfo.h193 void addVectorizableFunctions(ArrayRef<VecDesc> Fns);
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/GISel/
H A DAArch64InstructionSelector.cpp4278 if (auto Fns = selectArithImmed(RHS)) in emitAddSub() local
4280 MIRBuilder, Fns); in emitAddSub()
4283 if (auto Fns = selectNegArithImmed(RHS)) in emitAddSub() local
4285 MIRBuilder, Fns); in emitAddSub()
4288 if (auto Fns = selectArithExtendedRegister(RHS)) in emitAddSub() local
4290 MIRBuilder, Fns); in emitAddSub()
4293 if (auto Fns = selectShiftedRegister(RHS)) in emitAddSub() local
4295 MIRBuilder, Fns); in emitAddSub()
4394 if (auto Fns = selectLogicalShiftedRegister(RHS)) in emitTST() local
4395 return emitInstr(OpcTable[1][Is32Bit], {Ty}, {LHS}, MIRBuilder, Fns); in emitTST()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DMemorySanitizer.cpp950 FunctionCallee *Fns = in getKmsanShadowOriginAccessFn() local
954 return Fns[0]; in getKmsanShadowOriginAccessFn()
956 return Fns[1]; in getKmsanShadowOriginAccessFn()
958 return Fns[2]; in getKmsanShadowOriginAccessFn()
960 return Fns[3]; in getKmsanShadowOriginAccessFn()
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h10528 const UnresolvedSetImpl &Fns,
10548 const UnresolvedSetImpl &Fns, Expr *input,
10554 const UnresolvedSetImpl &Fns,
10581 const UnresolvedSetImpl &Fns, Expr *LHS,
10586 const UnresolvedSetImpl &Fns,
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DOpenMPOpt.cpp548 bool runtimeFnsAvailable(ArrayRef<RuntimeFunction> Fns) { in runtimeFnsAvailable()
555 for (RuntimeFunction Fn : Fns) { in runtimeFnsAvailable()