Home
last modified time | relevance | path

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

12345678910>>...62

/external/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()
/external/deqp/framework/common/
DtcuLibDrm.cpp49 pGetDevices2 = (PFNDRMGETDEVICES2PROC)getFunction("drmGetDevices2"); in LibDrm()
50 pGetDevices = (PFNDRMGETDEVICESPROC)getFunction("drmGetDevices"); in LibDrm()
51 pFreeDevices = (PFNDRMFREEDEVICESPROC)getFunction("drmFreeDevices"); in LibDrm()
52 pGetResources = (PFNDRMMODEGETRESOURCESPROC)getFunction("drmModeGetResources"); in LibDrm()
53 pFreeResources = (PFNDRMMODEFREERESOURCESPROC)getFunction("drmModeFreeResources"); in LibDrm()
54 pGetConnector = (PFNDRMMODEGETCONNECTORPROC)getFunction("drmModeGetConnector"); in LibDrm()
55 pFreeConnector = (PFNDRMMODEFREECONNECTORPROC)getFunction("drmModeFreeConnector"); in LibDrm()
56 pGetEncoder = (PFNDRMMODEGETENCODERPROC)getFunction("drmModeGetEncoder"); in LibDrm()
57 pFreeEncoder = (PFNDRMMODEFREEENCODERPROC)getFunction("drmModeFreeEncoder"); in LibDrm()
58 pCreateLease = (PFNDRMMODECREATELEASEPROC)getFunction("drmModeCreateLease"); in LibDrm()
[all …]
DtcuFunctionLibrary.cpp51 deFunctionPtr StaticFunctionLibrary::getFunction(const char *funcName) const in getFunction() function in tcu::StaticFunctionLibrary
71 deFunctionPtr DynamicFunctionLibrary::getFunction(const char *funcName) const in getFunction() function in tcu::DynamicFunctionLibrary
73 return m_dynamicLibrary.getFunction(funcName); in getFunction()
88 deFunctionPtr CompositeFunctionLibrary::getFunction(const char *name) const in getFunction() function in tcu::CompositeFunctionLibrary
92 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;
79 deFunctionPtr getFunction(const char *funcName) const;
94 deFunctionPtr getFunction(const char *funcName) const;
/external/llvm/unittests/Bitcode/
DBitReaderTest.cpp140 EXPECT_FALSE(M->getFunction("func")->empty()); in TEST()
162 Function *F = M->getFunction("f"); in TEST()
163 Function *G = M->getFunction("g"); in TEST()
164 Function *H = M->getFunction("h"); in TEST()
165 Function *J = M->getFunction("j"); in TEST()
237 EXPECT_TRUE(M->getFunction("before")->empty()); in TEST()
238 EXPECT_TRUE(M->getFunction("func")->empty()); in TEST()
242 EXPECT_FALSE(M->getFunction("before")->materialize()); in TEST()
243 EXPECT_FALSE(M->getFunction("func")->empty()); in TEST()
244 EXPECT_TRUE(M->getFunction("other")->empty()); in TEST()
[all …]
/external/swiftshader/third_party/llvm-16.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()
96 isSafeForNoCSROpt(MF.getFunction()) && in determineCalleeSaves()
97 isProfitableForNoCSROpt(MF.getFunction())) in determineCalleeSaves()
108 if (MF.getFunction().hasFnAttribute(Attribute::Naked)) in determineCalleeSaves()
118 if (MF.getFunction().hasFnAttribute(Attribute::NoReturn) && in determineCalleeSaves()
119 MF.getFunction().hasFnAttribute(Attribute::NoUnwind) && in determineCalleeSaves()
120 !MF.getFunction().hasFnAttribute(Attribute::UWTable) && in determineCalleeSaves()
138 if (LLVM_UNLIKELY(MF.getFunction().getCallingConv() == CallingConv::HHVM)) in getStackAlignmentSkew()
DMachineBlockFrequencyInfo.cpp96 return &G->getFunction()->front(); in getEntryNode()
106 return nodes_iterator(G->getFunction()->begin()); in nodes_begin()
110 return nodes_iterator(G->getFunction()->end()); in nodes_end()
239 const Function &F = MBFI->getFunction()->getFunction(); in getBlockProfileCount()
248 const Function &F = MBFI->getFunction()->getFunction(); in getProfileCountFromFreq()
269 const MachineFunction *MachineBlockFrequencyInfo::getFunction() const { in getFunction() function in MachineBlockFrequencyInfo
270 return MBFI ? MBFI->getFunction() : nullptr; in getFunction()
/external/pytorch/torch/csrc/distributed/rpc/
Dpython_rpc_handler.cpp49 py::object getFunction(const py::object& module, const char* name) { in getFunction() function
78 pyRunFunction_ = getFunction(rpcInternal, "_run_function"); in init()
79 pySerialize_ = getFunction(rpcInternal, "serialize"); in init()
80 pyDeserialize_ = getFunction(rpcInternal, "deserialize"); in init()
81 pyHandleException_ = getFunction(rpcInternal, "_handle_exception"); in init()
83 rrefTypeFunctions_.onOwner_ = getFunction(rpcApi, "_rref_typeof_on_owner"); in init()
84 rrefTypeFunctions_.onUser_ = getFunction(rpcApi, "_rref_typeof_on_user"); in init()
86 rrefProxyFunctions_.rpcSync_ = getFunction(rpcApi, "rpc_sync"); in init()
87 rrefProxyFunctions_.rpcAsync_ = getFunction(rpcApi, "rpc_async"); in init()
88 rrefProxyFunctions_.remote_ = getFunction(rpcApi, "remote"); in init()
[all …]
/external/swiftshader/third_party/llvm-16.0/llvm/include/llvm/CodeGen/
DMachineCFGPrinter.h27 const MachineFunction *getFunction() const { return this->F; } in getFunction() function
34 return &(CFGInfo->getFunction()->front());
41 return nodes_iterator(CFGInfo->getFunction()->begin());
45 return nodes_iterator(CFGInfo->getFunction()->end());
49 return CFGInfo->getFunction()->size();
88 return "Machine CFG for '" + CFGInfo->getFunction()->getName().str() +
DMachineOptimizationRemarkEmitter.h37 MBB->getParent()->getFunction(), Loc), in DiagnosticInfoMIROptimization()
77 const Function &Fn = getFunction(); in isEnabled()
103 const Function &Fn = getFunction(); in isEnabled()
135 const Function &Fn = getFunction(); in isEnabled()
170 MF.getFunction().getContext().getLLVMRemarkStreamer() || in allowExtraAnalysis()
171 MF.getFunction().getContext().getDiagHandlerPtr()->isAnyRemarkEnabled( in allowExtraAnalysis()
183 if (MF.getFunction().getContext().getLLVMRemarkStreamer() ||
184 MF.getFunction()
/external/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()
/external/swiftshader/third_party/llvm-16.0/llvm/lib/Target/AArch64/
DAArch64RegisterInfo.cpp74 if (MF->getFunction().getCallingConv() == CallingConv::GHC) in getCalleeSavedRegs()
78 if (MF->getFunction().getCallingConv() == CallingConv::AnyReg) in getCalleeSavedRegs()
86 if (MF->getFunction().getCallingConv() == CallingConv::CFGuard_Check) in getCalleeSavedRegs()
90 if (MF->getFunction().getCallingConv() == CallingConv::AArch64_VectorCall) in getCalleeSavedRegs()
92 if (MF->getFunction().getCallingConv() == CallingConv::AArch64_SVE_VectorCall) in getCalleeSavedRegs()
94 if (MF->getFunction().getCallingConv() == in getCalleeSavedRegs()
100 if (MF->getFunction().getCallingConv() == in getCalleeSavedRegs()
108 MF->getFunction().getAttributes().hasAttrSomewhere( in getCalleeSavedRegs()
111 if (MF->getFunction().getCallingConv() == CallingConv::SwiftTail) in getCalleeSavedRegs()
113 if (MF->getFunction().getCallingConv() == CallingConv::PreserveMost) in getCalleeSavedRegs()
[all …]
/external/tensorflow/tensorflow/compiler/mlir/hlo/lib/Analysis/
Dtest_userange_analysis.cc34 llvm::outs() << "Testing : " << getFunction().getName() << "\n"; in runOnFunction()
35 UserangeAnalysis(getFunction(), BufferPlacementAllocs(getFunction()), in runOnFunction()
36 BufferViewFlowAnalysis(getFunction())) in runOnFunction()
/external/llvm/lib/CodeGen/
DMachineBlockFrequencyInfo.cpp61 return &G->getFunction()->front(); in getEntryNode()
73 return G->getFunction()->begin(); in nodes_begin()
77 return G->getFunction()->end(); in nodes_end()
174 const Function *F = MBFI->getFunction()->getFunction(); in getBlockProfileCount()
178 const MachineFunction *MachineBlockFrequencyInfo::getFunction() const { in getFunction() function in MachineBlockFrequencyInfo
179 return MBFI ? MBFI->getFunction() : nullptr; in getFunction()
DTargetFrameLoweringImpl.cpp33 auto Attr = MF.getFunction()->getFnAttribute("no-frame-pointer-elim"); in noFramePointerElim()
72 if (MF.getTarget().Options.EnableIPRA && isSafeForNoCSROpt(MF.getFunction())) in determineCalleeSaves()
83 if (MF.getFunction()->hasFnAttribute(Attribute::Naked)) in determineCalleeSaves()
100 if (LLVM_UNLIKELY(MF.getFunction()->getCallingConv() == CallingConv::HHVM)) in getStackAlignmentSkew()
/external/swiftshader/third_party/llvm-16.0/llvm/lib/Target/AMDGPU/
DAMDGPUAsmPrinter.cpp194 const Function &F = MF->getFunction(); in emitFunctionBodyStart()
261 getNameWithPrefix(KernelName, &MF->getFunction()); in emitFunctionBodyEnd()
283 if (MFI->isEntryFunction() && STM.isAmdHsaOrMesa(MF->getFunction())) { in emitFunctionEntryLabel()
285 getNameWithPrefix(SymbolName, &MF->getFunction()), in emitFunctionEntryLabel()
425 const Function &F = MF.getFunction(); in getAmdhsaKernelDescriptor()
456 initTargetStreamer(*MF.getFunction().getParent()); in runOnMachineFunction()
520 ResourceUsage->getResourceInfo(&MF.getFunction()); in runOnMachineFunction()
683 ResourceUsage->getResourceInfo(&MF.getFunction()); in getSIProgramInfo()
700 DiagnosticInfoStackSize DiagStackSize(MF.getFunction(), in getSIProgramInfo()
703 MF.getFunction().getContext().diagnose(DiagStackSize); in getSIProgramInfo()
[all …]
/external/angle/src/compiler/translator/tree_ops/hlsl/
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()
/external/llvm/unittests/Linker/
DLinkModulesTest.cpp118 EXPECT_EQ(cast<BlockAddress>(Elem)->getFunction(), in TEST_F()
119 LinkedModule->getFunction("ba_func")); in TEST_F()
121 LinkedModule->getFunction("ba_func")); in TEST_F()
125 EXPECT_EQ(cast<BlockAddress>(Elem)->getFunction(), in TEST_F()
126 LinkedModule->getFunction("ba_func")); in TEST_F()
128 LinkedModule->getFunction("ba_func")); in TEST_F()
212 EXPECT_NE(nullptr, DestM->getFunction("bar")); in TEST_F()
338 ASSERT_TRUE(Foo->getFunction("llvm.memset.p0struct.rtx_def.i32")); in TEST_F()
339 ASSERT_FALSE(Foo->getFunction("llvm.memset.p0struct.rtx_def.0.i32")); in TEST_F()
346 ASSERT_FALSE(Bar->getFunction("llvm.memset.p0struct.rtx_def.i32")); in TEST_F()
[all …]
/external/deqp/framework/egl/wrapper/
DeglwLibrary.cpp73 m_getProcAddress = (eglGetProcAddressFunc)m_staticLib->getFunction("eglGetProcAddress"); in CoreLoader()
76 m_getProcAddress = (eglGetProcAddressFunc)m_dynLib->getFunction("eglGetProcAddress"); in CoreLoader()
88 res = (GenericFuncType)m_staticLib->getFunction(name); in get()
91 res = (GenericFuncType)m_dynLib->getFunction(name); in get()
/external/llvm/unittests/Analysis/
DLazyCallGraphTest.cpp133 EXPECT_EQ("a1", A1.getFunction().getName()); in TEST()
135 EXPECT_EQ("a2", A2.getFunction().getName()); in TEST()
137 EXPECT_EQ("a3", A3.getFunction().getName()); in TEST()
139 EXPECT_EQ("b1", B1.getFunction().getName()); in TEST()
141 EXPECT_EQ("b2", B2.getFunction().getName()); in TEST()
143 EXPECT_EQ("b3", B3.getFunction().getName()); in TEST()
145 EXPECT_EQ("c1", C1.getFunction().getName()); in TEST()
147 EXPECT_EQ("c2", C2.getFunction().getName()); in TEST()
149 EXPECT_EQ("c3", C3.getFunction().getName()); in TEST()
151 EXPECT_EQ("d1", D1.getFunction().getName()); in TEST()
[all …]
/external/swiftshader/third_party/llvm-16.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()
/external/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()
/external/llvm/lib/Analysis/
DTrace.cpp24 Function *Trace::getFunction() const { in getFunction() function in Trace
29 return getFunction()->getParent(); in getModule()
35 Function *F = getFunction(); in print()
/external/llvm/lib/Target/Mips/
DMipsCCState.cpp65 Function *F = G->getGlobal()->getParent()->getFunction(Sym); in getSpecialCallingConvForCallee()
91 originalTypeIsF128(MF.getFunction()->getReturnType(), nullptr)); in PreAnalyzeReturnForF128()
93 MF.getFunction()->getReturnType()->isFloatingPointTy()); in PreAnalyzeReturnForF128()
118 Function::const_arg_iterator FuncArg = MF.getFunction()->arg_begin(); in PreAnalyzeFormalArgumentsForF128()
129 assert(Ins[i].getOrigArgIndex() < MF.getFunction()->arg_size()); in PreAnalyzeFormalArgumentsForF128()

12345678910>>...62