/external/tensorflow/tensorflow/compiler/xla/service/ |
H A D | while_loop_simplifier.cc | 28 // Finds and returns the non-constant operand in instr. 30 // CHECK-fails if instr doesn't have exactly one unique non-constant operand. 33 for (const HloInstruction* operand : instr->operands()) { 34 if (!operand->IsConstant()) { 36 CHECK_EQ(result, operand); 38 result = operand; 82 for (const HloInstruction* operand : instr->operands()) { 83 if (operand->IsConstant()) { 86 if (operand->opcode() != HloOpcode::kGetTupleElement) { 88 << operand 377 auto* operand = while_body_root->operand(i); local [all...] |
H A D | batchnorm_expander.cc | 162 HloInstruction* operand = batch_norm->mutable_operand(0); local 163 const Shape operand_shape = operand->shape(); 206 operand_shape, HloOpcode::kMultiply, operand, operand)); 208 auto sum = add(HloInstruction::CreateReduce(feature_shape, operand, zero, 268 operand_shape, HloOpcode::kSubtract, operand, mean_broadcasted)); 310 HloInstruction* operand = batch_norm->mutable_operand(0); local 311 const Shape operand_shape = operand->shape(); 369 operand_shape, HloOpcode::kSubtract, operand, mean_broadcasted));
|
H A D | hlo_evaluator_test.cc | 237 // element-wise abs op with 1 operand. 239 auto operand = Literal::CreateR2<int64>({{1, -20}, {-100, 4}}); local 241 TestUnaryOp(HloOpcode::kAbs, std::move(expected), std::move(operand)); 244 auto operand = Literal::CreateR0<float>(-1.0f); local 246 TestUnaryOp(HloOpcode::kAbs, std::move(expected), std::move(operand)); 249 auto operand = Literal::CreateR1<float>({}); local 251 TestUnaryOp(HloOpcode::kAbs, std::move(expected), std::move(operand)); 254 auto operand = Literal::CreateR2<int32>( local 258 TestUnaryOp(HloOpcode::kNegate, std::move(expected), std::move(operand)); 261 auto operand local 267 auto operand = Literal::CreateR2<float>({{0, M_PI}, {-M_PI, 2 * M_PI}}); local 273 auto operand = local 471 auto operand = Literal::CreateR2<int32>({{}, {}}); local 1434 HloInstruction* operand = b.AddInstruction( local 1466 HloInstruction* operand = b.AddInstruction( local 1501 HloInstruction* operand = b.AddInstruction( local 1534 HloInstruction* operand = b.AddInstruction( local 1655 HloInstruction* operand = b.AddInstruction( local [all...] |
/external/tensorflow/tensorflow/compiler/xla/tests/ |
H A D | client_library_test_base.cc | 202 // Try out all layouts for the operand. 406 ComputationBuilder* builder, const ComputationDataHandle& operand, 408 auto status_or_data = ComputeValueAndReference(builder, operand, arguments); 419 ComputationBuilder* builder, const ComputationDataHandle& operand, 421 auto status_or_data = ComputeValueAndReference(builder, operand, arguments); 433 ComputationBuilder* builder, const ComputationDataHandle& operand, 453 builder->ComputeConstant(operand, /*output_layout=*/nullptr, arguments)); 405 ComputeAndCompare( ComputationBuilder* builder, const ComputationDataHandle& operand, tensorflow::gtl::ArraySlice<Literal> arguments) argument 418 ComputeAndCompare( ComputationBuilder* builder, const ComputationDataHandle& operand, tensorflow::gtl::ArraySlice<Literal> arguments, ErrorSpec error) argument 432 ComputeValueAndReference( ComputationBuilder* builder, const ComputationDataHandle& operand, tensorflow::gtl::ArraySlice<Literal> arguments) argument
|
H A D | conditional_test.cc | 215 auto operand = builder.ConstantR0<float>(12.6f); local 216 auto result = builder.Conditional(pred, operand, CreateR0CeilComputation(), 217 operand, CreateR0FloorComputation()); 240 auto operand = builder.ConstantR0<float>(12.6f); local 242 auto result = builder.Conditional(pred, operand, floor, operand, floor); 557 // Test a mismatch in the shape of the true operand and true computation.
|
/external/v8/src/compiler/ |
H A D | linkage.cc | 80 LinkageLocation operand = GetInputLocation(i); local 81 if (!operand.IsRegister()) { 83 -operand.GetLocation() + operand.GetSizeInPointers() - 1; 92 LinkageLocation operand = tail_caller->GetInputLocation(i); local 93 if (!operand.IsRegister()) { 95 -operand.GetLocation() + operand.GetSizeInPointers() - 1;
|
H A D | register-allocator-verifier.cc | 343 // For every operand coming from any of the predecessors, create an 358 InstructionOperand operand = pair.first; local 359 if (ret->map().find(operand) == ret->map().end()) { 361 operand, new (zone()) PendingAssessment(block, operand))); 375 // for the original operand (the one where the assessment was created for 388 InstructionOperand current_operand = current_assessment->operand(); 449 // available here. This is because this operand may be reused to 467 // If we have 2 phis with the exact same operand list, and the first phi is 468 // used before the second one, via the operand incomin [all...] |
H A D | register-allocator-verifier.h | 19 // sequence, and verifies the correctness of machine operand substitutions of 22 // completes, it compares the operand substitutions against the pre-allocation 26 // - when an operand is the output of an instruction, we associate it to the 29 // - when an operand is used in an instruction, we check that the assessment 31 // - moves simply copy the assessment over to the new operand 32 // - blocks with more than one predecessor associate to each operand a "Pending" 33 // assessment. The pending assessment remembers the operand and block where it 35 // operand, because of moves), we check that the virtual register at the use 36 // site matches the definition of this pending operand: either the phi inputs 38 // assessment was defined have that operand assigne 74 PendingAssessment(const InstructionBlock* origin, InstructionOperand operand) argument 84 InstructionOperand operand() const { return operand_; } function in class:v8::internal::compiler::final 133 Drop(InstructionOperand operand) argument 135 AddDefinition(InstructionOperand operand, int virtual_register) argument [all...] |
/external/annotation-tools/asmx/src/org/objectweb/asm/commons/ |
H A D | EmptyVisitor.java | 142 public void visitIntInsn(int opcode, int operand) { argument
|
/external/clang/lib/StaticAnalyzer/Core/ |
H A D | SValBuilder.cpp | 69 NonLoc SValBuilder::makeNonLoc(const SymExpr *operand, argument 71 assert(operand); 73 return nonloc::SymbolVal(SymMgr.getCastSymbol(operand, fromTy, toTy));
|
/external/desugar/java/com/google/devtools/build/android/desugar/ |
H A D | BytecodeTypeInference.java | 32 * Perform type inference for byte code (local variables and operand stack) with the help of stack 65 /** Returns the type of a value in the operand. 0 means the top of the stack. */ 338 public void visitIntInsn(int opcode, int operand) { argument 346 switch (operand) { 372 throw new RuntimeException("Unhandled operand value: " + operand); 378 super.visitIntInsn(opcode, operand); 607 // previous frame and that the operand stack is empty. 612 // previous frame and that the operand stack has one entry. 618 // that k additional locals are defined, and that the operand stac [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/ |
H A D | DecimalQuantity_AbstractBCD.java | 227 public double getPluralOperand(Operand operand) { argument 232 switch (operand) {
|
/external/icu/android_icu4j/src/main/tests/android/icu/impl/number/ |
H A D | DecimalQuantity_SimpleStorage.java | 575 public double getPluralOperand(Operand operand) { argument 577 return new PluralRules.FixedDecimal(toDouble()).getPluralOperand(operand);
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/ |
H A D | DecimalQuantity_AbstractBCD.java | 225 public double getPluralOperand(Operand operand) { argument 230 switch (operand) {
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/impl/number/ |
H A D | DecimalQuantity_SimpleStorage.java | 572 public double getPluralOperand(Operand operand) { argument 574 return new PluralRules.FixedDecimal(toDouble()).getPluralOperand(operand);
|
/external/jacoco/org.jacoco.core/src/org/jacoco/core/internal/analysis/ |
H A D | MethodAnalyzer.java | 222 public void visitIntInsn(final int opcode, final int operand) { argument
|
/external/llvm/lib/Target/X86/Disassembler/ |
H A D | X86Disassembler.cpp | 47 // 6. For each operand, its encoding is an entry from OperandEncoding 51 // been read. For example, a register operand could be stored in the R/M 244 /// register, and appends it as an operand to an MCInst. 260 /// tryAddingSymbolicOperand - trys to add a symbolic operand in place of the 274 /// an MCExpr and that is added as an operand to the MCInst. If getOpInfo() 278 /// if it adds an operand to the MCInst and false otherwise. 310 /// translateSrcIndex - Appends a source index operand to an MCInst. 334 /// translateDstIndex - Appends a destination index operand to an MCInst. 355 /// translateImmediate - Appends an immediate operand to an MCInst. 359 /// @param operand 361 translateImmediate(MCInst &mcInst, uint64_t immediate, const OperandSpecifier &operand, InternalInstruction &insn, const MCDisassembler *Dis) argument 890 translateRM(MCInst &mcInst, const OperandSpecifier &operand, InternalInstruction &insn, const MCDisassembler *Dis) argument 972 translateOperand(MCInst &mcInst, const OperandSpecifier &operand, InternalInstruction &insn, const MCDisassembler *Dis) argument [all...] |
/external/skia/src/core/ |
H A D | SkClipStack.cpp | 762 SkPath operand; local 764 element->asDeviceSpacePath(&operand); 769 *path = operand; 771 Op(*path, operand, (SkPathOp)elementOp, path);
|
/external/skia/src/pathops/ |
H A D | SkOpContour.h | 190 void init(SkOpGlobalState* globalState, bool operand, bool isXor) { argument 192 fOperand = operand; 265 bool operand() const { function in class:SkOpContour
|
H A D | SkPathOpsWinding.cpp | 277 bool operand = span ? hitSegment->operand() : false; local 279 SkDebugf("%s [%d] valid=%d operand=%d span=%d ccw=%d ", __FUNCTION__, index, 280 hit->fValid, operand, span ? span->debugID() : -1, ccw); 315 bool operand = hitSegment->operand(); local 316 if (operand) { 359 if (operand) {
|
/external/skqp/src/core/ |
H A D | SkClipStack.cpp | 762 SkPath operand; local 764 element->asDeviceSpacePath(&operand); 769 *path = operand; 771 Op(*path, operand, (SkPathOp)elementOp, path);
|
/external/skqp/src/pathops/ |
H A D | SkOpContour.h | 190 void init(SkOpGlobalState* globalState, bool operand, bool isXor) { argument 192 fOperand = operand; 265 bool operand() const { function in class:SkOpContour
|
H A D | SkPathOpsWinding.cpp | 277 bool operand = span ? hitSegment->operand() : false; local 279 SkDebugf("%s [%d] valid=%d operand=%d span=%d ccw=%d ", __FUNCTION__, index, 280 hit->fValid, operand, span ? span->debugID() : -1, ccw); 315 bool operand = hitSegment->operand(); local 316 if (operand) { 359 if (operand) {
|
/external/swiftshader/src/OpenGL/libGLES_CM/ |
H A D | utilities.cpp | 833 sw::TextureStage::ArgumentModifier ConvertSourceOperand(GLenum operand) argument 835 switch(operand) 841 default: UNREACHABLE(operand); return sw::TextureStage::MODIFIER_COLOR;
|
/external/tensorflow/tensorflow/compiler/xla/ |
H A D | reference_util.cc | 34 const Array2D<float>& operand) { 35 auto result = MakeUnique<Array2D<float>>(operand.width(), operand.height()); 36 for (int64 w = 0; w < operand.width(); ++w) { 37 for (int64 h = 0; h < operand.height(); ++h) { 38 (*result)(w, h) = operand(h, w); 193 const tensorflow::gtl::ArraySlice<float>& operand, float init, 197 std::vector<int64> dim_lengths{static_cast<int64>(operand.size())}; 199 operand, init, reduce_func, window, stride, 205 const tensorflow::gtl::ArraySlice<float>& operand, floa 33 TransposeArray2D( const Array2D<float>& operand) argument 192 ReduceWindow1DGeneric( const tensorflow::gtl::ArraySlice<float>& operand, float init, const std::function<float(float, float)>& reduce_func, const tensorflow::gtl::ArraySlice<int64>& window, const tensorflow::gtl::ArraySlice<int64>& stride, Padding padding) argument 204 ReduceWindow1DGeneric( const tensorflow::gtl::ArraySlice<float>& operand, float init, const std::function<float(float, float)>& reduce_func, const tensorflow::gtl::ArraySlice<int64>& window, const tensorflow::gtl::ArraySlice<int64>& stride, const tensorflow::gtl::ArraySlice<std::pair<int64, int64>>& padding) argument 237 ReduceWindow1DAdd( const tensorflow::gtl::ArraySlice<float>& operand, float init, const tensorflow::gtl::ArraySlice<int64>& window, const tensorflow::gtl::ArraySlice<int64>& stride, Padding padding) argument 246 ReduceWindow2DAdd( const Array2D<float>& operand, float init, const tensorflow::gtl::ArraySlice<int64>& window, const tensorflow::gtl::ArraySlice<int64>& stride, Padding padding) argument 284 ReduceWindow3DAdd( const Array3D<float>& operand, float init, const tensorflow::gtl::ArraySlice<int64>& window, const tensorflow::gtl::ArraySlice<int64>& stride, Padding padding) argument 330 ReduceWindow4DGeneric( const Array4D<float>& operand, float init, const std::function<float(float, float)>& reduce_func, const tensorflow::gtl::ArraySlice<int64>& window, const tensorflow::gtl::ArraySlice<int64>& stride, Padding padding) argument 343 ReduceWindow4DGeneric( const Array4D<float>& operand, float init, const std::function<float(float, float)>& reduce_func, const tensorflow::gtl::ArraySlice<int64>& window, const tensorflow::gtl::ArraySlice<int64>& stride, const tensorflow::gtl::ArraySlice<std::pair<int64, int64>>& padding) argument 399 ReduceWindow4DAdd( const Array4D<float>& operand, float init, const tensorflow::gtl::ArraySlice<int64>& window, const tensorflow::gtl::ArraySlice<int64>& stride, Padding padding) argument 423 SelectAndScatter4DGePlus( const Array4D<float>& operand, const Array4D<float>& source, float init, const tensorflow::gtl::ArraySlice<int64>& window, const tensorflow::gtl::ArraySlice<int64>& stride, bool same_padding) argument [all...] |