Home
last modified time | relevance | path

Searched refs:GetConstantWithIndexType (Results 1 – 10 of 10) sorted by relevance

/external/tensorflow/tensorflow/compiler/xla/service/llvm_ir/
Dsort_util.cc162 auto value_one = tiled_keys_index.GetConstantWithIndexType(1); in EmitTiledCompareLoop()
170 tiled_keys_index.GetConstantWithIndexType( in EmitTiledCompareLoop()
180 tiled_keys_index.GetConstantWithIndexType( in EmitTiledCompareLoop()
199 {tiled_keys_index.GetConstantWithIndexType(0), in EmitTiledCompareLoop()
210 {tiled_keys_index.GetConstantWithIndexType(0), index}); in EmitTiledCompareLoop()
225 {tiled_keys_index.GetConstantWithIndexType(0), index})); in EmitTiledCompareLoop()
241 tiled_keys_index.GetConstantWithIndexType(2)), in EmitTiledCompareLoop()
242 tiled_keys_index.GetConstantWithIndexType( in EmitTiledCompareLoop()
276 {tiled_keys_index.GetConstantWithIndexType(0), cache_index})); in EmitTiledCompareLoop()
Dir_array.cc59 auto* quot = b->CreateUDiv(linear, GetConstantWithIndexType(divisor)); in Delinearize()
62 quot, GetConstantWithIndexType(size_of_current_dimension)); in Delinearize()
159 GetConstantWithIndexType(input_shape.dimensions(i)); in SourceIndexOfReshape()
161 source_multidim_index[i] = GetConstantWithIndexType(0); in SourceIndexOfReshape()
232 llvm::Value* linear_index = GetConstantWithIndexType(0); in SourceIndexOfBitcast()
237 GetConstantWithIndexType(scale), "", in SourceIndexOfBitcast()
300 linear = builder->CreateUDiv(linear, GetConstantWithIndexType(divisor)); in SourceIndexOfBroadcast()
308 linear = builder->CreateURem(linear, GetConstantWithIndexType(mod)); in SourceIndexOfBroadcast()
318 llvm::Value* logical_linear_index = GetConstantWithIndexType(0); in Linearize()
322 builder->CreateMul((*this)[i], GetConstantWithIndexType(multiplier), "", in Linearize()
Dllvm_loop.cc181 return AddLoop(suffix, start_index, end_index, GetConstantWithIndexType(1), in AddLoop()
216 return AddLoop(suffix, GetConstantWithIndexType(start_index), in AddLoop()
217 GetConstantWithIndexType(end_index), unroll_mode, in AddLoop()
227 return AddLoop(suffix, GetConstantWithIndexType(start_index), in AddLoop()
228 GetConstantWithIndexType(end_index), in AddLoop()
229 GetConstantWithIndexType(stride), unroll_mode, in AddLoop()
Dkernel_tiling.cc63 llvm::Value* linear_index = index.GetConstantWithIndexType(0); in GetReshapedIndex()
68 index[dim], index.GetConstantWithIndexType(multiplier), "linearizing", in GetReshapedIndex()
Dllvm_loop.h271 llvm::Constant* GetConstantWithIndexType(int64 c) const { in GetConstantWithIndexType() function
Dir_array.h164 llvm::Constant* GetConstantWithIndexType(int64 c) const { in GetConstantWithIndexType() function
Dfused_ir_emitter.cc157 b_->CreateGEP(param_tile_buffer, {index.GetConstantWithIndexType(0), in HandleParameter()
/external/tensorflow/tensorflow/compiler/xla/service/
Delemental_ir_emitter.cc1792 auto concat_dim_size = source_index.GetConstantWithIndexType( in EmitElementalConcatenate()
1886 operand_multi_index.push_back(index.GetConstantWithIndexType(0)); in EmitElementalGather()
1931 index.GetConstantWithIndexType(largest_valid_start_index), in EmitElementalGather()
1932 EmitIntegralMax(index.GetConstantWithIndexType(0), in EmitElementalGather()
1952 index.GetConstantWithIndexType(i); in EmitElementalGather()
2058 return padded_index.GetConstantWithIndexType(n); in EmitElementalPad()
2290 source_multi_index[dim] = Sub(target_index.GetConstantWithIndexType( in MakeElementGenerator()
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Delemental_ir_emitter.cc374 return index.GetConstantWithIndexType(c); in MakeElementGenerator()
Dir_emitter_unnested.cc1111 input_window_multidim.push_back(index.GetConstantWithIndexType(0)); in EmitScatter()
1143 index.GetConstantWithIndexType(i); in EmitScatter()
1167 index.GetConstantWithIndexType(max_index))); in EmitScatter()