Home
last modified time | relevance | path

Searched refs:target_array (Results 1 – 16 of 16) sorted by relevance

/external/ltp/testcases/cve/
Dmeltdown.c42 static char target_array[BITS_BY_READ * TARGET_SIZE]; variable
50 _mm_clflush(&target_array[i * TARGET_SIZE]); in clflush_target()
80 : [target] "r" (target_array), in speculate()
105 : [target] "r" (target_array), in speculate()
171 addr = &target_array[i * TARGET_SIZE]; in check()
242 cached += get_access_time(target_array); in set_cache_hit_threshold()
245 cached += get_access_time(target_array); in set_cache_hit_threshold()
248 _mm_clflush(target_array); in set_cache_hit_threshold()
249 uncached += get_access_time(target_array); in set_cache_hit_threshold()
313 memset(target_array, 1, sizeof(target_array)); in setup()
/external/tensorflow/tensorflow/lite/toco/
Dtooling_util.cc1330 void CopyArrayAttribs(const Array& source_array, Array* target_array) { in CopyArrayAttribs() argument
1331 target_array->data_type = source_array.data_type; in CopyArrayAttribs()
1332 target_array->final_data_type = source_array.final_data_type; in CopyArrayAttribs()
1333 target_array->copy_shape(source_array.shape()); in CopyArrayAttribs()
1336 target_array->GetOrCreateMinMax() = source_array.GetMinMax(); in CopyArrayAttribs()
1338 target_array->minmax.reset(); in CopyArrayAttribs()
1342 target_array->GetOrCreateQuantizationParams() = in CopyArrayAttribs()
1345 target_array->quantization_params.reset(); in CopyArrayAttribs()
1358 Array& target_array = model->GetOrCreateArray(target_array_name); in InsertCopyOperator() local
1359 target_array.buffer.reset(); in InsertCopyOperator()
[all …]
Dtooling_util.h181 void CopyArrayBuffer(const Array& source_array, Array* target_array) {
183 int target_buffer_size = RequiredBufferSizeForShape(target_array->shape());
186 CHECK(source_array.data_type == target_array->data_type)
190 auto& target_buffer = target_array->GetMutableBuffer<A>();
/external/tensorflow/tensorflow/compiler/xla/service/llvm_ir/
Dloop_emitter.cc39 const IrArray& target_array, llvm::IRBuilder<>* b) in LoopEmitter() argument
44 target_array.EmitWriteArrayElement(array_index, target_element, b); in LoopEmitter()
47 shape_(target_array.GetShape()),
Dloop_emitter.h48 const IrArray& target_array, llvm::IRBuilder<>* b);
/external/tensorflow/tensorflow/compiler/xla/service/cpu/
Ddot_op_emitter.cc110 const llvm_ir::IrArray& target_array,
206 const llvm_ir::IrArray& target_array, in DotOpEmitter() argument
216 target_array_(target_array), in DotOpEmitter()
846 DotInfo dot_info, string hlo_name, const llvm_ir::IrArray& target_array, in EmitNonBatchDotOperation() argument
852 PrimitiveType type = target_array.GetShape().element_type(); in EmitNonBatchDotOperation()
856 target_array, lhs_array, rhs_array, addend_array, in EmitNonBatchDotOperation()
929 const HloInstruction& dot, const llvm_ir::IrArray& target_array, in EmitBatchDotOperation() argument
951 CollapseFirstNDims(b, target_array, num_batch_dims); in EmitBatchDotOperation()
1031 const llvm_ir::IrArray& target_array, in EmitDotOperation() argument
1045 return EmitBatchDotOperation(dot, target_array, lhs_array, rhs_array, in EmitDotOperation()
[all …]
Dparallel_loop_emitter.cc27 const llvm_ir::IrArray& target_array, in ParallelLoopEmitter() argument
29 : LoopEmitter(target_element_generator, target_array, b), in ParallelLoopEmitter()
Dir_emitter.cc933 llvm_ir::IrArray target_array = GetIrArrayFor(dot); in HandleDot() local
941 << llvm_ir::DumpToString(*target_array.GetBasePointer()); in HandleDot()
944 return EmitDotOperation(*dot, target_array, lhs_array, rhs_array, in HandleDot()
1766 llvm_ir::IrArray target_array = GetIrArrayFor(reduce); in EmitVectorizedReduce() local
1768 target_array.EmitArrayElementAddress(array_index, &b_); in EmitVectorizedReduce()
1770 target_array); in EmitVectorizedReduce()
1800 llvm_ir::IrArray target_array = GetIrArrayFor(reduce); in EmitVectorizedReduce() local
1802 target_array.EmitArrayElementAddress(array_index, &b_); in EmitVectorizedReduce()
1804 target_array); in EmitVectorizedReduce()
2004 llvm_ir::IrArray target_array = GetIrArrayFor(slice); in HandleSlice() local
[all …]
Dparallel_loop_emitter.h55 const llvm_ir::IrArray& target_array,
Ddot_op_emitter.h61 const llvm_ir::IrArray& target_array,
Dir_emitter.h414 const llvm_ir::IrArray& target_array,
/external/v8/src/
Dstring-builder.cc159 Handle<JSArray> FixedArrayBuilder::ToJSArray(Handle<JSArray> target_array) { in ToJSArray() argument
160 JSArray::SetContent(target_array, array_); in ToJSArray()
161 target_array->set_length(Smi::FromInt(length_)); in ToJSArray()
162 return target_array; in ToJSArray()
Dstring-builder-inl.h55 Handle<JSArray> ToJSArray(Handle<JSArray> target_array);
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Dparallel_loop_emitter.cc51 const llvm_ir::IrArray& target_array, in ParallelLoopEmitter() argument
54 : LoopEmitter(target_element_generator, target_array, b), in ParallelLoopEmitter()
Dir_emitter.cc470 const llvm_ir::IrArray& target_array = GetIrArray(*dot, *dot); in HandleDot() local
501 target_array.EmitWriteArrayElement(/*index=*/element_index, result, &b_); in HandleDot()
559 llvm::Type* accum_type = target_array.GetElementLlvmType(); in HandleDot()
624 target_array.GetShape(), index_type); in HandleDot()
625 target_array.EmitWriteArrayElement( in HandleDot()
Dparallel_loop_emitter.h41 const llvm_ir::IrArray& target_array,