Searched refs:Fn (Results 51 - 75 of 192) sorted by relevance

12345678

/external/clang/tools/libclang/
H A DCIndexer.h80 void (*Fn)(void*), void *UserData, unsigned Size = 0);
/external/llvm/include/llvm/CodeGen/
H A DStackProtector.h125 bool runOnFunction(Function &Fn) override;
H A DFunctionLoweringInfo.h55 const Function *Fn; member in class:llvm::FunctionLoweringInfo
129 void set(const Function &Fn, MachineFunction &MF, SelectionDAG *DAG);
H A DMachineFunction.h76 const Function *Fn; member in class:llvm::MachineFunction
140 MachineFunction(const Function *Fn, const TargetMachine &TM,
151 const Function *getFunction() const { return Fn; }
/external/llvm/lib/Target/Hexagon/
H A DHexagonExpandPredSpillCode.cpp66 bool runOnMachineFunction(MachineFunction &Fn) override;
73 bool HexagonExpandPredSpillCode::runOnMachineFunction(MachineFunction &Fn) { argument
78 for (MachineFunction::iterator MBBb = Fn.begin(), MBBe = Fn.end();
H A DHexagonSplitTFRCondSets.cpp74 bool runOnMachineFunction(MachineFunction &Fn) override;
81 bool HexagonSplitTFRCondSets::runOnMachineFunction(MachineFunction &Fn) { argument
86 for (MachineFunction::iterator MBBb = Fn.begin(), MBBe = Fn.end();
H A DHexagonVLIWPacketizer.cpp87 bool runOnMachineFunction(MachineFunction &Fn) override;
193 bool HexagonPacketizer::runOnMachineFunction(MachineFunction &Fn) { argument
194 const TargetInstrInfo *TII = Fn.getTarget().getInstrInfo();
200 HexagonPacketizerList Packetizer(Fn, MLI, MDT, MBPI);
215 for (MachineFunction::iterator MBB = Fn.begin(), MBBe = Fn.end();
232 for (MachineFunction::iterator MBB = Fn.begin(), MBBe = Fn.end();
242 if (TII->isSchedulingBoundary(std::prev(I), MBB, Fn))
/external/llvm/lib/Transforms/Instrumentation/
H A DBoundsChecking.cpp81 Function *Fn = Inst->getParent()->getParent();
83 TrapBB = BasicBlock::Create(Fn->getContext(), "trap", Fn);
86 llvm::Value *F = Intrinsic::getDeclaration(Fn->getParent(), Intrinsic::trap);
/external/llvm/lib/CodeGen/AsmPrinter/
H A DWinCodeViewLineTables.cpp133 const MCSymbol *Fn = Asm->getSymbol(GV); local
134 assert(Fn);
159 "Linetable subsection for " + Twine(Fn->getName()));
167 Asm->OutStreamer.EmitCOFFSecRel32(Fn);
168 Asm->OutStreamer.EmitCOFFSectionIndex(Fn);
171 EmitLabelDiff(Asm->OutStreamer, Fn, FI.End);
206 EmitLabelDiff(Asm->OutStreamer, Fn, Instr);
/external/llvm/lib/Target/ARM/
H A DMLxExpansionPass.cpp44 bool runOnMachineFunction(MachineFunction &Fn) override;
380 bool MLxExpansion::runOnMachineFunction(MachineFunction &Fn) { argument
381 TII = static_cast<const ARMBaseInstrInfo*>(Fn.getTarget().getInstrInfo());
382 TRI = Fn.getTarget().getRegisterInfo();
383 MRI = &Fn.getRegInfo();
384 const ARMSubtarget *STI = &Fn.getTarget().getSubtarget<ARMSubtarget>();
389 for (MachineBasicBlock &MBB : Fn)
H A DA15SDOptimizer.cpp48 bool runOnMachineFunction(MachineFunction &Fn) override;
678 bool A15SDOptimizer::runOnMachineFunction(MachineFunction &Fn) { argument
679 TII = static_cast<const ARMBaseInstrInfo*>(Fn.getTarget().getInstrInfo());
680 TRI = Fn.getTarget().getRegisterInfo();
681 MRI = &Fn.getRegInfo();
684 DEBUG(dbgs() << "Running on function " << Fn.getName()<< "\n");
689 for (MachineFunction::iterator MFI = Fn.begin(), E = Fn.end(); MFI != E;
H A DARMJITInfo.h70 void *emitFunctionStub(const Function* F, void *Fn,
/external/llvm/bindings/ocaml/llvm/
H A Dllvm_ocaml.c1098 LLVMValueRef Fn; local
1099 if ((Fn = LLVMGetNamedFunction(M, String_val(Name)))) {
1100 if (LLVMGetElementType(LLVMTypeOf(Fn)) != Ty)
1101 return LLVMConstBitCast(Fn, LLVMPointerType(Ty, 0));
1102 return Fn;
1110 LLVMValueRef Fn; local
1111 if ((Fn = LLVMGetNamedFunction(M, String_val(Name)))) {
1113 Field(Option, 0) = (value) Fn;
1122 LLVMValueRef Fn = LLVMAddFunction(M, String_val(Name), Ty); local
1123 LLVMAppendBasicBlockInContext(LLVMGetTypeContext(Ty), Fn, "entr local
1128 llvm_delete_function(LLVMValueRef Fn) argument
1134 llvm_is_intrinsic(LLVMValueRef Fn) argument
1139 llvm_function_call_conv(LLVMValueRef Fn) argument
1144 llvm_set_function_call_conv(value Id, LLVMValueRef Fn) argument
1150 llvm_gc(LLVMValueRef Fn) argument
1167 llvm_set_gc(value GC, LLVMValueRef Fn) argument
1186 llvm_function_attr(LLVMValueRef Fn) argument
1214 llvm_params(LLVMValueRef Fn) argument
1257 llvm_basic_blocks(LLVMValueRef Fn) argument
1288 llvm_append_block(LLVMContextRef Context, value Name, LLVMValueRef Fn) argument
1601 llvm_build_invoke_nat(LLVMValueRef Fn, value Args, LLVMBasicBlockRef Then, LLVMBasicBlockRef Catch, value Name, value B) argument
2069 llvm_build_call(LLVMValueRef Fn, value Params, value Name, value B) argument
[all...]
/external/clang/lib/Sema/
H A DSemaOverload.cpp43 CreateFunctionRefExpr(Sema &S, FunctionDecl *Fn, NamedDecl *FoundDecl, argument
49 // If FoundDecl is different from Fn (such as if one is a template
55 if (FoundDecl != Fn && S.DiagnoseUseOfDecl(Fn, Loc))
57 DeclRefExpr *DRE = new (S.Context) DeclRefExpr(Fn, false, Fn->getType(),
1459 if (FunctionDecl *Fn
1464 FromType = Fn->getType();
1483 CXXMethodDecl *Method = dyn_cast<CXXMethodDecl>(Fn);
1503 S.FixOverloadedFunctionReference(From, AccessPair, Fn)
5488 IsAcceptableNonMemberOperatorCandidate(ASTContext &Context, FunctionDecl *Fn, ArrayRef<Expr *> Args) argument
8407 ClassifyOverloadCandidate(Sema &S, FunctionDecl *Fn, std::string &Description) argument
8455 MaybeEmitInheritedConstructorNote(Sema &S, Decl *Fn) argument
8468 NoteOverloadCandidate(FunctionDecl *Fn, QualType DestType) argument
8530 FunctionDecl *Fn = Cand->Function; local
8746 FunctionDecl *Fn = Cand->Function; local
8778 FunctionDecl *Fn = cast<FunctionDecl>(D); local
9071 FunctionDecl *Fn = Cand->Function; local
9771 AddMatchingNonTemplateFunction(NamedDecl* Fn, const DeclAccessPair& CurAccessFunPair) argument
9822 NamedDecl *Fn = (*I)->getUnderlyingDecl(); local
9990 FunctionDecl *Fn = nullptr; local
10429 BuildRecoveryCallExpr(Sema &SemaRef, Scope *S, Expr *Fn, UnresolvedLookupExpr *ULE, SourceLocation LParenLoc, MutableArrayRef<Expr *> Args, SourceLocation RParenLoc, bool EmptyLookup, bool AllowTypoCorrection) argument
10501 buildOverloadedCallSet(Scope *S, Expr *Fn, UnresolvedLookupExpr *ULE, MultiExprArg Args, SourceLocation RParenLoc, OverloadCandidateSet *CandidateSet, ExprResult *Result) argument
10562 FinishOverloadedCallExpr(Sema &SemaRef, Scope *S, Expr *Fn, UnresolvedLookupExpr *ULE, SourceLocation LParenLoc, MultiExprArg Args, SourceLocation RParenLoc, Expr *ExecConfig, OverloadCandidateSet *CandidateSet, OverloadCandidateSet::iterator *Best, OverloadingResult OverloadResult, bool AllowTypoCorrection) argument
10638 BuildOverloadedCallExpr(Scope *S, Expr *Fn, UnresolvedLookupExpr *ULE, SourceLocation LParenLoc, MultiExprArg Args, SourceLocation RParenLoc, Expr *ExecConfig, bool AllowTypoCorrection) argument
10720 UnresolvedLookupExpr *Fn local
10905 UnresolvedLookupExpr *Fn local
11153 UnresolvedLookupExpr *Fn local
11993 ExprResult Fn = CreateFunctionRefExpr(*this, FD, Best->FoundDecl, local
12069 UnresolvedLookupExpr *Fn = local
12109 FixOverloadedFunctionReference(Expr *E, DeclAccessPair Found, FunctionDecl *Fn) argument
12270 FixOverloadedFunctionReference(ExprResult E, DeclAccessPair Found, FunctionDecl *Fn) argument
[all...]
/external/llvm/lib/CodeGen/
H A DIntrinsicLowering.cpp38 static void EnsureFPIntrinsicsExist(Module &M, Function *Fn, argument
42 switch((int)Fn->arg_begin()->getType()->getTypeID()) {
44 EnsureFunctionExists(M, FName, Fn->arg_begin(), Fn->arg_end(),
48 EnsureFunctionExists(M, DName, Fn->arg_begin(), Fn->arg_end(),
54 EnsureFunctionExists(M, LDName, Fn->arg_begin(), Fn->arg_end(),
55 Fn->arg_begin()->getType());
H A DMachineModuleInfo.cpp59 Function *Fn; // The containing function of the BasicBlock. member in struct:llvm::MMIAddrLabelMap::AddrLabelSymEntry
107 assert(BB->getParent() == Entry.Fn && "Parent changed");
118 Entry.Fn = BB->getParent();
168 assert((BB->getParent() == nullptr || BB->getParent() == Entry.Fn) &&
180 DeletedAddrLabelsNeedingEmission[Entry.Fn].push_back(Sym);
193 DeletedAddrLabelsNeedingEmission[Entry.Fn].push_back(Sym);
H A DRegAllocFast.cpp164 bool runOnMachineFunction(MachineFunction &Fn) override;
1068 bool RAFast::runOnMachineFunction(MachineFunction &Fn) { argument
1070 << "********** Function: " << Fn.getName() << '\n');
1071 MF = &Fn;
1073 TM = &Fn.getTarget();
1076 MRI->freezeReservedRegs(Fn);
1077 RegClassInfo.runOnMachineFunction(Fn);
1089 for (MachineFunction::iterator MBBi = Fn.begin(), MBBe = Fn.end();
/external/chromium_org/v8/test/cctest/compiler/
H A Dcodegen-tester.h95 template <typename Ci, typename Fn>
96 void Run(const Ci& ci, const Fn& fn) {
103 template <typename Ci, typename Cj, typename Fn>
104 void Run(const Ci& ci, const Cj& cj, const Fn& fn) {
158 template <typename Ci, typename Cj, typename Fn>
159 void Run(const Ci& ci, const Cj& cj, const Fn& fn) {
/external/clang/lib/CodeGen/
H A DCGObjCRuntime.cpp156 CallObjCEndCatch(bool MightThrow, llvm::Value *Fn) : argument
157 MightThrow(MightThrow), Fn(Fn) {}
159 llvm::Value *Fn; member in struct:__anon17849::CallObjCEndCatch
163 CGF.Builder.CreateCall(Fn)->setDoesNotThrow();
167 CGF.EmitRuntimeCallOrInvoke(Fn);
H A DCodeGenPGO.cpp27 void CodeGenPGO::setFuncName(llvm::Function *Fn) { argument
28 RawFuncName = Fn->getName();
36 if (!Fn->hasLocalLinkage()) {
810 void CodeGenPGO::assignRegionCounters(const Decl *D, llvm::Function *Fn) { argument
817 setFuncName(Fn);
822 VarLinkage = Fn->getLinkage();
843 applyFunctionAttributes(PGOReader, Fn);
878 llvm::Function *Fn) {
887 Fn->addFnAttr(llvm::Attribute::InlineHint);
891 Fn
877 applyFunctionAttributes(llvm::IndexedInstrProfReader *PGOReader, llvm::Function *Fn) argument
[all...]
H A DCodeGenFunction.cpp306 void CodeGenFunction::EmitFunctionInstrumentation(const char *Fn) { argument
313 llvm::Constant *F = CGM.CreateRuntimeFunction(FunctionTy, Fn);
338 static void GenOpenCLArgMetadata(const FunctionDecl *FD, llvm::Function *Fn, argument
449 llvm::Function *Fn)
457 kernelMDArgs.push_back(Fn);
460 GenOpenCLArgMetadata(FD, Fn, CGM, Context, kernelMDArgs,
523 llvm::Function *Fn,
534 CurFn = Fn;
538 if (CGM.getSanitizerBlacklist().isIn(*Fn))
548 Fn
448 EmitOpenCLKernelMetadata(const FunctionDecl *FD, llvm::Function *Fn) argument
521 StartFunction(GlobalDecl GD, QualType RetTy, llvm::Function *Fn, const CGFunctionInfo &FnInfo, const FunctionArgList &Args, SourceLocation Loc, SourceLocation StartLoc) argument
757 GenerateCode(GlobalDecl GD, llvm::Function *Fn, const CGFunctionInfo &FnInfo) argument
[all...]
/external/llvm/lib/Target/R600/
H A DR600OptimizeVectorRegisters.cpp126 bool runOnMachineFunction(MachineFunction &Fn) override;
316 bool R600VectorRegMerger::runOnMachineFunction(MachineFunction &Fn) { argument
317 TII = static_cast<const R600InstrInfo *>(Fn.getTarget().getInstrInfo());
318 MRI = &(Fn.getRegInfo());
319 for (MachineFunction::iterator MBB = Fn.begin(), MBBe = Fn.end();
/external/llvm/lib/Target/Sparc/
H A DSparcJITInfo.cpp229 void *SparcJITInfo::emitFunctionStub(const Function *F, void *Fn, argument
238 if (Fn != (void*)(intptr_t)SparcCompilationCallback) {
239 EmittedAddr = (intptr_t)Fn;
/external/llvm/lib/IR/
H A DCore.cpp1533 LLVMValueRef LLVMGetNextFunction(LLVMValueRef Fn) { argument
1534 Function *Func = unwrap<Function>(Fn);
1541 LLVMValueRef LLVMGetPreviousFunction(LLVMValueRef Fn) { argument
1542 Function *Func = unwrap<Function>(Fn);
1549 void LLVMDeleteFunction(LLVMValueRef Fn) { argument
1550 unwrap<Function>(Fn)->eraseFromParent();
1553 unsigned LLVMGetIntrinsicID(LLVMValueRef Fn) { argument
1554 if (Function *F = dyn_cast<Function>(unwrap(Fn)))
1559 unsigned LLVMGetFunctionCallConv(LLVMValueRef Fn) { argument
1560 return unwrap<Function>(Fn)
1563 LLVMSetFunctionCallConv(LLVMValueRef Fn, unsigned CC) argument
1568 LLVMGetGC(LLVMValueRef Fn) argument
1573 LLVMSetGC(LLVMValueRef Fn, const char *GC) argument
1581 LLVMAddFunctionAttr(LLVMValueRef Fn, LLVMAttribute PA) argument
1592 LLVMAddTargetDependentFunctionAttr(LLVMValueRef Fn, const char *A, const char *V) argument
1604 LLVMRemoveFunctionAttr(LLVMValueRef Fn, LLVMAttribute PA) argument
1615 LLVMGetFunctionAttr(LLVMValueRef Fn) argument
1630 Function *Fn = unwrap<Function>(FnRef); local
1647 LLVMGetFirstParam(LLVMValueRef Fn) argument
1655 LLVMGetLastParam(LLVMValueRef Fn) argument
1732 Function *Fn = unwrap<Function>(FnRef); local
1737 LLVMGetEntryBasicBlock(LLVMValueRef Fn) argument
1741 LLVMGetFirstBasicBlock(LLVMValueRef Fn) argument
1749 LLVMGetLastBasicBlock(LLVMValueRef Fn) argument
2056 LLVMBuildInvoke(LLVMBuilderRef B, LLVMValueRef Fn, LLVMValueRef *Args, unsigned NumArgs, LLVMBasicBlockRef Then, LLVMBasicBlockRef Catch, const char *Name) argument
2500 LLVMBuildCall(LLVMBuilderRef B, LLVMValueRef Fn, LLVMValueRef *Args, unsigned NumArgs, const char *Name) argument
[all...]
/external/llvm/lib/Transforms/IPO/
H A DPassManagerBuilder.cpp86 PassManagerBuilder::ExtensionFn Fn) {
87 GlobalExtensions->push_back(std::make_pair(Ty, Fn));
90 void PassManagerBuilder::addExtension(ExtensionPointTy Ty, ExtensionFn Fn) { argument
91 Extensions.push_back(std::make_pair(Ty, Fn));
84 addGlobalExtension( PassManagerBuilder::ExtensionPointTy Ty, PassManagerBuilder::ExtensionFn Fn) argument

Completed in 951 milliseconds

12345678