Home
last modified time | relevance | path

Searched refs:Func (Results 1 – 25 of 1028) sorted by relevance

12345678910>>...42

/external/swiftshader/third_party/subzero/src/
DIceInstMIPS32.cpp46 OperandMIPS32Mem::OperandMIPS32Mem(Cfg *Func, Type Ty, Variable *Base, in OperandMIPS32Mem() argument
50 (void)Func; in OperandMIPS32Mem()
155 template <> void InstMIPS32Lui::emit(const Cfg *Func) const { in emit()
158 Ostream &Str = Func->getContext()->getStrEmit(); in emit()
161 getDest()->emit(Func); in emit()
167 CR->emitWithoutPrefix(Func->getTarget()); in emit()
170 Src0->emit(Func); in emit()
174 InstMIPS32Br::InstMIPS32Br(Cfg *Func, const CfgNode *TargetTrue, in InstMIPS32Br() argument
177 : InstMIPS32(Func, InstMIPS32::Br, 0, nullptr), TargetTrue(TargetTrue), in InstMIPS32Br()
180 InstMIPS32Br::InstMIPS32Br(Cfg *Func, const CfgNode *TargetTrue, in InstMIPS32Br() argument
[all …]
DIceInstMIPS32.h81 static OperandMIPS32FCC *create(Cfg *Func, OperandMIPS32FCC::FCC FCC) { in create() argument
82 return new (Func->allocate<OperandMIPS32FCC>()) OperandMIPS32FCC(FCC); in create()
87 void emit(const Cfg *Func) const override { in emit() argument
90 Ostream &Str = Func->getContext()->getStrEmit(); in emit()
98 void dump(const Cfg *Func, Ostream &Str) const override { in dump() argument
101 (void)Func; in dump()
129 static OperandMIPS32Mem *create(Cfg *Func, Type Ty, Variable *Base,
131 return new (Func->allocate<OperandMIPS32Mem>())
132 OperandMIPS32Mem(Func, Ty, Base, ImmOffset, Mode);
139 void emit(const Cfg *Func) const override;
[all …]
DIceInstARM32.h105 static OperandARM32Mem *create(Cfg *Func, Type Ty, Variable *Base,
108 return new (Func->allocate<OperandARM32Mem>())
109 OperandARM32Mem(Func, Ty, Base, ImmOffset, Mode);
113 static OperandARM32Mem *create(Cfg *Func, Type Ty, Variable *Base,
117 return new (Func->allocate<OperandARM32Mem>())
118 OperandARM32Mem(Func, Ty, Base, Index, ShiftOp, ShiftAmt, Mode);
137 void emit(const Cfg *Func) const override;
139 void dump(const Cfg *Func, Ostream &Str) const override;
152 OperandARM32Mem(Cfg *Func, Type Ty, Variable *Base,
154 OperandARM32Mem(Cfg *Func, Type Ty, Variable *Base, Variable *Index,
[all …]
DIceInst.cpp71 Inst::Inst(Cfg *Func, InstKind Kind, SizeT MaxSrcs, Variable *Dest) in Inst() argument
72 : Kind(Kind), Number(Func->newInstNumber()), Dest(Dest), MaxSrcs(MaxSrcs), in Inst()
119 void Inst::renumber(Cfg *Func) { in renumber() argument
120 Number = isDeleted() ? NumberDeleted : Func->newInstNumber(); in renumber()
191 void Inst::livenessLightweight(Cfg *Func, LivenessBV &Live) { in livenessLightweight() argument
194 VariablesMetadata *VMetadata = Func->getVMetadata(); in livenessLightweight()
265 InstAlloca::InstAlloca(Cfg *Func, Variable *Dest, Operand *ByteCount, in InstAlloca() argument
267 : InstHighLevel(Func, Inst::Alloca, 1, Dest), AlignInBytes(AlignInBytes) { in InstAlloca()
273 InstArithmetic::InstArithmetic(Cfg *Func, OpKind Op, Variable *Dest, in InstArithmetic() argument
275 : InstHighLevel(Func, Inst::Arithmetic, 2, Dest), Op(Op) { in InstArithmetic()
[all …]
DIceInstX86Base.h208 void dump(const Cfg *Func) const override;
211 void emitTwoAddress(const Cfg *Func, const char *Opcode,
214 static TargetLowering *getTarget(const Cfg *Func) { in getTarget()
215 return static_cast<TargetLowering *>(Func->getTarget()); in getTarget()
219 InstX86Base(Cfg *Func, InstKindX86 Kind, SizeT Maxsrcs, Variable *Dest) in InstX86Base()
220 : InstTarget(Func, static_cast<InstKind>(Kind), Maxsrcs, Dest) {} in InstX86Base()
262 static InstX86FakeRMW *create(Cfg *Func, Operand *Data, Operand *Addr,
267 return new (Func->allocate<InstX86FakeRMW>())
268 InstX86FakeRMW(Func, Data, Addr, Op, Beacon);
276 void dump(const Cfg *Func) const override;
[all …]
DIceInstARM32.cpp115 void InstARM32::startNextInst(const Cfg *Func) const { in startNextInst()
116 if (auto *Asm = Func->getAssembler<ARM32::AssemblerARM32>()) in startNextInst()
120 void InstARM32::emitUsingTextFixup(const Cfg *Func) const { in emitUsingTextFixup()
123 GlobalContext *Ctx = Func->getContext(); in emitUsingTextFixup()
124 auto *Asm = Func->getAssembler<ARM32::AssemblerARM32>(); in emitUsingTextFixup()
140 emit(Func); in emitUsingTextFixup()
155 void InstARM32::emitIAS(const Cfg *Func) const { emitUsingTextFixup(Func); } in emitIAS()
158 const InstARM32Pred *Instr, const Cfg *Func, in emitUnaryopGPR() argument
160 Ostream &Str = Func->getContext()->getStrEmit(); in emitUnaryopGPR()
167 Instr->getDest()->emit(Func); in emitUnaryopGPR()
[all …]
DIceInstX86BaseImpl.h50 InstImpl<TraitsType>::InstX86FakeRMW::InstX86FakeRMW(Cfg *Func, Operand *Data, in InstX86FakeRMW() argument
54 : InstX86Base(Func, InstX86Base::FakeRMW, 3, nullptr), Op(Op) { in InstX86FakeRMW()
61 InstImpl<TraitsType>::InstX86GetIP::InstX86GetIP(Cfg *Func, Variable *Dest) in InstX86GetIP() argument
62 : InstX86Base(Func, InstX86Base::GetIP, 0, Dest) {} in InstX86GetIP()
65 InstImpl<TraitsType>::InstX86Mul::InstX86Mul(Cfg *Func, Variable *Dest, in InstX86Mul() argument
68 : InstX86Base(Func, InstX86Base::Mul, 2, Dest) { in InstX86Mul()
74 InstImpl<TraitsType>::InstX86Shld::InstX86Shld(Cfg *Func, Variable *Dest, in InstX86Shld() argument
77 : InstX86Base(Func, InstX86Base::Shld, 3, Dest) { in InstX86Shld()
84 InstImpl<TraitsType>::InstX86Shrd::InstX86Shrd(Cfg *Func, Variable *Dest, in InstX86Shrd() argument
87 : InstX86Base(Func, InstX86Base::Shrd, 3, Dest) { in InstX86Shrd()
[all …]
DIceInst.h86 void renumber(Cfg *Func);
166 void livenessLightweight(Cfg *Func, LivenessBV &Live);
189 virtual void emitIAS(const Cfg *Func) const { emit(Func); } in emitIAS() argument
190 virtual void dump(const Cfg *Func) const;
191 virtual void dumpExtras(const Cfg *Func) const;
192 void dumpDecorated(const Cfg *Func) const;
193 void emitSources(const Cfg *Func) const;
194 void dumpSources(const Cfg *Func) const;
195 void dumpDest(const Cfg *Func) const;
211 Inst(Cfg *Func, InstKind Kind, SizeT MaxSrcs, Variable *Dest);
[all …]
DWasmTranslator.cpp264 explicit IceBuilder(class Cfg *Func) in IceBuilder() argument
265 : ControlPtr(nullptr), Func(Func), Ctx(Func->getContext()) {} in IceBuilder()
270 return Func->allocateArrayOf<Node>(Count); in Buffer()
276 auto *Entry = Func->getEntryNode(); in Start()
286 Entry->appendInst(InstLoad::create(Func, WasmMemoryV, WasmMemoryPtr)); in Start()
295 Func->addArg(Arg); in Param()
301 auto *Loop = Func->makeNode(); in Loop()
303 Entry->appendInst(InstBr::create(Func, Loop)); in Loop()
318 auto *MergedNode = Func->makeNode(); in Merge()
322 Control->appendInst(InstBr::create(Func, MergedNode)); in Merge()
[all …]
DIceCfgNode.cpp45 Func->setError("Phi instruction added to the middle of a block"); in appendInst()
71 template <typename List> void removeDeletedAndRenumber(List *L, Cfg *Func) { in removeDeletedAndRenumber() argument
79 I->renumber(Func); in removeDeletedAndRenumber()
86 InstNumberT FirstNumber = Func->getNextInstNumber(); in renumberInstructions()
87 removeDeletedAndRenumber(&Phis, Func); in renumberInstructions()
88 removeDeletedAndRenumber(&Insts, Func); in renumberInstructions()
89 InstCountEstimate = Func->getNextInstNumber() - FirstNumber; in renumberInstructions()
168 Insts.insert(Insts.begin(), Phi->lower(Func)); in placePhiLoads()
264 auto *NewInst = InstAssign::create(Func, Dest, Operand); in placePhiStores()
287 CfgNode *NewNode = Func->makeNode(); in splitIncomingEdge()
[all …]
/external/OpenCL-CTS/test_conformance/math_brute_force/
Dtest_functions.h22 int TestFunc_Float_Float(const Func *f, MTdata, bool relaxedMode);
25 int TestFunc_Double_Double(const Func *f, MTdata, bool relaxedMode);
28 int TestFunc_Int_Float(const Func *f, MTdata, bool relaxedMode);
31 int TestFunc_Int_Double(const Func *f, MTdata, bool relaxedMode);
34 int TestFunc_Float_UInt(const Func *f, MTdata, bool relaxedMode);
37 int TestFunc_Double_ULong(const Func *f, MTdata, bool relaxedMode);
41 int TestMacro_Int_Float(const Func *f, MTdata, bool relaxedMode);
45 int TestMacro_Int_Double(const Func *f, MTdata, bool relaxedMode);
48 int TestFunc_Float_Float_Float(const Func *f, MTdata, bool relaxedMode);
51 int TestFunc_Double_Double_Double(const Func *f, MTdata, bool relaxedMode);
[all …]
/external/llvm-project/clang/test/Profile/Inputs/
Dcxx-hash-v2.proftext2 # Func Hash:
11 # Func Hash:
20 # Func Hash:
29 # Func Hash:
38 # Func Hash:
48 # Func Hash:
60 # Func Hash:
72 # Func Hash:
81 # Func Hash:
91 # Func Hash:
[all …]
/external/oboe/samples/RhythmGame/third_party/glm/detail/
D_vectorize.hpp20 GLM_FUNC_QUALIFIER static tvec1<R, P> call(R (*Func) (T x), tvec1<T, P> const & v) in call()
22 return tvec1<R, P>(Func(v.x)); in call()
29 GLM_FUNC_QUALIFIER static tvec2<R, P> call(R (*Func) (T x), tvec2<T, P> const & v) in call()
31 return tvec2<R, P>(Func(v.x), Func(v.y)); in call()
38 GLM_FUNC_QUALIFIER static tvec3<R, P> call(R (*Func) (T x), tvec3<T, P> const & v) in call()
40 return tvec3<R, P>(Func(v.x), Func(v.y), Func(v.z)); in call()
47 GLM_FUNC_QUALIFIER static tvec4<R, P> call(R (*Func) (T x), tvec4<T, P> const & v) in call()
49 return tvec4<R, P>(Func(v.x), Func(v.y), Func(v.z), Func(v.w)); in call()
59 …GLM_FUNC_QUALIFIER static tvec1<T, P> call(T (*Func) (T x, T y), tvec1<T, P> const & a, tvec1<T, P… in call()
61 return tvec1<T, P>(Func(a.x, b.x)); in call()
[all …]
/external/llvm-project/llvm/unittests/Transforms/Utils/
DCodeExtractorTest.cpp57 Function *Func = M->getFunction("foo"); in TEST() local
58 SmallVector<BasicBlock *, 3> Candidates{ getBlockByName(Func, "header"), in TEST()
59 getBlockByName(Func, "body1"), in TEST()
60 getBlockByName(Func, "body2") }; in TEST()
65 CodeExtractorAnalysisCache CEAC(*Func); in TEST()
68 BasicBlock *Exit = getBlockByName(Func, "notExtracted"); in TEST()
77 EXPECT_FALSE(verifyFunction(*Func)); in TEST()
107 Function *Func = M->getFunction("foo"); in TEST() local
109 getBlockByName(Func, "extracted1"), in TEST()
110 getBlockByName(Func, "extracted2") in TEST()
[all …]
/external/mdnsresponder/mDNSWindows/DLLStub/
DDLLStub.cpp86 typedef int (DNSSD_API * Func)(DNSServiceRef sdRef); in DNSServiceRefSockFD() typedef
87 static Func func = NULL; in DNSServiceRefSockFD()
102 typedef DNSServiceErrorType (DNSSD_API * Func)(DNSServiceRef sdRef); in DNSServiceProcessResult() typedef
103 static Func func = NULL; in DNSServiceProcessResult()
118 typedef void (DNSSD_API * Func)(DNSServiceRef sdRef); in DNSServiceRefDeallocate() typedef
119 static Func func = NULL; in DNSServiceRefDeallocate()
138 …typedef DNSServiceErrorType (DNSSD_API * Func)(DNSServiceRef*, DNSServiceFlags, uint32_t, DNSServi… in DNSServiceEnumerateDomains() typedef
139 static Func func = NULL; in DNSServiceEnumerateDomains()
168 …typedef DNSServiceErrorType (DNSSD_API * Func)(DNSServiceRef*, DNSServiceFlags, uint32_t, const ch… in DNSServiceRegister() typedef
169 static Func func = NULL; in DNSServiceRegister()
[all …]
/external/llvm-project/llvm/test/Transforms/PGOProfile/Inputs/
Dcspgo.proftext4 # Func Hash:
13 # Func Hash:
22 # Func Hash:
30 # Func Hash:
38 # Func Hash:
47 # Func Hash:
56 # Func Hash:
73 # Func Hash:
82 # Func Hash:
94 # Func Hash:
[all …]
/external/eigen/Eigen/src/Core/
DRedux.h26 template<typename Func, typename Derived>
40 && (functor_traits<Func>::PacketAccess),
55 …CompileTime * Derived::CoeffReadCost + (Derived::SizeAtCompileTime-1) * functor_traits<Func>::Cost,
90 template<typename Func, typename Derived, int Start, int Length>
100 static EIGEN_STRONG_INLINE Scalar run(const Derived &mat, const Func& func) in run()
102 return func(redux_novec_unroller<Func, Derived, Start, HalfLength>::run(mat,func), in run()
103 … redux_novec_unroller<Func, Derived, Start+HalfLength, Length-HalfLength>::run(mat,func)); in run()
107 template<typename Func, typename Derived, int Start>
108 struct redux_novec_unroller<Func, Derived, Start, 1>
118 static EIGEN_STRONG_INLINE Scalar run(const Derived &mat, const Func&)
[all …]
/external/llvm-project/llvm/lib/Target/PowerPC/
DPPCLowerMASSVEntries.cpp56 static std::string createMASSVFuncName(Function &Func,
58 bool handlePowSpecialCases(CallInst *CI, Function &Func, Module &M);
59 bool lowerMASSVCall(CallInst *CI, Function &Func, Module &M,
92 PPCLowerMASSVEntries::createMASSVFuncName(Function &Func, in createMASSVFuncName() argument
95 auto GenericName = Func.getName().drop_back(MASSVSuffixLength).str(); in createMASSVFuncName()
102 bool PPCLowerMASSVEntries::handlePowSpecialCases(CallInst *CI, Function &Func, in handlePowSpecialCases() argument
104 if (Func.getName() != "__powf4_massv" && Func.getName() != "__powd2_massv") in handlePowSpecialCases()
131 bool PPCLowerMASSVEntries::lowerMASSVCall(CallInst *CI, Function &Func, in lowerMASSVCall() argument
138 if (handlePowSpecialCases(CI, Func, M)) in lowerMASSVCall()
141 std::string MASSVEntryName = createMASSVFuncName(Func, Subtarget); in lowerMASSVCall()
[all …]
/external/protobuf/src/google/protobuf/
Drepeated_field_reflection_unittest.cc53 static int Func(int i, int j) { return i * j; } in Func() function
57 SStringPrintf(&str, "%d", Func(i, 4)); in StrFunc()
67 message.add_repeated_int32(Func(i, 1)); in TEST()
68 message.add_repeated_double(Func(i, 2)); in TEST()
70 message.add_repeated_foreign_message()->set_c(Func(i, 6)); in TEST()
117 EXPECT_EQ(rf_int32.Get(i), Func(i, 1)); in TEST()
118 EXPECT_EQ(rf_double.Get(i), Func(i, 2)); in TEST()
120 EXPECT_EQ(rpf_foreign_message.Get(i).c(), Func(i, 6)); in TEST()
122 Func(i, 6)); in TEST()
125 EXPECT_EQ(mrf_int32->Get(i), Func(i, 1)); in TEST()
[all …]
/external/llvm-project/llvm/test/tools/llvm-profdata/Inputs/
Dmultiple-profdata-merge.proftext4 # Func Hash:
15 # Func Hash:
28 # Func Hash:
38 # Func Hash:
51 # Func Hash:
59 # Func Hash:
67 # Func Hash:
75 # Func Hash:
83 # Func Hash:
91 # Func Hash:
[all …]
/external/llvm-project/clang/lib/AST/Interp/
DInterpFrame.cpp20 InterpFrame::InterpFrame(InterpState &S, Function *Func, InterpFrame *Caller, in InterpFrame() argument
22 : Caller(Caller), S(S), Func(Func), This(std::move(This)), RetPC(RetPC), in InterpFrame()
23 ArgSize(Func ? Func->getArgSize() : 0), in InterpFrame()
25 if (Func) { in InterpFrame()
26 if (unsigned FrameSize = Func->getFrameSize()) { in InterpFrame()
28 for (auto &Scope : Func->scopes()) { in InterpFrame()
39 if (Func && Func->isConstructor() && This.isBaseClass()) in ~InterpFrame()
46 for (auto &Local : Func->getScope(Idx).locals()) { in destroy()
52 for (PrimType Ty : Func->args_reverse()) in popArgs()
120 unsigned Off = Func->hasRVO() ? primSize(PT_Ptr) : 0; in describe()
[all …]
/external/llvm-project/llvm/lib/Target/AMDGPU/
DAMDGPUHSAMetadataStreamer.cpp251 void MetadataStreamerV2::emitKernelLanguage(const Function &Func) { in emitKernelLanguage() argument
255 auto Node = Func.getParent()->getNamedMetadata("opencl.ocl.version"); in emitKernelLanguage()
269 void MetadataStreamerV2::emitKernelAttrs(const Function &Func) { in emitKernelAttrs() argument
272 if (auto Node = Func.getMetadata("reqd_work_group_size")) in emitKernelAttrs()
274 if (auto Node = Func.getMetadata("work_group_size_hint")) in emitKernelAttrs()
276 if (auto Node = Func.getMetadata("vec_type_hint")) { in emitKernelAttrs()
281 if (Func.hasFnAttribute("runtime-handle")) { in emitKernelAttrs()
283 Func.getFnAttribute("runtime-handle").getValueAsString().str(); in emitKernelAttrs()
287 void MetadataStreamerV2::emitKernelArgs(const Function &Func) { in emitKernelArgs() argument
288 for (auto &Arg : Func.args()) in emitKernelArgs()
[all …]
/external/llvm/include/llvm/ExecutionEngine/Orc/
DRPCUtils.h188 template <typename ChannelT, typename SequenceNumberT, typename Func>
207 template <typename ChannelT, typename SequenceNumberT, typename Func>
221 typedef FunctionHelper<FunctionIdT, FuncId, RetT(ArgTs...)> Func; typedef
244 return Func::template respond<ChannelT, SequenceNumberT>(C, SeqNo, in readAndHandle()
382 template <typename Func>
383 using AsyncCallResult = std::future<typename Func::OptionalReturn>;
386 template <typename Func>
388 std::pair<std::future<typename Func::OptionalReturn>, SequenceNumberT>;
400 template <typename Func, typename... ArgTs>
401 Expected<AsyncCallWithSeqResult<Func>>
[all …]
/external/llvm-project/libcxx/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/
Dcopy_assign.pass.cpp96 typedef std::function<int()> Func; in main() typedef
97 Func f = g0; in main()
98 Func& fr = (f = (Func &)f); in main()
103 typedef std::function<int(int)> Func; in main() typedef
104 Func f = g; in main()
105 Func& fr = (f = (Func &)f); in main()
110 typedef std::function<int(int, int)> Func; in main() typedef
111 Func f = g2; in main()
112 Func& fr = (f = (Func &)f); in main()
117 typedef std::function<int(int, int, int)> Func; in main() typedef
[all …]
/external/libcxx/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/
Dcopy_assign.pass.cpp93 typedef std::function<int()> Func; in main() typedef
94 Func f = g0; in main()
95 Func& fr = (f = (Func &)f); in main()
100 typedef std::function<int(int)> Func; in main() typedef
101 Func f = g; in main()
102 Func& fr = (f = (Func &)f); in main()
107 typedef std::function<int(int, int)> Func; in main() typedef
108 Func f = g2; in main()
109 Func& fr = (f = (Func &)f); in main()
114 typedef std::function<int(int, int, int)> Func; in main() typedef
[all …]

12345678910>>...42