/external/valgrind/perf/ |
D | many-xpts.c | 4 #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( 9, 10) [all …]
|
/external/llvm/lib/CodeGen/ |
D | 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 …]
|
D | CallingConvLower.cpp | 70 CCAssignFn Fn) { in AnalyzeFormalArguments() argument 76 if (Fn(i, ArgVT, ArgVT, CCValAssign::Full, ArgFlags, *this)) { in AnalyzeFormalArguments() 89 CCAssignFn Fn) { in CheckReturn() argument 94 if (Fn(i, VT, VT, CCValAssign::Full, ArgFlags, *this)) in CheckReturn() 103 CCAssignFn Fn) { in AnalyzeReturn() argument 108 if (Fn(i, VT, VT, CCValAssign::Full, ArgFlags, *this)) { in AnalyzeReturn() 121 CCAssignFn Fn) { in AnalyzeCallOperands() argument 126 if (Fn(i, ArgVT, ArgVT, CCValAssign::Full, ArgFlags, *this)) { in AnalyzeCallOperands() 140 CCAssignFn Fn) { in AnalyzeCallOperands() argument 145 if (Fn(i, ArgVT, ArgVT, CCValAssign::Full, ArgFlags, *this)) { in AnalyzeCallOperands() [all …]
|
D | DwarfEHPrepare.cpp | 45 bool InsertUnwindResumeCalls(Function &Fn); 48 pruneUnreachableResumes(Function &Fn, 65 bool runOnFunction(Function &Fn) override; 140 Function &Fn, SmallVectorImpl<ResumeInst *> &Resumes, in pruneUnreachableResumes() argument 159 getAnalysis<TargetTransformInfoWrapperPass>().getTTI(Fn); in pruneUnreachableResumes() 160 LLVMContext &Ctx = Fn.getContext(); in pruneUnreachableResumes() 181 bool DwarfEHPrepare::InsertUnwindResumeCalls(Function &Fn) { in InsertUnwindResumeCalls() argument 185 for (BasicBlock &BB : Fn) { in InsertUnwindResumeCalls() 205 LLVMContext &Ctx = Fn.getContext(); in InsertUnwindResumeCalls() 207 size_t ResumesLeft = pruneUnreachableResumes(Fn, Resumes, CleanupLPads); in InsertUnwindResumeCalls() [all …]
|
D | LocalStackSlotAllocation.cpp | 76 void calculateFrameObjectOffsets(MachineFunction &Fn); 77 bool insertFrameReferenceRegisters(MachineFunction &Fn); 184 void LocalStackSlotPass::calculateFrameObjectOffsets(MachineFunction &Fn) { in calculateFrameObjectOffsets() argument 186 MachineFrameInfo *MFI = Fn.getFrameInfo(); in calculateFrameObjectOffsets() 187 const TargetFrameLowering &TFI = *Fn.getSubtarget().getFrameLowering(); in calculateFrameObjectOffsets() 267 bool LocalStackSlotPass::insertFrameReferenceRegisters(MachineFunction &Fn) { in insertFrameReferenceRegisters() argument 276 MachineFrameInfo *MFI = Fn.getFrameInfo(); in insertFrameReferenceRegisters() 277 const TargetRegisterInfo *TRI = Fn.getSubtarget().getRegisterInfo(); in insertFrameReferenceRegisters() 278 const TargetFrameLowering &TFI = *Fn.getSubtarget().getFrameLowering(); in insertFrameReferenceRegisters() 288 for (MachineFunction::iterator BB = Fn.begin(), E = Fn.end(); BB != E; ++BB) { in insertFrameReferenceRegisters() [all …]
|
/external/llvm/include/llvm/Support/ |
D | TargetRegistry.h | 516 MCRelocationInfoCtorTy Fn = MCRelocationInfoCtorFn in createMCRelocationInfo() local 519 return Fn(TT, Ctx); in createMCRelocationInfo() 536 MCSymbolizerCtorTy Fn = in createMCSymbolizer() local 538 return Fn(TT, GetOpInfo, SymbolLookUp, DisInfo, Ctx, std::move(RelInfo)); in createMCSymbolizer() 649 static void RegisterMCAsmInfo(Target &T, Target::MCAsmInfoCtorFnTy Fn) { in RegisterMCAsmInfo() 650 T.MCAsmInfoCtorFn = Fn; in RegisterMCAsmInfo() 663 Target::MCCodeGenInfoCtorFnTy Fn) { in RegisterMCCodeGenInfo() 664 T.MCCodeGenInfoCtorFn = Fn; in RegisterMCCodeGenInfo() 676 static void RegisterMCInstrInfo(Target &T, Target::MCInstrInfoCtorFnTy Fn) { in RegisterMCInstrInfo() 677 T.MCInstrInfoCtorFn = Fn; in RegisterMCInstrInfo() [all …]
|
/external/llvm/include/llvm/IR/ |
D | DiagnosticInfo.h | 158 const Function &Fn; 165 DiagnosticInfoStackSize(const Function &Fn, unsigned StackSize, 167 : DiagnosticInfo(DK_StackSize, Severity), Fn(Fn), StackSize(StackSize) {} in DiagnosticInfo() 169 const Function &getFunction() const { return Fn; } in getFunction() 260 const char *PassName, const Function &Fn, in DiagnosticInfoOptimizationBase() argument 262 : DiagnosticInfo(Kind, Severity), PassName(PassName), Fn(Fn), DLoc(DLoc), in DiagnosticInfoOptimizationBase() 292 const Function &getFunction() const { return Fn; } in getFunction() 303 const Function &Fn; variable 323 DiagnosticInfoOptimizationRemark(const char *PassName, const Function &Fn, in DiagnosticInfoOptimizationRemark() argument 326 PassName, Fn, DLoc, Msg) {} in DiagnosticInfoOptimizationRemark() [all …]
|
/external/llvm/lib/Target/Mips/ |
D | MipsCCState.h | 74 CCAssignFn Fn, in AnalyzeCallOperands() argument 78 CCState::AnalyzeCallOperands(Outs, Fn); in AnalyzeCallOperands() 88 CCAssignFn Fn) = delete; 91 CCAssignFn Fn) = delete; 94 CCAssignFn Fn) { in AnalyzeFormalArguments() argument 96 CCState::AnalyzeFormalArguments(Ins, Fn); in AnalyzeFormalArguments() 102 CCAssignFn Fn, in AnalyzeCallResult() argument 105 CCState::AnalyzeCallResult(Ins, Fn); in AnalyzeCallResult() 111 CCAssignFn Fn) { in AnalyzeReturn() argument 113 CCState::AnalyzeReturn(Outs, Fn); in AnalyzeReturn() [all …]
|
/external/llvm/bindings/ocaml/analysis/ |
D | analysis_ocaml.c | 45 CAMLprim value llvm_verify_function(LLVMValueRef Fn) { in llvm_verify_function() argument 46 return Val_bool(LLVMVerifyFunction(Fn, LLVMReturnStatusAction) == 0); in llvm_verify_function() 56 CAMLprim value llvm_assert_valid_function(LLVMValueRef Fn) { in llvm_assert_valid_function() argument 57 LLVMVerifyFunction(Fn, LLVMAbortProcessAction); in llvm_assert_valid_function() 62 CAMLprim value llvm_view_function_cfg(LLVMValueRef Fn) { in llvm_view_function_cfg() argument 63 LLVMViewFunctionCFG(Fn); in llvm_view_function_cfg() 68 CAMLprim value llvm_view_function_cfg_only(LLVMValueRef Fn) { in llvm_view_function_cfg_only() argument 69 LLVMViewFunctionCFGOnly(Fn); in llvm_view_function_cfg_only()
|
/external/clang/lib/CodeGen/ |
D | CGDeclCXX.cpp | 253 llvm::Function *Fn = in CreateGlobalInitOrDestructFunction() local 259 Fn->setSection(Section); in CreateGlobalInitOrDestructFunction() 262 Fn->setCallingConv(getRuntimeCC()); in CreateGlobalInitOrDestructFunction() 265 Fn->setDoesNotThrow(); in CreateGlobalInitOrDestructFunction() 267 if (!isInSanitizerBlacklist(Fn, Loc)) { in CreateGlobalInitOrDestructFunction() 269 Fn->addFnAttr(llvm::Attribute::SanitizeAddress); in CreateGlobalInitOrDestructFunction() 271 Fn->addFnAttr(llvm::Attribute::SanitizeThread); in CreateGlobalInitOrDestructFunction() 273 Fn->addFnAttr(llvm::Attribute::SanitizeMemory); in CreateGlobalInitOrDestructFunction() 276 return Fn; in CreateGlobalInitOrDestructFunction() 314 llvm::Function *Fn = in EmitCXXGlobalVarDeclInitFunc() local [all …]
|
/external/llvm/lib/Target/MSP430/ |
D | MSP430BranchSelector.cpp | 40 bool runOnMachineFunction(MachineFunction &Fn) override; 56 bool MSP430BSel::runOnMachineFunction(MachineFunction &Fn) { in runOnMachineFunction() argument 58 static_cast<const MSP430InstrInfo *>(Fn.getSubtarget().getInstrInfo()); in runOnMachineFunction() 60 Fn.RenumberBlocks(); in runOnMachineFunction() 61 BlockSizes.resize(Fn.getNumBlockIDs()); in runOnMachineFunction() 65 for (MachineFunction::iterator MFI = Fn.begin(), E = Fn.end(); MFI != E; in runOnMachineFunction() 101 for (MachineFunction::iterator MFI = Fn.begin(), E = Fn.end(); MFI != E; in runOnMachineFunction()
|
/external/llvm/lib/Transforms/Scalar/ |
D | LowerExpectIntrinsic.cpp | 49 Function *Fn = CI->getCalledFunction(); in handleSwitchExpect() local 50 if (!Fn || Fn->getIntrinsicID() != Intrinsic::expect) in handleSwitchExpect() 101 Function *Fn = CI->getCalledFunction(); in handleBranchExpect() local 102 if (!Fn || Fn->getIntrinsicID() != Intrinsic::expect) in handleBranchExpect() 148 Function *Fn = CI->getCalledFunction(); in lowerExpectIntrinsic() local 149 if (Fn && Fn->getIntrinsicID() == Intrinsic::expect) { in lowerExpectIntrinsic()
|
D | ConstantHoisting.cpp | 128 bool runOnFunction(Function &Fn) override; 140 void setup(Function &Fn) { in setup() argument 142 TTI = &getAnalysis<TargetTransformInfoWrapperPass>().getTTI(Fn); in setup() 143 Entry = &Fn.getEntryBlock(); in setup() 164 void collectConstantCandidates(Function &Fn); 172 bool optimizeConstants(Function &Fn); 189 bool ConstantHoisting::runOnFunction(Function &Fn) { in runOnFunction() argument 190 if (skipOptnoneFunction(Fn)) in runOnFunction() 194 DEBUG(dbgs() << "********** Function: " << Fn.getName() << '\n'); in runOnFunction() 196 setup(Fn); in runOnFunction() [all …]
|
/external/skia/src/core/ |
D | SkFunction.h | 23 template <typename Fn> 24 SkFunction(const Fn& fn) : fFunction(SkNEW_ARGS(LambdaImpl<Fn>, (fn))) {} in SkFunction() 51 template <typename Fn> 54 LambdaImpl(const Fn& fn) : fFn(fn) {} in LambdaImpl() 57 Interface* clone() const { return SkNEW_ARGS(LambdaImpl<Fn>, (fFn)); } in clone() 59 Fn fFn;
|
D | SkTHash.h | 96 template <typename Fn> // f(T*) 97 void foreach(Fn&& fn) { in foreach() 106 template <typename Fn> // f(T) or f(const T&) 107 void foreach(Fn&& fn) const { in foreach() 228 template <typename Fn> // f(K, V*) or f(const K&, V*) 229 void foreach(Fn&& fn) { in foreach() 234 template <typename Fn> // f(K, V), f(const K&, V), f(K, const V&) or f(const K&, const V&). 235 void foreach(Fn&& fn) const { in foreach() 279 template <typename Fn> // f(T), f(const T&) 280 void foreach (Fn&& fn) const { in foreach()
|
/external/llvm/lib/IR/ |
D | DiagnosticInfo.cpp | 173 const Function &Fn, const DebugLoc &DLoc, in emitOptimizationRemark() argument 175 Ctx.diagnose(DiagnosticInfoOptimizationRemark(PassName, Fn, DLoc, Msg)); in emitOptimizationRemark() 179 const Function &Fn, in emitOptimizationRemarkMissed() argument 182 Ctx.diagnose(DiagnosticInfoOptimizationRemarkMissed(PassName, Fn, DLoc, Msg)); in emitOptimizationRemarkMissed() 187 const Function &Fn, in emitOptimizationRemarkAnalysis() argument 191 DiagnosticInfoOptimizationRemarkAnalysis(PassName, Fn, DLoc, Msg)); in emitOptimizationRemarkAnalysis() 199 void llvm::emitLoopVectorizeWarning(LLVMContext &Ctx, const Function &Fn, in emitLoopVectorizeWarning() argument 202 Fn, DLoc, Twine("loop not vectorized: " + Msg))); in emitLoopVectorizeWarning() 205 void llvm::emitLoopInterleaveWarning(LLVMContext &Ctx, const Function &Fn, in emitLoopInterleaveWarning() argument 208 Fn, DLoc, Twine("loop not interleaved: " + Msg))); in emitLoopInterleaveWarning()
|
/external/llvm/lib/Support/ |
D | Threading.cpp | 44 void llvm::llvm_execute_on_thread(void (*Fn)(void*), void *UserData, in llvm_execute_on_thread() 46 ThreadInfo Info = { Fn, UserData }; in llvm_execute_on_thread() 86 void llvm::llvm_execute_on_thread(void (*Fn)(void*), void *UserData, in llvm_execute_on_thread() 88 struct ThreadInfo param = { Fn, UserData }; in llvm_execute_on_thread() 106 void llvm::llvm_execute_on_thread(void (*Fn)(void*), void *UserData, in llvm_execute_on_thread() 109 Fn(UserData); in llvm_execute_on_thread()
|
/external/llvm/lib/Transforms/IPO/ |
D | DeadArgumentElimination.cpp | 159 bool DeleteDeadVarargs(Function &Fn); 160 bool RemoveDeadArgumentsFromCallers(Function &Fn); 193 bool DAE::DeleteDeadVarargs(Function &Fn) { in DeleteDeadVarargs() argument 194 assert(Fn.getFunctionType()->isVarArg() && "Function isn't varargs!"); in DeleteDeadVarargs() 195 if (Fn.isDeclaration() || !Fn.hasLocalLinkage()) return false; in DeleteDeadVarargs() 198 if (Fn.hasAddressTaken()) in DeleteDeadVarargs() 203 for (Function::iterator BB = Fn.begin(), E = Fn.end(); BB != E; ++BB) { in DeleteDeadVarargs() 222 FunctionType *FTy = Fn.getFunctionType(); in DeleteDeadVarargs() 230 Function *NF = Function::Create(NFTy, Fn.getLinkage()); in DeleteDeadVarargs() 231 NF->copyAttributesFrom(&Fn); in DeleteDeadVarargs() [all …]
|
/external/llvm/lib/Analysis/ |
D | CFLAliasAnalysis.cpp | 158 FunctionHandle(Function *Fn, CFLAliasAnalysis *CFLAA) in FunctionHandle() 159 : CallbackVH(Fn), CFLAA(CFLAA) { in FunctionHandle() 160 assert(Fn != nullptr); in FunctionHandle() 205 void scan(Function *Fn); 207 void evict(Function *Fn) { Cache.erase(Fn); } in evict() 211 const Optional<FunctionInfo> &ensureCached(Function *Fn) { in ensureCached() 212 auto Iter = Cache.find(Fn); in ensureCached() 214 scan(Fn); in ensureCached() 215 Iter = Cache.find(Fn); in ensureCached() 358 static bool isFunctionExternal(Function *Fn) { in isFunctionExternal() argument [all …]
|
D | Analysis.cpp | 99 LLVMBool LLVMVerifyFunction(LLVMValueRef Fn, LLVMVerifierFailureAction Action) { in LLVMVerifyFunction() argument 101 *unwrap<Function>(Fn), Action != LLVMReturnStatusAction ? &errs() in LLVMVerifyFunction() 110 void LLVMViewFunctionCFG(LLVMValueRef Fn) { in LLVMViewFunctionCFG() argument 111 Function *F = unwrap<Function>(Fn); in LLVMViewFunctionCFG() 115 void LLVMViewFunctionCFGOnly(LLVMValueRef Fn) { in LLVMViewFunctionCFGOnly() argument 116 Function *F = unwrap<Function>(Fn); in LLVMViewFunctionCFGOnly()
|
/external/llvm/lib/Target/PowerPC/ |
D | PPCBranchSelector.cpp | 47 bool runOnMachineFunction(MachineFunction &Fn) override; 66 bool PPCBSel::runOnMachineFunction(MachineFunction &Fn) { in runOnMachineFunction() argument 68 static_cast<const PPCInstrInfo *>(Fn.getSubtarget().getInstrInfo()); in runOnMachineFunction() 70 Fn.RenumberBlocks(); in runOnMachineFunction() 71 BlockSizes.resize(Fn.getNumBlockIDs()); in runOnMachineFunction() 92 for (MachineFunction::iterator MFI = Fn.begin(), E = Fn.end(); MFI != E; in runOnMachineFunction() 136 for (MachineFunction::iterator MFI = Fn.begin(), E = Fn.end(); MFI != E; in runOnMachineFunction()
|
/external/clang/test/Parser/ |
D | cxx-ambig-init-templ.cpp | 141 typedef int (*Fn)(const Y&, const Y&); typedef 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 }; };
|
/external/llvm/lib/Target/Hexagon/ |
D | HexagonSplitConst32AndConst64.cpp | 58 bool runOnMachineFunction(MachineFunction &Fn) override; 65 bool HexagonSplitConst32AndConst64::runOnMachineFunction(MachineFunction &Fn) { in runOnMachineFunction() argument 69 Fn.getTarget().getObjFileLowering()); in runOnMachineFunction() 73 const TargetInstrInfo *TII = Fn.getSubtarget().getInstrInfo(); in runOnMachineFunction() 74 const TargetRegisterInfo *TRI = Fn.getSubtarget().getRegisterInfo(); in runOnMachineFunction() 77 for (MachineFunction::iterator MBBb = Fn.begin(), MBBe = Fn.end(); in runOnMachineFunction()
|
/external/llvm/bindings/go/llvm/ |
D | IRBindings.cpp | 24 void LLVMAddFunctionAttr2(LLVMValueRef Fn, uint64_t PA) { in LLVMAddFunctionAttr2() argument 25 Function *Func = unwrap<Function>(Fn); in LLVMAddFunctionAttr2() 35 uint64_t LLVMGetFunctionAttr2(LLVMValueRef Fn) { in LLVMGetFunctionAttr2() argument 36 Function *Func = unwrap<Function>(Fn); in LLVMGetFunctionAttr2() 41 void LLVMRemoveFunctionAttr2(LLVMValueRef Fn, uint64_t PA) { in LLVMRemoveFunctionAttr2() argument 42 Function *Func = unwrap<Function>(Fn); in LLVMRemoveFunctionAttr2()
|
/external/llvm/lib/Target/NVPTX/ |
D | NVPTXPrologEpilogPass.cpp | 40 void calculateFrameObjectOffsets(MachineFunction &Fn); 111 NVPTXPrologEpilogPass::calculateFrameObjectOffsets(MachineFunction &Fn) { in calculateFrameObjectOffsets() argument 112 const TargetFrameLowering &TFI = *Fn.getSubtarget().getFrameLowering(); in calculateFrameObjectOffsets() 113 const TargetRegisterInfo *RegInfo = Fn.getSubtarget().getRegisterInfo(); in calculateFrameObjectOffsets() 119 MachineFrameInfo *MFI = Fn.getFrameInfo(); in calculateFrameObjectOffsets() 203 if (MFI->adjustsStack() && TFI.hasReservedCallFrame(Fn)) in calculateFrameObjectOffsets() 213 (RegInfo->needsStackRealignment(Fn) && MFI->getObjectIndexEnd() != 0)) in calculateFrameObjectOffsets()
|