Searched refs:Fn (Results 1 - 25 of 192) sorted by relevance

12345678

/external/valgrind/main/perf/
H A Dmany-xpts.c4 #define Fn(N, Np1) \ macro
18 Fn(17, 999)
19 Fn(16, 17)
20 Fn(15, 16)
21 Fn(14, 15)
22 Fn(13, 14)
23 Fn(12, 13)
24 Fn(11, 12)
25 Fn(10, 11)
26 Fn(
[all...]
/external/llvm/lib/CodeGen/
H A DPrologEpilogInserter.h45 bool runOnMachineFunction(MachineFunction &Fn) override;
63 void calculateSets(MachineFunction &Fn);
64 void calculateCallsInformation(MachineFunction &Fn);
65 void calculateCalleeSavedRegisters(MachineFunction &Fn);
66 void insertCSRSpillsAndRestores(MachineFunction &Fn);
67 void calculateFrameObjectOffsets(MachineFunction &Fn);
68 void replaceFrameIndices(MachineFunction &Fn);
69 void replaceFrameIndices(MachineBasicBlock *BB, MachineFunction &Fn,
71 void scavengeFrameVirtualRegs(MachineFunction &Fn);
72 void insertPrologEpilogCode(MachineFunction &Fn);
[all...]
H A DPrologEpilogInserter.cpp86 void PEI::calculateSets(MachineFunction &Fn) { argument
89 Fn.getFrameInfo()->getCalleeSavedInfo();
96 EntryBlock = Fn.begin();
97 for (MachineFunction::iterator MBB = Fn.begin(), E = Fn.end();
111 bool PEI::runOnMachineFunction(MachineFunction &Fn) { argument
112 const Function* F = Fn.getFunction();
113 const TargetRegisterInfo *TRI = Fn.getTarget().getRegisterInfo();
114 const TargetFrameLowering *TFI = Fn.getTarget().getFrameLowering();
116 assert(!Fn
187 calculateCallsInformation(MachineFunction &Fn) argument
329 insertCSRSpillsAndRestores(MachineFunction &Fn) argument
447 calculateFrameObjectOffsets(MachineFunction &Fn) argument
672 insertPrologEpilogCode(MachineFunction &Fn) argument
704 replaceFrameIndices(MachineFunction &Fn) argument
739 replaceFrameIndices(MachineBasicBlock *BB, MachineFunction &Fn, int &SPAdj) argument
840 scavengeFrameVirtualRegs(MachineFunction &Fn) argument
[all...]
H A DDwarfEHPrepare.cpp41 bool InsertUnwindResumeCalls(Function &Fn);
51 bool runOnFunction(Function &Fn) override;
109 bool DwarfEHPrepare::InsertUnwindResumeCalls(Function &Fn) { argument
111 for (Function::iterator I = Fn.begin(), E = Fn.end(); I != E; ++I) {
127 RewindFunction = Fn.getParent()->getOrInsertFunction(RewindName, FTy);
131 LLVMContext &Ctx = Fn.getContext();
150 BasicBlock *UnwindBB = BasicBlock::Create(Ctx, "unwind_resume", &Fn);
177 bool DwarfEHPrepare::runOnFunction(Function &Fn) { argument
178 bool Changed = InsertUnwindResumeCalls(Fn);
[all...]
H A DCallingConvLower.cpp68 CCAssignFn Fn) {
74 if (Fn(i, ArgVT, ArgVT, CCValAssign::Full, ArgFlags, *this)) {
87 CCAssignFn Fn) {
92 if (Fn(i, VT, VT, CCValAssign::Full, ArgFlags, *this))
101 CCAssignFn Fn) {
106 if (Fn(i, VT, VT, CCValAssign::Full, ArgFlags, *this)) {
119 CCAssignFn Fn) {
124 if (Fn(i, ArgVT, ArgVT, CCValAssign::Full, ArgFlags, *this)) {
138 CCAssignFn Fn) {
143 if (Fn(
67 AnalyzeFormalArguments(const SmallVectorImpl<ISD::InputArg> &Ins, CCAssignFn Fn) argument
86 CheckReturn(const SmallVectorImpl<ISD::OutputArg> &Outs, CCAssignFn Fn) argument
100 AnalyzeReturn(const SmallVectorImpl<ISD::OutputArg> &Outs, CCAssignFn Fn) argument
118 AnalyzeCallOperands(const SmallVectorImpl<ISD::OutputArg> &Outs, CCAssignFn Fn) argument
136 AnalyzeCallOperands(SmallVectorImpl<MVT> &ArgVTs, SmallVectorImpl<ISD::ArgFlagsTy> &Flags, CCAssignFn Fn) argument
155 AnalyzeCallResult(const SmallVectorImpl<ISD::InputArg> &Ins, CCAssignFn Fn) argument
172 AnalyzeCallResult(MVT VT, CCAssignFn Fn) argument
[all...]
H A DLocalStackSlotAllocation.cpp75 void calculateFrameObjectOffsets(MachineFunction &Fn);
76 bool insertFrameReferenceRegisters(MachineFunction &Fn);
183 void LocalStackSlotPass::calculateFrameObjectOffsets(MachineFunction &Fn) { argument
185 MachineFrameInfo *MFI = Fn.getFrameInfo();
186 const TargetFrameLowering &TFI = *Fn.getTarget().getFrameLowering();
265 bool LocalStackSlotPass::insertFrameReferenceRegisters(MachineFunction &Fn) { argument
274 MachineFrameInfo *MFI = Fn.getFrameInfo();
275 const TargetRegisterInfo *TRI = Fn.getTarget().getRegisterInfo();
276 const TargetFrameLowering &TFI = *Fn.getTarget().getFrameLowering();
286 for (MachineFunction::iterator BB = Fn
[all...]
H A DOptimizePHIs.cpp64 bool OptimizePHIs::runOnMachineFunction(MachineFunction &Fn) { argument
65 if (skipOptnoneFunction(*Fn.getFunction()))
68 MRI = &Fn.getRegInfo();
69 TII = Fn.getTarget().getInstrInfo();
76 for (MachineFunction::iterator I = Fn.begin(), E = Fn.end(); I != E; ++I)
/external/llvm/bindings/ocaml/analysis/
H A Danalysis_ocaml.c46 CAMLprim value llvm_verify_function(LLVMValueRef Fn) { argument
47 return Val_bool(LLVMVerifyFunction(Fn, LLVMReturnStatusAction) == 0);
57 CAMLprim value llvm_assert_valid_function(LLVMValueRef Fn) { argument
58 LLVMVerifyFunction(Fn, LLVMAbortProcessAction);
63 CAMLprim value llvm_view_function_cfg(LLVMValueRef Fn) { argument
64 LLVMViewFunctionCFG(Fn);
69 CAMLprim value llvm_view_function_cfg_only(LLVMValueRef Fn) { argument
70 LLVMViewFunctionCFGOnly(Fn);
/external/compiler-rt/test/msan/
H A Dwrap_indirect_calls2.cc29 typedef void (*Fn)(void); typedef
30 extern "C" Fn my_wrapper(Fn target) {
36 volatile Fn fp;
/external/llvm/include/llvm-c/
H A DAnalysis.h50 LLVMBool LLVMVerifyFunction(LLVMValueRef Fn, LLVMVerifierFailureAction Action);
54 void LLVMViewFunctionCFG(LLVMValueRef Fn);
55 void LLVMViewFunctionCFGOnly(LLVMValueRef Fn);
/external/clang/test/CXX/dcl.decl/dcl.meaning/dcl.array/
H A Dp1.cpp12 typedef void Fn(); typedef
13 Fn ar4[10]; // expected-error {{array of functions}}
/external/llvm/lib/Support/
H A DThreading.cpp44 void llvm::llvm_execute_on_thread(void (*Fn)(void*), void *UserData, argument
46 ThreadInfo Info = { Fn, UserData };
86 void llvm::llvm_execute_on_thread(void (*Fn)(void*), void *UserData, argument
88 struct ThreadInfo param = { Fn, UserData };
106 void llvm::llvm_execute_on_thread(void (*Fn)(void*), void *UserData, argument
109 Fn(UserData);
/external/llvm/include/llvm/Support/
H A DTargetRegistry.h468 MCRelocationInfoCtorTy Fn = MCRelocationInfoCtorFn local
471 return Fn(TT, Ctx);
488 MCSymbolizerCtorTy Fn = local
490 return Fn(TT, GetOpInfo, SymbolLookUp, DisInfo, Ctx, RelInfo);
600 /// @param Fn - A function to construct a MCAsmInfo for the target.
601 static void RegisterMCAsmInfo(Target &T, Target::MCAsmInfoCtorFnTy Fn) { argument
602 T.MCAsmInfoCtorFn = Fn;
613 /// @param Fn - A function to construct a MCCodeGenInfo for the target.
615 Target::MCCodeGenInfoCtorFnTy Fn) {
616 T.MCCodeGenInfoCtorFn = Fn;
614 RegisterMCCodeGenInfo(Target &T, Target::MCCodeGenInfoCtorFnTy Fn) argument
628 RegisterMCInstrInfo(Target &T, Target::MCInstrInfoCtorFnTy Fn) argument
634 RegisterMCInstrAnalysis(Target &T, Target::MCInstrAnalysisCtorFnTy Fn) argument
648 RegisterMCRegInfo(Target &T, Target::MCRegInfoCtorFnTy Fn) argument
661 RegisterMCSubtargetInfo(Target &T, Target::MCSubtargetInfoCtorFnTy Fn) argument
675 RegisterTargetMachine(Target &T, Target::TargetMachineCtorTy Fn) argument
689 RegisterMCAsmBackend(Target &T, Target::MCAsmBackendCtorTy Fn) argument
702 RegisterMCAsmParser(Target &T, Target::MCAsmParserCtorTy Fn) argument
715 RegisterAsmPrinter(Target &T, Target::AsmPrinterCtorTy Fn) argument
728 RegisterMCDisassembler(Target &T, Target::MCDisassemblerCtorTy Fn) argument
742 RegisterMCInstPrinter(Target &T, Target::MCInstPrinterCtorTy Fn) argument
756 RegisterMCCodeEmitter(Target &T, Target::MCCodeEmitterCtorTy Fn) argument
770 RegisterMCObjectStreamer(Target &T, Target::MCObjectStreamerCtorTy Fn) argument
784 RegisterAsmStreamer(Target &T, Target::AsmStreamerCtorTy Fn) argument
788 RegisterNullStreamer(Target &T, Target::NullStreamerCtorTy Fn) argument
801 RegisterMCRelocationInfo(Target &T, Target::MCRelocationInfoCtorTy Fn) argument
815 RegisterMCSymbolizer(Target &T, Target::MCSymbolizerCtorTy Fn) argument
876 RegisterMCAsmInfoFn(Target &T, Target::MCAsmInfoCtorFnTy Fn) argument
911 RegisterMCCodeGenInfoFn(Target &T, Target::MCCodeGenInfoCtorFnTy Fn) argument
944 RegisterMCInstrInfoFn(Target &T, Target::MCInstrInfoCtorFnTy Fn) argument
977 RegisterMCInstrAnalysisFn(Target &T, Target::MCInstrAnalysisCtorFnTy Fn) argument
1010 RegisterMCRegInfoFn(Target &T, Target::MCRegInfoCtorFnTy Fn) argument
1044 RegisterMCSubtargetInfoFn(Target &T, Target::MCSubtargetInfoCtorFnTy Fn) argument
[all...]
/external/llvm/lib/Target/MSP430/
H A DMSP430BranchSelector.cpp39 bool runOnMachineFunction(MachineFunction &Fn) override;
55 bool MSP430BSel::runOnMachineFunction(MachineFunction &Fn) { argument
57 static_cast<const MSP430InstrInfo*>(Fn.getTarget().getInstrInfo());
59 Fn.RenumberBlocks();
60 BlockSizes.resize(Fn.getNumBlockIDs());
64 for (MachineFunction::iterator MFI = Fn.begin(), E = Fn.end(); MFI != E;
100 for (MachineFunction::iterator MFI = Fn.begin(), E = Fn.end(); MFI != E;
/external/llvm/include/llvm/IR/
H A DDiagnosticInfo.h151 const Function &Fn; member in class:llvm::DiagnosticInfoStackSize
158 DiagnosticInfoStackSize(const Function &Fn, unsigned StackSize, argument
160 : DiagnosticInfo(DK_StackSize, Severity), Fn(Fn), StackSize(StackSize) {}
162 const Function &getFunction() const { return Fn; }
245 /// \p Fn is the function where the diagnostic is being emitted. \p DLoc is
252 const char *PassName, const Function &Fn,
254 : DiagnosticInfo(Kind, DS_Remark), PassName(PassName), Fn(Fn), DLoc(DLoc),
284 const Function &getFunction() const { return Fn; }
251 DiagnosticInfoOptimizationRemarkBase(enum DiagnosticKind Kind, const char *PassName, const Function &Fn, const DebugLoc &DLoc, const Twine &Msg) argument
295 const Function &Fn; member in class:llvm::DiagnosticInfoOptimizationRemarkBase
316 DiagnosticInfoOptimizationRemark(const char *PassName, const Function &Fn, const DebugLoc &DLoc, const Twine &Msg) argument
341 DiagnosticInfoOptimizationRemarkMissed(const char *PassName, const Function &Fn, const DebugLoc &DLoc, const Twine &Msg) argument
367 DiagnosticInfoOptimizationRemarkAnalysis(const char *PassName, const Function &Fn, const DebugLoc &DLoc, const Twine &Msg) argument
[all...]
/external/clang/test/CodeGenCXX/
H A Dmangle-ms-template-callback.cpp74 template <void (*Fn)()> void WrapFnPtr() { Fn(); }
75 template <void (&Fn)()> void WrapFnRef() { Fn(); }
/external/llvm/include/llvm/Transforms/IPO/
H A DPassManagerBuilder.h132 static void addGlobalExtension(ExtensionPointTy Ty, ExtensionFn Fn);
133 void addExtension(ExtensionPointTy Ty, ExtensionFn Fn);
157 PassManagerBuilder::ExtensionFn Fn) {
158 PassManagerBuilder::addGlobalExtension(Ty, Fn);
156 RegisterStandardPasses(PassManagerBuilder::ExtensionPointTy Ty, PassManagerBuilder::ExtensionFn Fn) argument
/external/llvm/lib/Transforms/Utils/
H A DLowerExpectIntrinsic.cpp66 Function *Fn = CI->getCalledFunction();
67 if (!Fn || Fn->getIntrinsicID() != Intrinsic::expect)
120 Function *Fn = CI->getCalledFunction();
121 if (!Fn || Fn->getIntrinsicID() != Intrinsic::expect)
169 Function *Fn = CI->getCalledFunction(); local
170 if (Fn && Fn->getIntrinsicID() == Intrinsic::expect) {
/external/llvm/lib/Analysis/
H A DAnalysis.cpp96 LLVMBool LLVMVerifyFunction(LLVMValueRef Fn, LLVMVerifierFailureAction Action) { argument
98 *unwrap<Function>(Fn), Action != LLVMReturnStatusAction ? &errs()
107 void LLVMViewFunctionCFG(LLVMValueRef Fn) { argument
108 Function *F = unwrap<Function>(Fn);
112 void LLVMViewFunctionCFGOnly(LLVMValueRef Fn) { argument
113 Function *F = unwrap<Function>(Fn);
/external/compiler-rt/test/asan/TestCases/Posix/
H A Dstart-deactivated.cc29 typedef void (*Fn)(); typedef
51 ((Fn)fn)();
/external/clang/lib/CodeGen/
H A DCGDeclCXX.cpp233 llvm::Function *Fn = local
240 Fn->setSection(Section);
243 Fn->setCallingConv(CGM.getRuntimeCC());
246 Fn->setDoesNotThrow();
248 if (!CGM.getSanitizerBlacklist().isIn(*Fn)) {
250 Fn->addFnAttr(llvm::Attribute::SanitizeAddress);
252 Fn->addFnAttr(llvm::Attribute::SanitizeThread);
254 Fn->addFnAttr(llvm::Attribute::SanitizeMemory);
257 return Fn;
272 llvm::Function *Fn local
372 llvm::Function *Fn = local
396 llvm::Function *Fn = CreateGlobalInitOrDestructFunction( local
413 llvm::Function *Fn = local
421 GenerateCXXGlobalVarDeclInitFunc(llvm::Function *Fn, const VarDecl *D, llvm::GlobalVariable *Addr, bool PerformInit) argument
447 GenerateCXXGlobalInitFunc(llvm::Function *Fn, ArrayRef<llvm::Constant *> Decls, llvm::GlobalVariable *Guard) argument
498 GenerateCXXGlobalDtorsFunc(llvm::Function *Fn, const std::vector<std::pair<llvm::WeakVH, llvm::Constant*> > &DtorsAndObjects) argument
[all...]
/external/llvm/lib/Target/Hexagon/
H A DHexagonCallingConvLower.cpp68 Hexagon_CCAssignFn Fn,
83 if (Fn(i, ArgVT, ArgVT, CCValAssign::Full, ArgFlags, *this, 0, 0, false)) {
95 Hexagon_CCAssignFn Fn,
119 if (Fn(i, VT, VT, CCValAssign::Full, ArgFlags, *this, -1, -1, false)){
133 Hexagon_CCAssignFn Fn,
149 if (Fn(i, ArgVT, ArgVT, CCValAssign::Full, ArgFlags, *this,
163 Hexagon_CCAssignFn Fn) {
168 if (Fn(i, ArgVT, ArgVT, CCValAssign::Full, ArgFlags, *this, -1, -1,
181 Hexagon_CCAssignFn Fn,
187 if (Fn(
66 AnalyzeFormalArguments(const SmallVectorImpl<ISD::InputArg> &Ins, Hexagon_CCAssignFn Fn, unsigned SretValueInRegs) argument
94 AnalyzeReturn(const SmallVectorImpl<ISD::OutputArg> &Outs, Hexagon_CCAssignFn Fn, unsigned SretValueInRegs) argument
131 AnalyzeCallOperands(const SmallVectorImpl<ISD::OutputArg> &Outs, Hexagon_CCAssignFn Fn, int NonVarArgsParams, unsigned SretValueSize) argument
161 AnalyzeCallOperands(SmallVectorImpl<EVT> &ArgVTs, SmallVectorImpl<ISD::ArgFlagsTy> &Flags, Hexagon_CCAssignFn Fn) argument
180 AnalyzeCallResult(const SmallVectorImpl<ISD::InputArg> &Ins, Hexagon_CCAssignFn Fn, unsigned SretValueInRegs) argument
197 AnalyzeCallResult(EVT VT, Hexagon_CCAssignFn Fn) argument
[all...]
H A DHexagonCallingConvLower.h79 Hexagon_CCAssignFn Fn, unsigned SretValueInRegs);
84 Hexagon_CCAssignFn Fn, unsigned SretValueInRegs);
89 Hexagon_CCAssignFn Fn, int NonVarArgsParams,
96 Hexagon_CCAssignFn Fn);
101 Hexagon_CCAssignFn Fn, unsigned SretValueInRegs);
105 void AnalyzeCallResult(EVT VT, Hexagon_CCAssignFn Fn);
/external/llvm/lib/IR/
H A DDiagnosticInfo.cpp172 const Function &Fn, const DebugLoc &DLoc,
174 Ctx.diagnose(DiagnosticInfoOptimizationRemark(PassName, Fn, DLoc, Msg));
178 const Function &Fn,
181 Ctx.diagnose(DiagnosticInfoOptimizationRemarkMissed(PassName, Fn, DLoc, Msg));
186 const Function &Fn,
190 DiagnosticInfoOptimizationRemarkAnalysis(PassName, Fn, DLoc, Msg));
171 emitOptimizationRemark(LLVMContext &Ctx, const char *PassName, const Function &Fn, const DebugLoc &DLoc, const Twine &Msg) argument
177 emitOptimizationRemarkMissed(LLVMContext &Ctx, const char *PassName, const Function &Fn, const DebugLoc &DLoc, const Twine &Msg) argument
184 emitOptimizationRemarkAnalysis(LLVMContext &Ctx, const char *PassName, const Function &Fn, const DebugLoc &DLoc, const Twine &Msg) argument
/external/clang/test/Parser/
H A Dcxx-ambig-init-templ.cpp141 typedef int (*Fn)(const Y&, const Y&);
143 Fn a = operator,, b = operator<, c = operator>;
144 void f(Fn a = operator,, Fn b = operator<, Fn c = operator>);
153 template<int, Fn, Fn, Fn> struct T1 { enum { val }; };
155 template<int, Fn> struct T3 { enum { val }; };

Completed in 3154 milliseconds

12345678