Home
last modified time | relevance | path

Searched refs:StackOp (Results 1 – 7 of 7) sorted by relevance

/external/tensorflow/tensorflow/core/kernels/
Dstack_ops.cc43 REGISTER_KERNEL_BUILDER(Name("Stack").Device(DEVICE_CPU), StackOp);
45 Name("Stack").Device(DEVICE_DEFAULT).HostMemory("handle"), StackOp);
47 REGISTER_KERNEL_BUILDER(Name("StackV2").Device(DEVICE_CPU), StackOp);
52 StackOp);
Dstack.h29 class StackOp : public OpKernel {
31 explicit StackOp(OpKernelConstruction* context);
38 TF_DISALLOW_COPY_AND_ASSIGN(StackOp);
Dstack.cc108 friend class StackOp;
158 StackOp::StackOp(OpKernelConstruction* context) : OpKernel(context) { in StackOp() function in tensorflow::StackOp
164 void StackOp::Compute(OpKernelContext* ctx) { in Compute()
/external/tensorflow/tensorflow/compiler/tf2xla/kernels/
Dstack_ops.cc91 class StackOp : public XlaOpKernel { class
93 explicit StackOp(OpKernelConstruction* ctx) : XlaOpKernel(ctx) { in StackOp() function in tensorflow::__anonf6a314e40111::StackOp
120 TF_DISALLOW_COPY_AND_ASSIGN(StackOp);
125 StackOp);
/external/llvm/lib/Target/X86/AsmParser/
DX86AsmParser.cpp118 InfixCalculatorTok StackOp = InfixOperatorStack[Idx]; in pushOperator() local
119 if (OpPrecedence[Op] > OpPrecedence[StackOp] || StackOp == IC_LPAREN) { in pushOperator()
133 StackOp = InfixOperatorStack[Idx]; in pushOperator()
134 if (!(OpPrecedence[StackOp] >= OpPrecedence[Op] || ParenCount)) in pushOperator()
139 if (!ParenCount && StackOp == IC_LPAREN) in pushOperator()
142 if (StackOp == IC_RPAREN) { in pushOperator()
145 } else if (StackOp == IC_LPAREN) { in pushOperator()
150 PostfixStack.push_back(std::make_pair(StackOp, 0)); in pushOperator()
160 InfixCalculatorTok StackOp = InfixOperatorStack.pop_back_val(); in execute() local
161 if (StackOp != IC_LPAREN && StackOp != IC_RPAREN) in execute()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/AsmParser/
DX86AsmParser.cpp174 InfixCalculatorTok StackOp = InfixOperatorStack[Idx]; in pushOperator() local
175 if (OpPrecedence[Op] > OpPrecedence[StackOp] || StackOp == IC_LPAREN) { in pushOperator()
189 StackOp = InfixOperatorStack[Idx]; in pushOperator()
190 if (!(OpPrecedence[StackOp] >= OpPrecedence[Op] || ParenCount)) in pushOperator()
195 if (!ParenCount && StackOp == IC_LPAREN) in pushOperator()
198 if (StackOp == IC_RPAREN) { in pushOperator()
201 } else if (StackOp == IC_LPAREN) { in pushOperator()
206 PostfixStack.push_back(std::make_pair(StackOp, 0)); in pushOperator()
216 InfixCalculatorTok StackOp = InfixOperatorStack.pop_back_val(); in execute() local
217 if (StackOp != IC_LPAREN && StackOp != IC_RPAREN) in execute()
[all …]
/external/llvm-project/llvm/lib/Target/X86/AsmParser/
DX86AsmParser.cpp210 InfixCalculatorTok StackOp = InfixOperatorStack[Idx]; in pushOperator() local
211 if (OpPrecedence[Op] > OpPrecedence[StackOp] || StackOp == IC_LPAREN) { in pushOperator()
225 StackOp = InfixOperatorStack[Idx]; in pushOperator()
226 if (!(OpPrecedence[StackOp] >= OpPrecedence[Op] || ParenCount)) in pushOperator()
231 if (!ParenCount && StackOp == IC_LPAREN) in pushOperator()
234 if (StackOp == IC_RPAREN) { in pushOperator()
237 } else if (StackOp == IC_LPAREN) { in pushOperator()
242 PostfixStack.push_back(std::make_pair(StackOp, 0)); in pushOperator()
252 InfixCalculatorTok StackOp = InfixOperatorStack.pop_back_val(); in execute() local
253 if (StackOp != IC_LPAREN && StackOp != IC_RPAREN) in execute()
[all …]