/external/llvm-project/llvm/unittests/Bitcode/ |
D | BitReaderTest.cpp | 80 Function *F = M->getFunction("f"); in TEST() 81 Function *G = M->getFunction("g"); in TEST() 82 Function *H = M->getFunction("h"); in TEST() 83 Function *J = M->getFunction("j"); in TEST() 135 Function *Foo = M->getFunction("foo"); in TEST() 169 Function *Foo = M->getFunction("foo"); in TEST() 201 EXPECT_FALSE(M->getFunction("func")->empty()); in TEST() 220 EXPECT_TRUE(M->getFunction("before")->empty()); in TEST() 221 EXPECT_TRUE(M->getFunction("func")->empty()); in TEST() 225 EXPECT_FALSE(M->getFunction("before")->materialize()); in TEST() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
D | TargetFrameLoweringImpl.cpp | 34 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()
|
D | MachineBlockFrequencyInfo.cpp | 94 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/llvm-project/llvm/lib/CodeGen/ |
D | TargetFrameLoweringImpl.cpp | 34 assert(MF.getFunction().hasFnAttribute(Attribute::NoReturn) && in enableCalleeSaveSkip() 35 MF.getFunction().hasFnAttribute(Attribute::NoUnwind) && in enableCalleeSaveSkip() 36 !MF.getFunction().hasFnAttribute(Attribute::UWTable)); in enableCalleeSaveSkip() 91 isSafeForNoCSROpt(MF.getFunction()) && in determineCalleeSaves() 92 isProfitableForNoCSROpt(MF.getFunction())) in determineCalleeSaves() 103 if (MF.getFunction().hasFnAttribute(Attribute::Naked)) in determineCalleeSaves() 113 if (MF.getFunction().hasFnAttribute(Attribute::NoReturn) && in determineCalleeSaves() 114 MF.getFunction().hasFnAttribute(Attribute::NoUnwind) && in determineCalleeSaves() 115 !MF.getFunction().hasFnAttribute(Attribute::UWTable) && in determineCalleeSaves() 133 if (LLVM_UNLIKELY(MF.getFunction().getCallingConv() == CallingConv::HHVM)) in getStackAlignmentSkew()
|
D | MachineBlockFrequencyInfo.cpp | 94 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() 261 const MachineFunction *MachineBlockFrequencyInfo::getFunction() const { in getFunction() function in MachineBlockFrequencyInfo 262 return MBFI ? MBFI->getFunction() : nullptr; in getFunction()
|
/external/llvm/unittests/Bitcode/ |
D | BitReaderTest.cpp | 140 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/llvm-project/llvm/include/llvm/CodeGen/ |
D | MachineOptimizationRemarkEmitter.h | 35 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().getLLVMRemarkStreamer() || in allowExtraAnalysis() 163 MF.getFunction().getContext().getDiagHandlerPtr()->isAnyRemarkEnabled( in allowExtraAnalysis() 175 if (MF.getFunction().getContext().getLLVMRemarkStreamer() || 176 MF.getFunction()
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/ |
D | MachineOptimizationRemarkEmitter.h | 35 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/deqp/framework/common/ |
D | tcuFunctionLibrary.cpp | 51 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()
|
D | tcuFunctionLibrary.hpp | 44 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;
|
/external/llvm-project/mlir/test/lib/Transforms/ |
D | TestNumberOfExecutions.cpp | 24 llvm::errs() << "Number of executions: " << getFunction().getName() << "\n"; in runOnFunction() 26 llvm::errs(), &getFunction().getBody()); in runOnFunction() 33 llvm::errs() << "Number of executions: " << getFunction().getName() << "\n"; in runOnFunction() 35 llvm::errs(), &getFunction().getBody()); in runOnFunction()
|
D | TestVectorTransforms.cpp | 34 applyPatternsAndFoldGreedily(getFunction(), std::move(patterns)); in runOnFunction() 53 applyPatternsAndFoldGreedily(getFunction(), std::move(patterns)); in runOnFunction() 90 applyPatternsAndFoldGreedily(getFunction(), std::move(patterns)); in runOnFunction() 106 applyPatternsAndFoldGreedily(getFunction(), std::move(patterns)); in runOnFunction() 120 applyPatternsAndFoldGreedily(getFunction(), std::move(patterns)); in runOnFunction() 167 applyPatternsAndFoldGreedily(getFunction(), std::move(patterns)); in runOnFunction() 191 FuncOp func = getFunction(); in runOnFunction() 222 applyPatternsAndFoldGreedily(getFunction(), std::move(patterns)); in runOnFunction() 241 FuncOp func = getFunction(); in runOnFunction() 282 applyPatternsAndFoldGreedily(getFunction(), std::move(patterns)); in runOnFunction() [all …]
|
/external/llvm/lib/CodeGen/ |
D | MachineBlockFrequencyInfo.cpp | 61 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()
|
D | TargetFrameLoweringImpl.cpp | 33 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/llvm-project/llvm/lib/Target/AArch64/ |
D | AArch64RegisterInfo.cpp | 66 const Function &F = MF->getFunction(); in hasSVEArgsOrReturn() 77 if (MF->getFunction().getCallingConv() == CallingConv::GHC) in getCalleeSavedRegs() 81 if (MF->getFunction().getCallingConv() == CallingConv::AnyReg) in getCalleeSavedRegs() 89 if (MF->getFunction().getCallingConv() == CallingConv::CFGuard_Check) in getCalleeSavedRegs() 93 if (MF->getFunction().getCallingConv() == CallingConv::AArch64_VectorCall) in getCalleeSavedRegs() 95 if (MF->getFunction().getCallingConv() == CallingConv::AArch64_SVE_VectorCall) in getCalleeSavedRegs() 99 MF->getFunction().getAttributes().hasAttrSomewhere( in getCalleeSavedRegs() 102 if (MF->getFunction().getCallingConv() == CallingConv::PreserveMost) in getCalleeSavedRegs() 104 if (MF->getFunction().getCallingConv() == CallingConv::Win64) in getCalleeSavedRegs() 119 if (MF->getFunction().getCallingConv() == CallingConv::CFGuard_Check) in getDarwinCalleeSavedRegs() [all …]
|
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/translate/ |
D | tf_functional_to_executor.cc | 49 if (!llvm::hasSingleElement(getFunction())) { in runOnFunction() 54 auto loc = getFunction().getLoc(); in runOnFunction() 55 mlir::Block& body = getFunction().front(); in runOnFunction() 73 loc, getFunction().getType().getResults()); in runOnFunction() 77 loc, getFunction().getType().getResults(), in runOnFunction()
|
/external/angle/src/compiler/translator/tree_ops/d3d/ |
D | ArrayReturnValueToOutParameter.cpp | 69 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-project/llvm/unittests/Transforms/Utils/ |
D | BasicBlockUtilsTest.cpp | 50 auto *F = M->getFunction("has_unreachable"); in TEST() 78 auto *F = M->getFunction("no_unreachable"); in TEST() 106 auto *F = M->getFunction("basic_func"); in TEST() 133 auto *F = M->getFunction("crit_edge"); in TEST() 161 auto *F = M->getFunction("crit_edge"); in TEST() 259 auto *F = M->getFunction("edge_probability"); in TEST()
|
/external/llvm/unittests/Linker/ |
D | LinkModulesTest.cpp | 118 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/llvm-project/llvm/unittests/Linker/ |
D | LinkModulesTest.cpp | 117 EXPECT_EQ(cast<BlockAddress>(Elem)->getFunction(), in TEST_F() 118 LinkedModule->getFunction("ba_func")); in TEST_F() 120 LinkedModule->getFunction("ba_func")); in TEST_F() 124 EXPECT_EQ(cast<BlockAddress>(Elem)->getFunction(), in TEST_F() 125 LinkedModule->getFunction("ba_func")); in TEST_F() 127 LinkedModule->getFunction("ba_func")); in TEST_F() 211 EXPECT_NE(nullptr, DestM->getFunction("bar")); in TEST_F() 337 ASSERT_TRUE(Foo->getFunction("llvm.memset.p0s_struct.rtx_defs.i32")); in TEST_F() 338 ASSERT_FALSE(Foo->getFunction("llvm.memset.p0s_struct.rtx_defs.0.i32")); in TEST_F() 345 ASSERT_FALSE(Bar->getFunction("llvm.memset.p0s_struct.rtx_defs.i32")); in TEST_F() [all …]
|
/external/llvm/unittests/Analysis/ |
D | LazyCallGraphTest.cpp | 133 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/llvm/lib/Analysis/ |
D | Trace.cpp | 24 Function *Trace::getFunction() const { in getFunction() function in Trace 29 return getFunction()->getParent(); in getModule() 35 Function *F = getFunction(); in print()
|
/external/llvm-project/llvm/lib/Analysis/ |
D | Trace.cpp | 27 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/ |
D | Trace.cpp | 27 Function *Trace::getFunction() const { in getFunction() function in Trace 32 return getFunction()->getParent(); in getModule() 37 Function *F = getFunction(); in print()
|
/external/deqp/framework/egl/wrapper/ |
D | eglwLibrary.cpp | 74 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()
|