/external/swiftshader/third_party/llvm-7.0/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() 137 EXPECT_FALSE(M->getFunction("func")->empty()); in TEST() 156 EXPECT_TRUE(M->getFunction("before")->empty()); in TEST() 157 EXPECT_TRUE(M->getFunction("func")->empty()); in TEST() 161 EXPECT_FALSE(M->getFunction("before")->materialize()); in TEST() 162 EXPECT_FALSE(M->getFunction("func")->empty()); in TEST() 163 EXPECT_TRUE(M->getFunction("other")->empty()); in TEST() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/ |
D | TargetFrameLoweringImpl.cpp | 35 auto Attr = MF.getFunction().getFnAttribute("no-frame-pointer-elim"); in noFramePointerElim() 40 assert(MF.getFunction().hasFnAttribute(Attribute::NoReturn) && in enableCalleeSaveSkip() 41 MF.getFunction().hasFnAttribute(Attribute::NoUnwind) && in enableCalleeSaveSkip() 42 !MF.getFunction().hasFnAttribute(Attribute::UWTable)); in enableCalleeSaveSkip() 81 if (MF.getTarget().Options.EnableIPRA && isSafeForNoCSROpt(MF.getFunction())) in determineCalleeSaves() 92 if (MF.getFunction().hasFnAttribute(Attribute::Naked)) in determineCalleeSaves() 102 if (MF.getFunction().hasFnAttribute(Attribute::NoReturn) && in determineCalleeSaves() 103 MF.getFunction().hasFnAttribute(Attribute::NoUnwind) && in determineCalleeSaves() 104 !MF.getFunction().hasFnAttribute(Attribute::UWTable) && in determineCalleeSaves() 122 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() 227 const Function &F = MBFI->getFunction()->getFunction(); in getBlockProfileCount() 233 const Function &F = MBFI->getFunction()->getFunction(); in getProfileCountFromFreq() 243 const MachineFunction *MachineBlockFrequencyInfo::getFunction() const { in getFunction() function in MachineBlockFrequencyInfo 244 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/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/ |
D | MachineOptimizationRemarkEmitter.h | 36 MBB->getParent()->getFunction(), Loc), in DiagnosticInfoMIROptimization() 76 const Function &Fn = getFunction(); in isEnabled() 102 const Function &Fn = getFunction(); in isEnabled() 128 const Function &Fn = getFunction(); in isEnabled() 162 return (MF.getFunction().getContext().getDiagnosticsOutputFile() || in allowExtraAnalysis() 163 MF.getFunction().getContext() in allowExtraAnalysis() 175 if (MF.getFunction().getContext().getDiagnosticsOutputFile() || 176 MF.getFunction().getContext().getDiagHandlerPtr()->isAnyRemarkEnabled()) {
|
/external/swiftshader/third_party/LLVM/lib/CodeGen/ |
D | ScheduleDAGPrinter.cpp | 39 return G->MF.getFunction()->getName(); in getGraphName() 89 ViewGraph(this, "dag." + MF.getFunction()->getNameStr(), false, in viewGraph() 90 "Scheduling-Units Graph for " + MF.getFunction()->getNameStr() + in viewGraph() 93 ViewGraph(this, "dag." + MF.getFunction()->getNameStr(), false, in viewGraph() 94 "Scheduling-Units Graph for " + MF.getFunction()->getNameStr()); in viewGraph()
|
/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/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/swiftshader/third_party/llvm-7.0/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.p0s_struct.rtx_defs.i32")); in TEST_F() 339 ASSERT_FALSE(Foo->getFunction("llvm.memset.p0s_struct.rtx_defs.0.i32")); in TEST_F() 346 ASSERT_FALSE(Bar->getFunction("llvm.memset.p0s_struct.rtx_defs.i32")); in TEST_F() [all …]
|
/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/swiftshader/third_party/LLVM/lib/ExecutionEngine/MCJIT/ |
D | MCJITMemoryManager.h | 38 Function *F = M->getFunction(Name); in startFunctionBody() 43 F = M->getFunction((Twine("\1") + Name).str()); in startFunctionBody() 55 Function *F = M->getFunction(Name); in endFunctionBody() 60 F = M->getFunction((Twine("\1") + Name).str()); in endFunctionBody()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/ |
D | AMDGPUAsmPrinter.cpp | 201 const Function &F = MF->getFunction(); in EmitFunctionBodyStart() 239 getNameWithPrefix(KernelName, &MF->getFunction()); in EmitFunctionBodyEnd() 262 if (MFI->isEntryFunction() && STM.isAmdCodeObjectV2(MF->getFunction())) { in EmitFunctionEntryLabel() 264 getNameWithPrefix(SymbolName, &MF->getFunction()), in EmitFunctionEntryLabel() 418 std::make_pair(&MF.getFunction(), SIFunctionResourceInfo())); in runOnMachineFunction() 443 SIFunctionResourceInfo &Info = CallGraphResourceInfo[&MF.getFunction()]; in runOnMachineFunction() 813 DiagnosticInfoStackSize DiagStackSize(MF.getFunction(), in getSIProgramInfo() 815 MF.getFunction().getContext().diagnose(DiagStackSize); in getSIProgramInfo() 835 LLVMContext &Ctx = MF.getFunction().getContext(); in getSIProgramInfo() 836 DiagnosticInfoResourceLimit Diag(MF.getFunction(), in getSIProgramInfo() [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/Target/Mips/ |
D | MipsCCState.cpp | 65 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()
|
/external/llvm/lib/Target/AMDGPU/ |
D | AMDGPUAsmPrinter.cpp | 279 switch (MF.getFunction()->getCallingConv()) { in EmitProgramInfoR600() 288 switch (MF.getFunction()->getCallingConv()) { in EmitProgramInfoR600() 303 if (AMDGPU::isCompute(MF.getFunction()->getCallingConv())) { in EmitProgramInfoR600() 471 LLVMContext &Ctx = MF.getFunction()->getContext(); in getSIProgramInfo() 472 DiagnosticInfoResourceLimit Diag(*MF.getFunction(), in getSIProgramInfo() 482 LLVMContext &Ctx = MF.getFunction()->getContext(); in getSIProgramInfo() 483 DiagnosticInfoResourceLimit Diag(*MF.getFunction(), "user SGPRs", in getSIProgramInfo() 489 LLVMContext &Ctx = MF.getFunction()->getContext(); in getSIProgramInfo() 490 DiagnosticInfoResourceLimit Diag(*MF.getFunction(), "local memory", in getSIProgramInfo() 583 unsigned RsrcReg = getRsrcReg(MF.getFunction()->getCallingConv()); in EmitProgramInfoSI() [all …]
|
/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()
|
/external/swiftshader/third_party/LLVM/lib/Analysis/ |
D | Trace.cpp | 25 Function *Trace::getFunction() const { in getFunction() function in Trace 30 return getFunction()->getParent(); in getModule() 36 Function *F = getFunction(); in print()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/ |
D | Trace.cpp | 28 Function *Trace::getFunction() const { in getFunction() function in Trace 33 return getFunction()->getParent(); in getModule() 38 Function *F = getFunction(); in print()
|
D | BlockFrequencyInfo.cpp | 105 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() 211 return BFI->getBlockProfileCount(*getFunction(), BB); in getBlockProfileCount() 218 return BFI->getProfileCountFromFreq(*getFunction(), Freq); in getProfileCountFromFreq() 259 const Function *BlockFrequencyInfo::getFunction() const { in getFunction() function in BlockFrequencyInfo 260 return BFI ? BFI->getFunction() : nullptr; in getFunction()
|
/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()
|
D | BlockFrequencyInfo.cpp | 68 return &G->getFunction()->front(); in getEntryNode() 77 return G->getFunction()->begin(); in nodes_begin() 80 return G->getFunction()->end(); in nodes_end() 162 return BFI->getBlockProfileCount(*getFunction(), BB); in getBlockProfileCount() 182 const Function *BlockFrequencyInfo::getFunction() const { in getFunction() function in BlockFrequencyInfo 183 return BFI ? BFI->getFunction() : nullptr; in getFunction()
|
D | CallGraph.cpp | 100 if (Function *F = Root->getFunction()) in print() 117 if (Function *LF = LHS->getFunction()) in print() 118 if (Function *RF = RHS->getFunction()) in print() 121 return RHS->getFunction() != nullptr; in print() 140 Function *F = CGN->getFunction(); // Get the function for the call graph node in removeFunctionFromModule() 180 if (Function *F = getFunction()) in print() 189 if (Function *FI = I.second->getFunction()) in print()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Mips/ |
D | MipsCCState.cpp | 78 Function *F = G->getGlobal()->getParent()->getFunction(Sym); in getSpecialCallingConvForCallee() 104 originalTypeIsF128(MF.getFunction().getReturnType(), nullptr)); in PreAnalyzeReturnForF128() 106 MF.getFunction().getReturnType()->isFloatingPointTy()); in PreAnalyzeReturnForF128() 152 Function::const_arg_iterator FuncArg = MF.getFunction().arg_begin(); in PreAnalyzeFormalArgumentsForF128() 164 assert(Ins[i].getOrigArgIndex() < MF.getFunction().arg_size()); in PreAnalyzeFormalArgumentsForF128()
|