/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/v8/src/js/ |
D | array.js | 1520 function getFunction(name, jsBuiltin, len) { function 1534 "entries": getFunction("entries", null, 0), 1535 "forEach": getFunction("forEach", ArrayForEach, 1), 1536 "keys": getFunction("keys", null, 0), 1537 "values": getFunction("values", null, 0) 1545 "toString", getFunction("toString", ArrayToString), 1546 "toLocaleString", getFunction("toLocaleString", ArrayToLocaleString), 1547 "join", getFunction("join", ArrayJoin), 1548 "pop", getFunction("pop", ArrayPop), 1549 "push", getFunction("push", ArrayPush, 1), [all …]
|
/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/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/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/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/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/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/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/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/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/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()
|
D | CallGraphSCCPass.cpp | 147 if (Function *F = CGN->getFunction()) { in RunPassOnSCC() 196 Function *F = CGN->getFunction(); in RefreshCallGraph() 229 if (!I->second->getFunction()) in RefreshCallGraph() 283 if (ExistingNode->getFunction() == CS.getCalledFunction()) in RefreshCallGraph() 292 ExistingNode->getFunction() == nullptr) in RefreshCallGraph() 305 if (!ExistingNode->getFunction()) { in RefreshCallGraph() 616 if (CGN->getFunction()) { in runOnSCC() 617 if (isFunctionInPrintList(CGN->getFunction()->getName())) in runOnSCC() 618 CGN->getFunction()->print(Out); in runOnSCC()
|
/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 …]
|
D | AMDGPUMachineFunction.cpp | 15 IsKernel(MF.getFunction()->getCallingConv() == llvm::CallingConv::AMDGPU_KERNEL || in AMDGPUMachineFunction() 16 MF.getFunction()->getCallingConv() == llvm::CallingConv::SPIR_KERNEL) in AMDGPUMachineFunction()
|
/external/swiftshader/third_party/LLVM/lib/Transforms/IPO/ |
D | FunctionAttrs.cpp | 92 SCCNodes.insert((*I)->getFunction()); in AddReadAttrs() 98 Function *F = (*I)->getFunction(); in AddReadAttrs() 201 Function *F = (*I)->getFunction(); in AddReadAttrs() 235 Function *F = (*I)->getFunction(); in AddNoCaptureAttrs() 330 SCCNodes.insert((*I)->getFunction()); in AddNoAliasAttrs() 335 Function *F = (*I)->getFunction(); in AddNoAliasAttrs() 361 Function *F = (*I)->getFunction(); in AddNoAliasAttrs()
|
/external/swiftshader/third_party/LLVM/lib/ExecutionEngine/JIT/ |
D | JITEmitter.cpp | 752 const LLVMContext &Context = EmissionDetails.MF->getFunction()->getContext(); in processDebugLoc() 782 << F.getFunction()->getName() << "\n"); in startFunction() 793 BufferBegin = CurBufferPtr = MemMgr->startFunctionBody(F.getFunction(), in startFunction() 796 EmittedFunctions[F.getFunction()].FunctionBody = BufferBegin; in startFunction() 806 emitAlignment(std::max(F.getFunction()->getAlignment(), 8U)); in startFunction() 807 TheJIT->updateGlobalMapping(F.getFunction(), CurBufferPtr); in startFunction() 808 EmittedFunctions[F.getFunction()].Code = CurBufferPtr; in startFunction() 820 MemMgr->endFunctionBody(F.getFunction(), BufferBegin, CurBufferPtr); in finishFunction() 831 (uint8_t *)TheJIT->getPointerToGlobalIfAvailable(F.getFunction()); in finishFunction() 837 CurFn = F.getFunction(); in finishFunction() [all …]
|
/external/swiftshader/third_party/LLVM/unittests/ExecutionEngine/JIT/ |
D | JITTest.cpp | 427 Function *func = M->getFunction("main"); in TEST_F() 492 Function *foo = M->getFunction("foo"); in TEST_F() 501 Function *func = M->getFunction("main"); in TEST_F() 504 Function *bar = M->getFunction("bar"); in TEST_F() 520 Function *F_get_foo_addr = M->getFunction("get_foo_addr"); in TEST_F() 538 Function *F_foo = M->getFunction("foo"); in TEST_F() 597 Function *loaderIR = M->getFunction("loader"); in TEST_F() 628 Function *funcIR = M->getFunction("func"); in TEST_F() 648 Function *get_stubIR = M->getFunction("get_stub"); in TEST_F() 723 Function *funcIR = M->getFunction("func"); in TEST() [all …]
|
/external/llvm/lib/Target/AArch64/ |
D | AArch64RegisterInfo.cpp | 43 if (MF->getFunction()->getCallingConv() == CallingConv::GHC) in getCalleeSavedRegs() 47 if (MF->getFunction()->getCallingConv() == CallingConv::AnyReg) in getCalleeSavedRegs() 49 if (MF->getFunction()->getCallingConv() == CallingConv::CXX_FAST_TLS) in getCalleeSavedRegs() 55 MF->getFunction()->getAttributes().hasAttrSomewhere( in getCalleeSavedRegs() 58 if (MF->getFunction()->getCallingConv() == CallingConv::PreserveMost) in getCalleeSavedRegs() 67 if (MF->getFunction()->getCallingConv() == CallingConv::CXX_FAST_TLS && in getCalleeSavedRegsViaCopy() 85 MF.getFunction()->getAttributes().hasAttrSomewhere(Attribute::SwiftError)) in getCallPreservedMask()
|
/external/swiftshader/third_party/LLVM/lib/Analysis/IPA/ |
D | GlobalsModRef.cpp | 377 if (!SCC[0]->getFunction()) { in AnalyzeCallGraph() 381 FunctionInfo.erase(SCC[i]->getFunction()); in AnalyzeCallGraph() 385 FunctionRecord &FR = FunctionInfo[SCC[0]->getFunction()]; in AnalyzeCallGraph() 393 Function *F = SCC[i]->getFunction(); in AnalyzeCallGraph() 420 if (Function *Callee = CI->second->getFunction()) { in AnalyzeCallGraph() 447 FunctionInfo.erase(SCC[i]->getFunction()); in AnalyzeCallGraph() 453 for (inst_iterator II = inst_begin(SCC[i]->getFunction()), in AnalyzeCallGraph() 454 E = inst_end(SCC[i]->getFunction()); in AnalyzeCallGraph() 481 FunctionInfo[SCC[i]->getFunction()] = FR; in AnalyzeCallGraph()
|
/external/spirv-llvm/lib/SPIRV/ |
D | SPIRVLowerOCLBlocks.cpp | 115 erase(M->getFunction(SPIR_INTRINSIC_GET_BLOCK_INVOKE)); in runOnModule() 116 erase(M->getFunction(SPIR_INTRINSIC_GET_BLOCK_CONTEXT)); in runOnModule() 117 erase(M->getFunction(SPIR_INTRINSIC_BLOCK_BIND)); in runOnModule() 130 auto F = M->getFunction(SPIR_INTRINSIC_BLOCK_BIND); in lowerBlockBind() 172 if (auto F = M->getFunction(SPIR_INTRINSIC_GET_BLOCK_INVOKE)) { in lowerGetBlockInvoke() 183 if (auto F = M->getFunction(SPIR_INTRINSIC_GET_BLOCK_CONTEXT)) { in lowerGetBlockContext() 453 dumpUsers(M->getFunction(SPIR_INTRINSIC_GET_BLOCK_INVOKE)); in dumpGetBlockInvokeUsers()
|