/external/valgrind/perf/ |
many-xpts.c | 4 #define Fn(N, Np1) \ 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( 9, 10 [all...] |
/external/llvm/bindings/ocaml/analysis/ |
analysis_ocaml.c | 45 CAMLprim value llvm_verify_function(LLVMValueRef Fn) { 46 return Val_bool(LLVMVerifyFunction(Fn, LLVMReturnStatusAction) == 0); 56 CAMLprim value llvm_assert_valid_function(LLVMValueRef Fn) { 57 LLVMVerifyFunction(Fn, LLVMAbortProcessAction); 62 CAMLprim value llvm_view_function_cfg(LLVMValueRef Fn) { 63 LLVMViewFunctionCFG(Fn); 68 CAMLprim value llvm_view_function_cfg_only(LLVMValueRef Fn) { 69 LLVMViewFunctionCFGOnly(Fn);
|
/external/llvm/include/llvm-c/ |
Analysis.h | 50 LLVMBool LLVMVerifyFunction(LLVMValueRef Fn, LLVMVerifierFailureAction Action); 54 void LLVMViewFunctionCFG(LLVMValueRef Fn); 55 void LLVMViewFunctionCFGOnly(LLVMValueRef Fn);
|
/external/skia/src/core/ |
SkFunction.h | 11 // TODO: document, more pervasive move support in constructors, small-Fn optimization 23 template <typename Fn> 24 SkFunction(const Fn& fn) : fFunction(SkNEW_ARGS(LambdaImpl<Fn>, (fn))) {} 26 SkFunction(R (*fn)(Args...)) : fFunction(SkNEW_ARGS(FnPtrImpl, (fn))) {} 51 template <typename Fn> 54 LambdaImpl(const Fn& fn) : fFn(fn) { [all...] |
/external/llvm/lib/Target/Mips/ |
MipsCCState.h | 74 CCAssignFn Fn, 78 CCState::AnalyzeCallOperands(Outs, Fn); 88 CCAssignFn Fn) = delete; 91 CCAssignFn Fn) = delete; 94 CCAssignFn Fn) { 96 CCState::AnalyzeFormalArguments(Ins, Fn); 102 CCAssignFn Fn, 105 CCState::AnalyzeCallResult(Ins, Fn); 111 CCAssignFn Fn) { 113 CCState::AnalyzeReturn(Outs, Fn); [all...] |
/external/clang/test/CXX/dcl.decl/dcl.meaning/dcl.array/ |
p1.cpp | 12 typedef void Fn(); 13 Fn ar4[10]; // expected-error {{array of functions}} 15 struct Abstract { virtual void fn() = 0; }; // expected-note {{pure virtual}}
|
/external/llvm/lib/CodeGen/ |
PrologEpilogInserter.cpp | 65 bool runOnMachineFunction(MachineFunction &Fn) override; 83 void calculateSets(MachineFunction &Fn); 84 void calculateCallsInformation(MachineFunction &Fn); 85 void calculateCalleeSavedRegisters(MachineFunction &Fn); 86 void insertCSRSpillsAndRestores(MachineFunction &Fn); 87 void calculateFrameObjectOffsets(MachineFunction &Fn); 88 void replaceFrameIndices(MachineFunction &Fn); 89 void replaceFrameIndices(MachineBasicBlock *BB, MachineFunction &Fn, 91 void scavengeFrameVirtualRegs(MachineFunction &Fn); 92 void insertPrologEpilogCode(MachineFunction &Fn); [all...] |
CallingConvLower.cpp | 70 CCAssignFn Fn) { 76 if (Fn(i, ArgVT, ArgVT, CCValAssign::Full, ArgFlags, *this)) { 89 CCAssignFn Fn) { 94 if (Fn(i, VT, VT, CCValAssign::Full, ArgFlags, *this)) 103 CCAssignFn Fn) { 108 if (Fn(i, VT, VT, CCValAssign::Full, ArgFlags, *this)) { 121 CCAssignFn Fn) { 126 if (Fn(i, ArgVT, ArgVT, CCValAssign::Full, ArgFlags, *this)) { 140 CCAssignFn Fn) { 145 if (Fn(i, ArgVT, ArgVT, CCValAssign::Full, ArgFlags, *this)) [all...] |
DwarfEHPrepare.cpp | 45 bool InsertUnwindResumeCalls(Function &Fn); 48 pruneUnreachableResumes(Function &Fn, 65 bool runOnFunction(Function &Fn) override; 140 Function &Fn, SmallVectorImpl<ResumeInst *> &Resumes, 159 getAnalysis<TargetTransformInfoWrapperPass>().getTTI(Fn); 160 LLVMContext &Ctx = Fn.getContext(); 181 bool DwarfEHPrepare::InsertUnwindResumeCalls(Function &Fn) { 185 for (BasicBlock &BB : Fn) { 205 LLVMContext &Ctx = Fn.getContext(); 207 size_t ResumesLeft = pruneUnreachableResumes(Fn, Resumes, CleanupLPads) [all...] |
/external/llvm/lib/Support/ |
Threading.cpp | 44 void llvm::llvm_execute_on_thread(void (*Fn)(void*), void *UserData, 46 ThreadInfo Info = { Fn, UserData }; 86 void llvm::llvm_execute_on_thread(void (*Fn)(void*), void *UserData, 88 struct ThreadInfo param = { Fn, UserData }; 106 void llvm::llvm_execute_on_thread(void (*Fn)(void*), void *UserData, 109 Fn(UserData);
|
/external/llvm/include/llvm/IR/ |
DiagnosticInfo.h | 158 const Function &Fn; 165 DiagnosticInfoStackSize(const Function &Fn, unsigned StackSize, 167 : DiagnosticInfo(DK_StackSize, Severity), Fn(Fn), StackSize(StackSize) {} 169 const Function &getFunction() const { return Fn; } 252 /// \p Fn is the function where the diagnostic is being emitted. \p DLoc is 260 const char *PassName, const Function &Fn, 262 : DiagnosticInfo(Kind, Severity), PassName(PassName), Fn(Fn), DLoc(DLoc), 292 const Function &getFunction() const { return Fn; } [all...] |
/external/llvm/lib/Target/Hexagon/ |
HexagonAsmPrinter.h | 31 bool runOnMachineFunction(MachineFunction &Fn) override { 32 Subtarget = &Fn.getSubtarget<HexagonSubtarget>(); 33 return AsmPrinter::runOnMachineFunction(Fn);
|
HexagonSplitConst32AndConst64.cpp | 58 bool runOnMachineFunction(MachineFunction &Fn) override; 65 bool HexagonSplitConst32AndConst64::runOnMachineFunction(MachineFunction &Fn) { 69 Fn.getTarget().getObjFileLowering()); 73 const TargetInstrInfo *TII = Fn.getSubtarget().getInstrInfo(); 74 const TargetRegisterInfo *TRI = Fn.getSubtarget().getRegisterInfo(); 77 for (MachineFunction::iterator MBBb = Fn.begin(), MBBe = Fn.end();
|
/frameworks/compile/mclinker/include/mcld/Support/ |
TargetRegistry.h | 61 /// @param Fn - A emulation function 63 mcld::Target::EmulationFnTy Fn) { 65 T.EmulationFn = Fn; 72 /// @param Fn - A function to create TargetLDBackend for the target 74 mcld::Target::TargetLDBackendCtorTy Fn) { 76 T.TargetLDBackendCtorFn = Fn; 83 /// @param Fn - A function to create DiagnosticLineInfo for the target 86 mcld::Target::DiagnosticLineInfoCtorTy Fn) { 88 T.DiagnosticLineInfoCtorFn = Fn;
|
/external/clang/test/CodeGenCXX/ |
mangle-ms-template-callback.cpp | 74 template <void (*Fn)()> void WrapFnPtr() { Fn(); } 75 template <void (&Fn)()> void WrapFnRef() { Fn(); }
|
/external/llvm/include/llvm/Transforms/IPO/ |
PassManagerBuilder.h | 135 static void addGlobalExtension(ExtensionPointTy Ty, ExtensionFn Fn); 136 void addExtension(ExtensionPointTy Ty, ExtensionFn Fn); 162 PassManagerBuilder::ExtensionFn Fn) { 163 PassManagerBuilder::addGlobalExtension(Ty, Fn);
|
/external/llvm/include/llvm/Support/ |
TargetRegistry.h | 516 MCRelocationInfoCtorTy Fn = MCRelocationInfoCtorFn 519 return Fn(TT, Ctx); 536 MCSymbolizerCtorTy Fn = 538 return Fn(TT, GetOpInfo, SymbolLookUp, DisInfo, Ctx, std::move(RelInfo)); 648 /// @param Fn - A function to construct a MCAsmInfo for the target. 649 static void RegisterMCAsmInfo(Target &T, Target::MCAsmInfoCtorFnTy Fn) { 650 T.MCAsmInfoCtorFn = Fn; 661 /// @param Fn - A function to construct a MCCodeGenInfo for the target. 663 Target::MCCodeGenInfoCtorFnTy Fn) { 664 T.MCCodeGenInfoCtorFn = Fn; [all...] |
CrashRecoveryContext.h | 77 bool RunSafely(function_ref<void()> Fn); 78 bool RunSafely(void (*Fn)(void*), void *UserData) { 79 return RunSafely([&]() { Fn(UserData); }); 91 bool RunSafelyOnThread(void (*Fn)(void*), void *UserData, 93 return RunSafelyOnThread([&]() { Fn(UserData); }, RequestedStackSize);
|
/external/llvm/lib/Target/MSP430/ |
MSP430BranchSelector.cpp | 40 bool runOnMachineFunction(MachineFunction &Fn) override; 56 bool MSP430BSel::runOnMachineFunction(MachineFunction &Fn) { 58 static_cast<const MSP430InstrInfo *>(Fn.getSubtarget().getInstrInfo()); 60 Fn.RenumberBlocks(); 61 BlockSizes.resize(Fn.getNumBlockIDs()); 65 for (MachineFunction::iterator MFI = Fn.begin(), E = Fn.end(); MFI != E; 101 for (MachineFunction::iterator MFI = Fn.begin(), E = Fn.end(); MFI != E;
|
/external/llvm/lib/Transforms/Scalar/ |
LowerExpectIntrinsic.cpp | 49 Function *Fn = CI->getCalledFunction(); 50 if (!Fn || Fn->getIntrinsicID() != Intrinsic::expect) 101 Function *Fn = CI->getCalledFunction(); 102 if (!Fn || Fn->getIntrinsicID() != Intrinsic::expect) 148 Function *Fn = CI->getCalledFunction(); 149 if (Fn && Fn->getIntrinsicID() == Intrinsic::expect) {
|
/external/llvm/lib/Analysis/ |
Analysis.cpp | 99 LLVMBool LLVMVerifyFunction(LLVMValueRef Fn, LLVMVerifierFailureAction Action) { 101 *unwrap<Function>(Fn), Action != LLVMReturnStatusAction ? &errs() 110 void LLVMViewFunctionCFG(LLVMValueRef Fn) { 111 Function *F = unwrap<Function>(Fn); 115 void LLVMViewFunctionCFGOnly(LLVMValueRef Fn) { 116 Function *F = unwrap<Function>(Fn);
|
/external/clang/lib/CodeGen/ |
CGDeclCXX.cpp | 198 llvm::Function *fn = CGM.CreateGlobalInitOrDestructFunction(ty, FnName.str(), local 203 CGF.StartFunction(&VD, CGM.getContext().VoidTy, fn, 215 return fn; 253 llvm::Function *Fn = 259 Fn->setSection(Section); 262 Fn->setCallingConv(getRuntimeCC()); 265 Fn->setDoesNotThrow(); 267 if (!isInSanitizerBlacklist(Fn, Loc)) { 269 Fn->addFnAttr(llvm::Attribute::SanitizeAddress); 271 Fn->addFnAttr(llvm::Attribute::SanitizeThread) 582 llvm::Function *fn = CGM.CreateGlobalInitOrDestructFunction( local [all...] |
/external/compiler-rt/test/asan/TestCases/Posix/ |
start-deactivated.cc | 42 typedef void (*Fn)(); 59 void *fn = dlsym(dso, "do_another_bad_thing"); local 60 if (!fn) { 70 ((Fn)fn)();
|
/external/llvm/bindings/go/llvm/ |
IRBindings.h | 36 void LLVMAddFunctionAttr2(LLVMValueRef Fn, uint64_t PA); 37 uint64_t LLVMGetFunctionAttr2(LLVMValueRef Fn); 38 void LLVMRemoveFunctionAttr2(LLVMValueRef Fn, uint64_t PA);
|
/external/llvm/lib/IR/ |
DiagnosticInfo.cpp | 173 const Function &Fn, const DebugLoc &DLoc, 175 Ctx.diagnose(DiagnosticInfoOptimizationRemark(PassName, Fn, DLoc, Msg)); 179 const Function &Fn, 182 Ctx.diagnose(DiagnosticInfoOptimizationRemarkMissed(PassName, Fn, DLoc, Msg)); 187 const Function &Fn, 191 DiagnosticInfoOptimizationRemarkAnalysis(PassName, Fn, DLoc, Msg)); 199 void llvm::emitLoopVectorizeWarning(LLVMContext &Ctx, const Function &Fn, 202 Fn, DLoc, Twine("loop not vectorized: " + Msg))); 205 void llvm::emitLoopInterleaveWarning(LLVMContext &Ctx, const Function &Fn, 208 Fn, DLoc, Twine("loop not interleaved: " + Msg))) [all...] |