Home
last modified time | relevance | path

Searched refs:getFunction (Results 1 – 25 of 565) sorted by relevance

12345678910>>...23

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DTargetFrameLoweringImpl.cpp34 assert(MF.getFunction().hasFnAttribute(Attribute::NoReturn) && in enableCalleeSaveSkip()
35 MF.getFunction().hasFnAttribute(Attribute::NoUnwind) && in enableCalleeSaveSkip()
36 !MF.getFunction().hasFnAttribute(Attribute::UWTable)); in enableCalleeSaveSkip()
89 isSafeForNoCSROpt(MF.getFunction()) && in determineCalleeSaves()
90 isProfitableForNoCSROpt(MF.getFunction())) in determineCalleeSaves()
101 if (MF.getFunction().hasFnAttribute(Attribute::Naked)) in determineCalleeSaves()
111 if (MF.getFunction().hasFnAttribute(Attribute::NoReturn) && in determineCalleeSaves()
112 MF.getFunction().hasFnAttribute(Attribute::NoUnwind) && in determineCalleeSaves()
113 !MF.getFunction().hasFnAttribute(Attribute::UWTable) && in determineCalleeSaves()
131 if (LLVM_UNLIKELY(MF.getFunction().getCallingConv() == CallingConv::HHVM)) in getStackAlignmentSkew()
DMachineBlockFrequencyInfo.cpp94 return &G->getFunction()->front(); in getEntryNode()
104 return nodes_iterator(G->getFunction()->begin()); in nodes_begin()
108 return nodes_iterator(G->getFunction()->end()); in nodes_end()
234 const Function &F = MBFI->getFunction()->getFunction(); in getBlockProfileCount()
240 const Function &F = MBFI->getFunction()->getFunction(); in getProfileCountFromFreq()
250 const MachineFunction *MachineBlockFrequencyInfo::getFunction() const { in getFunction() function in MachineBlockFrequencyInfo
251 return MBFI ? MBFI->getFunction() : nullptr; in getFunction()
DPatchableFunction.cpp58 if (MF.getFunction().hasFnAttribute("patchable-function-entry")) { in runOnMachineFunction()
72 if (!MF.getFunction().hasFnAttribute("patchable-function")) in runOnMachineFunction()
76 Attribute PatchAttr = MF.getFunction().getFnAttribute("patchable-function"); in runOnMachineFunction()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DMachineOptimizationRemarkEmitter.h35 MBB->getParent()->getFunction(), Loc), in DiagnosticInfoMIROptimization()
75 const Function &Fn = getFunction(); in isEnabled()
101 const Function &Fn = getFunction(); in isEnabled()
127 const Function &Fn = getFunction(); in isEnabled()
162 MF.getFunction().getContext().getRemarkStreamer() || in allowExtraAnalysis()
163 MF.getFunction().getContext().getDiagHandlerPtr()->isAnyRemarkEnabled( in allowExtraAnalysis()
175 if (MF.getFunction().getContext().getRemarkStreamer() ||
176 MF.getFunction()
/third_party/vk-gl-cts/framework/common/
DtcuFunctionLibrary.cpp51 deFunctionPtr StaticFunctionLibrary::getFunction (const char* funcName) const in getFunction() function in tcu::StaticFunctionLibrary
72 deFunctionPtr DynamicFunctionLibrary::getFunction (const char* funcName) const in getFunction() function in tcu::DynamicFunctionLibrary
74 return m_dynamicLibrary.getFunction(funcName); in getFunction()
89 deFunctionPtr CompositeFunctionLibrary::getFunction (const char* name) const in getFunction() function in tcu::CompositeFunctionLibrary
93 const deFunctionPtr ptr = m_libraries[ndx].getFunction(name); in getFunction()
DtcuFunctionLibrary.hpp44 virtual deFunctionPtr getFunction (const char* funcName) const = 0;
63 deFunctionPtr getFunction (const char* funcName) const;
80 deFunctionPtr getFunction (const char* funcName) const;
95 deFunctionPtr getFunction (const char* funcName) const;
/third_party/flutter/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/
DArrayReturnValueToOutParameter.cpp67 ASSERT(originalCall->getFunction()); in createReplacementCall()
68 const TSymbolUniqueId &originalId = originalCall->getFunction()->uniqueId(); in createReplacementCall()
109 const TSymbolUniqueId &functionId = node->getFunction()->uniqueId(); in visitFunctionPrototype()
118 TFunction *func = new TFunction(mSymbolTable, node->getFunction()->name(), in visitFunctionPrototype()
119 node->getFunction()->symbolType(), in visitFunctionPrototype()
121 for (size_t i = 0; i < node->getFunction()->getParamCount(); ++i) in visitFunctionPrototype()
123 func->addParameter(node->getFunction()->getParam(i)); in visitFunctionPrototype()
187 mFunctionWithArrayReturnValue->getFunction()->uniqueId(); in visitBranch()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/d3d/
DArrayReturnValueToOutParameter.cpp69 ASSERT(originalCall->getFunction()); in createReplacementCall()
70 const TSymbolUniqueId &originalId = originalCall->getFunction()->uniqueId(); in createReplacementCall()
113 const TSymbolUniqueId &functionId = node->getFunction()->uniqueId(); in visitFunctionPrototype()
122 TFunction *func = new TFunction(mSymbolTable, node->getFunction()->name(), in visitFunctionPrototype()
123 node->getFunction()->symbolType(), in visitFunctionPrototype()
125 for (size_t i = 0; i < node->getFunction()->getParamCount(); ++i) in visitFunctionPrototype()
127 func->addParameter(node->getFunction()->getParam(i)); in visitFunctionPrototype()
190 mFunctionWithArrayReturnValue->getFunction()->uniqueId(); in visitBranch()
/third_party/vk-gl-cts/framework/egl/wrapper/
DeglwLibrary.cpp74 m_getProcAddress = (eglGetProcAddressFunc)m_staticLib->getFunction("eglGetProcAddress"); in CoreLoader()
77 m_getProcAddress = (eglGetProcAddressFunc)m_dynLib->getFunction("eglGetProcAddress"); in CoreLoader()
89 res = (GenericFuncType)m_staticLib->getFunction(name); in get()
92 res = (GenericFuncType)m_dynLib->getFunction(name); in get()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64RegisterInfo.cpp46 if (MF->getFunction().getCallingConv() == CallingConv::CFGuard_Check) in getCalleeSavedRegs()
50 if (MF->getFunction().getCallingConv() == CallingConv::GHC) in getCalleeSavedRegs()
54 if (MF->getFunction().getCallingConv() == CallingConv::AnyReg) in getCalleeSavedRegs()
56 if (MF->getFunction().getCallingConv() == CallingConv::AArch64_VectorCall) in getCalleeSavedRegs()
58 if (MF->getFunction().getCallingConv() == CallingConv::AArch64_SVE_VectorCall) in getCalleeSavedRegs()
60 if (MF->getFunction().getCallingConv() == CallingConv::CXX_FAST_TLS) in getCalleeSavedRegs()
66 MF->getFunction().getAttributes().hasAttrSomewhere( in getCalleeSavedRegs()
69 if (MF->getFunction().getCallingConv() == CallingConv::PreserveMost) in getCalleeSavedRegs()
79 if (MF->getFunction().getCallingConv() == CallingConv::CXX_FAST_TLS && in getCalleeSavedRegsViaCopy()
118 bool SCS = MF.getFunction().hasFnAttribute(Attribute::ShadowCallStack); in getCallPreservedMask()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DTrace.cpp27 Function *Trace::getFunction() const { in getFunction() function in Trace
32 return getFunction()->getParent(); in getModule()
37 Function *F = getFunction(); in print()
DBlockFrequencyInfo.cpp105 return &G->getFunction()->front(); in getEntryNode()
115 return nodes_iterator(G->getFunction()->begin()); in nodes_begin()
119 return nodes_iterator(G->getFunction()->end()); in nodes_end()
212 return BFI->getBlockProfileCount(*getFunction(), BB, AllowSynthetic); in getBlockProfileCount()
219 return BFI->getProfileCountFromFreq(*getFunction(), Freq); in getProfileCountFromFreq()
260 const Function *BlockFrequencyInfo::getFunction() const { in getFunction() function in BlockFrequencyInfo
261 return BFI ? BFI->getFunction() : nullptr; in getFunction()
DCallGraph.cpp100 if (Function *LF = LHS->getFunction()) in print()
101 if (Function *RF = RHS->getFunction()) in print()
104 return RHS->getFunction() != nullptr; in print()
124 Function *F = CGN->getFunction(); // Get the function for the call graph node in removeFunctionFromModule()
163 if (Function *F = getFunction()) in print()
172 if (Function *FI = I.second->getFunction()) in print()
DCallGraphSCCPass.cpp172 if (Function *F = CGN->getFunction()) { in RunPassOnSCC()
218 Function *F = CGN->getFunction(); in RefreshCallGraph()
251 if (!I->second->getFunction()) in RefreshCallGraph()
306 if (ExistingNode->getFunction() == Call->getCalledFunction()) in RefreshCallGraph()
315 ExistingNode->getFunction() == nullptr) in RefreshCallGraph()
328 if (!ExistingNode->getFunction()) { in RefreshCallGraph()
651 if (Function *F = CGN->getFunction()) { in runOnSCC()
692 Function *F = CGN->getFunction(); in getDescription()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/
DCallDAG.cpp104 mCurrentFunction = &mFunctions[node->getFunction()->uniqueId().get()]; in visitFunctionDefinition()
108 mCurrentFunction->name == node->getFunction()->name()); in visitFunctionDefinition()
109 mCurrentFunction->name = node->getFunction()->name(); in visitFunctionDefinition()
122 auto &record = mFunctions[node->getFunction()->uniqueId().get()]; in visitFunctionPrototype()
123 record.name = node->getFunction()->name(); in visitFunctionPrototype()
132 auto it = mFunctions.find(node->getFunction()->uniqueId().get()); in visitAggregate()
/third_party/flutter/skia/third_party/externals/angle2/src/compiler/translator/
DCallDAG.cpp104 mCurrentFunction = &mFunctions[node->getFunction()->uniqueId().get()]; in visitFunctionDefinition()
108 mCurrentFunction->name == node->getFunction()->name()); in visitFunctionDefinition()
109 mCurrentFunction->name = node->getFunction()->name(); in visitFunctionDefinition()
122 auto &record = mFunctions[node->getFunction()->uniqueId().get()]; in visitFunctionPrototype()
123 record.name = node->getFunction()->name(); in visitFunctionPrototype()
132 auto it = mFunctions.find(node->getFunction()->uniqueId().get()); in visitAggregate()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUAsmPrinter.cpp197 const Function &F = MF->getFunction(); in EmitFunctionBodyStart()
236 getNameWithPrefix(KernelName, &MF->getFunction()); in EmitFunctionBodyEnd()
259 if (MFI->isEntryFunction() && STM.isAmdHsaOrMesa(MF->getFunction())) { in EmitFunctionEntryLabel()
261 getNameWithPrefix(SymbolName, &MF->getFunction()), in EmitFunctionEntryLabel()
443 std::make_pair(&MF.getFunction(), SIFunctionResourceInfo())); in runOnMachineFunction()
480 SIFunctionResourceInfo &Info = CallGraphResourceInfo[&MF.getFunction()]; in runOnMachineFunction()
938 DiagnosticInfoStackSize DiagStackSize(MF.getFunction(), in getSIProgramInfo()
940 MF.getFunction().getContext().diagnose(DiagStackSize); in getSIProgramInfo()
957 LLVMContext &Ctx = MF.getFunction().getContext(); in getSIProgramInfo()
958 DiagnosticInfoResourceLimit Diag(MF.getFunction(), in getSIProgramInfo()
[all …]
DAMDGPUMachineFunction.cpp21 Mode(MF.getFunction(), MF.getSubtarget<GCNSubtarget>()), in AMDGPUMachineFunction()
22 IsEntryFunction(AMDGPU::isEntryFunctionCC(MF.getFunction().getCallingConv())), in AMDGPUMachineFunction()
30 const Function &F = MF.getFunction(); in AMDGPUMachineFunction()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/
DMipsCCState.cpp77 Function *F = G->getGlobal()->getParent()->getFunction(Sym); in getSpecialCallingConvForCallee()
103 originalTypeIsF128(MF.getFunction().getReturnType(), nullptr)); in PreAnalyzeReturnForF128()
105 MF.getFunction().getReturnType()->isFloatingPointTy()); in PreAnalyzeReturnForF128()
151 Function::const_arg_iterator FuncArg = MF.getFunction().arg_begin(); in PreAnalyzeFormalArgumentsForF128()
163 assert(Ins[i].getOrigArgIndex() < MF.getFunction().arg_size()); in PreAnalyzeFormalArgumentsForF128()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/vulkan/
DFlagSamplersWithTexelFetch.cpp41 ASSERT(node->getFunction()->symbolType() == SymbolType::BuiltIn); in visitAggregate()
42 if (node->getFunction()->name() != "texelFetch" && in visitAggregate()
43 node->getFunction()->name() != "texelFetchOffset") in visitAggregate()
/third_party/flutter/skia/tests/
DSkSLInterpreterTest.cpp41 const SkSL::ByteCodeFunction* main = byteCode->getFunction("main"); in test()
90 const SkSL::ByteCodeFunction* main = byteCode->getFunction("main"); in vec_test()
132 const SkSL::ByteCodeFunction* main = byteCode->getFunction("main"); in test()
550 auto rect_height = byteCode->getFunction("rect_height"), in DEF_TEST()
551 make_blue_rect = byteCode->getFunction("make_blue_rect"), in DEF_TEST()
552 median = byteCode->getFunction("median"), in DEF_TEST()
553 sums = byteCode->getFunction("sums"), in DEF_TEST()
554 get_rect = byteCode->getFunction("get_rect"), in DEF_TEST()
555 fill_rects = byteCode->getFunction("fill_rects"); in DEF_TEST()
636 bool result = byteCode->run(byteCode->getFunction("main"), in, nullptr, 1, nullptr, 0); in expect_run_failure()
[all …]
/third_party/skia/third_party/externals/angle2/src/compiler/translator/TranslatorMetalDirect/
DIntroduceVertexIndexID.cpp40 if (node.getFunction()->isMain()) in visitFunctionDefinitionPre()
42 const TFunction *mainFunction = node.getFunction(); in visitFunctionDefinitionPre()
70 mSymbolTable, nullptr, *node.getFunction(), mVariablesToIntroduce); in visitFunctionDefinitionPre()
DWrapMain.cpp39 const TFunction &func = *funcDefNode->getFunction(); in visitBlock()
54 const TFunction &func = *funcDefNode->getFunction(); in visitMain()
59 const TFunction &externalMainFunc = *funcDefNode->getFunction(); in visitMain()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Coroutines/
DCoroElide.cpp80 Function &F = *Frame->getFunction(); in removeTailCallAttribute()
112 getFirstNonAllocaInTheEntryBlock(CoroIds.front()->getFunction()); in elideHeapAllocations()
238 bool ShouldElide = shouldElide(CoroId->getFunction(), DT); in processCoroId()
248 elideHeapAllocations(CoroId->getFunction(), FrameTy, AA); in processCoroId()
268 Function *DevirtFn = M.getFunction(CORO_DEVIRT_TRIGGER_FN); in replaceDevirtTrigger()
310 if (CII->getCoroutine() != CII->getFunction()) in runOnFunction()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86IndirectBranchTracking.cpp117 if ((MF.getFunction().hasAddressTaken() || in runOnMachineFunction()
118 !MF.getFunction().hasLocalLinkage()) && in runOnMachineFunction()
119 !MF.getFunction().doesNoCfCheck()) { in runOnMachineFunction()

12345678910>>...23