Home
last modified time | relevance | path

Searched refs:getInt64 (Results 1 – 25 of 103) sorted by relevance

12345

/external/tensorflow/tensorflow/compiler/xla/service/llvm_ir/
Dkernel_support_library.h75 return ForWithStatus(name, /*start=*/b_->getInt64(start), in ForWithStatus()
76 /*end=*/b_->getInt64(end), in ForWithStatus()
77 /*step=*/b_->getInt64(step), for_body_generator); in ForWithStatus()
84 For(name, /*start=*/b_->getInt64(start), in For()
85 /*end=*/b_->getInt64(end), in For()
86 /*step=*/b_->getInt64(step), for_body_generator); in For()
187 return ForWithStatus(name, /*start=*/b_->getInt64(start), in ForWithStatus()
188 /*end=*/b_->getInt64(end), in ForWithStatus()
189 /*step=*/b_->getInt64(step), for_body_generator); in ForWithStatus()
195 For(name, /*start=*/b_->getInt64(start), in For()
[all …]
Dtuple_ops.cc58 /*SrcAlign=*/llvm::Align(1), b->getInt64(table_size)); in EmitTupleSelect()
69 {b->getInt64(0), b->getInt64(i)})); in EmitTuple()
115 b->CreateInBoundsGEP(operand, {b->getInt64(0), b->getInt64(index)}); in EmitGetTupleElement()
/external/llvm-project/llvm/lib/Transforms/Utils/
DMatrixUtils.cpp84 CreateLoop(Start, End, B.getInt64(NumColumns), B.getInt64(TileSize), in CreateTiledLoops()
88 CreateLoop(ColBody, ColLatch, B.getInt64(NumRows), B.getInt64(TileSize), in CreateTiledLoops()
93 CreateLoop(RowBody, RowLoopLatch, B.getInt64(NumInner), in CreateTiledLoops()
94 B.getInt64(TileSize), "inner", B, DTU, InnerLoop, LI); in CreateTiledLoops()
DAMDGPUEmitPrintf.cpp91 auto Zero = Builder.getInt64(0); in appendArg()
103 auto One = Builder.getInt64(1); in getStrlenWithNull()
104 auto Zero = Builder.getInt64(0); in getStrlenWithNull()
DIntegerDivision.cpp39 Shift = Builder.getInt64(63); in generateSignedRemainderCode()
111 Shift = Builder.getInt64(63); in generateSignedDivisionCode()
166 Zero = Builder.getInt64(0); in generateUnsignedDivisionCode()
167 One = Builder.getInt64(1); in generateUnsignedDivisionCode()
169 MSB = Builder.getInt64(63); in generateUnsignedDivisionCode()
/external/llvm-project/llvm/unittests/Analysis/
DSparsePropagation.cpp301 Builder.CreateStore(Builder.getInt64(1), GV); in TEST_F()
304 Builder.CreateStore(Builder.getInt64(1), GV); in TEST_F()
342 Builder.CreateStore(Builder.getInt64(0), GV); in TEST_F()
345 Builder.CreateStore(Builder.getInt64(1), GV); in TEST_F()
385 Builder.CreateRet(Builder.getInt64(1)); in TEST_F()
387 Builder.CreateRet(Builder.getInt64(1)); in TEST_F()
425 Builder.CreateRet(Builder.getInt64(0)); in TEST_F()
427 Builder.CreateRet(Builder.getInt64(1)); in TEST_F()
470 Builder.CreateCall(G, {Builder.getInt64(0), Builder.getInt64(1)}); in TEST_F()
471 Builder.CreateCall(G, {Builder.getInt64(1), Builder.getInt64(1)}); in TEST_F()
/external/tensorflow/tensorflow/compiler/xla/service/cpu/
Dvector_support_library.h53 return Mul(b()->getInt64(lhs), rhs); in Mul()
66 return Add(b()->getInt64(lhs), rhs); in Add()
157 base_pointer, b_->CreateMul(b_->getInt64(scale), offset_elements)); in ComputeOffsetPointer()
161 return ComputeOffsetPointer(base_pointer, b()->getInt64(offset_elements)); in ComputeOffsetPointer()
172 return LoadVector(base_pointer, b()->getInt64(offset_elements)); in LoadVector()
183 return LoadScalar(base_pointer, b()->getInt64(offset_elements)); in LoadScalar()
195 StoreVector(value, base_pointer, b()->getInt64(offset_elements)); in StoreVector()
206 StoreScalar(base_pointer, b()->getInt64(offset_elements)); in StoreScalar()
215 return LoadBroadcast(base_pointer, b()->getInt64(offset_elements)); in LoadBroadcast()
Dir_emitter.cc624 {b_.getInt64(higher_dimensions), b_.getInt64(sort_dimension_elements), in HandleSort()
625 b_.getInt64(lower_dimensions), values, in HandleSort()
745 NSWMul(source_index[i], b_.getInt64(window.dimensions(i).stride())); in HandleSelectAndScatter()
748 b_.getInt64(window.dimensions(i).padding_low())); in HandleSelectAndScatter()
751 b_.getInt64(ShapeUtil::GetDimension(operand->shape(), i))); in HandleSelectAndScatter()
984 b_.getInt64(input_batch), in HandleConvolution()
985 b_.getInt64(input_rows), in HandleConvolution()
986 b_.getInt64(input_cols), in HandleConvolution()
987 b_.getInt64(input_channels), in HandleConvolution()
988 b_.getInt64(kernel_rows), in HandleConvolution()
[all …]
Dmlir_emitter.cc69 args->push_back(b->getInt64(0)); // Offset. in BuildViewForBuffer()
73 args->push_back(b->getInt64(dim)); in BuildViewForBuffer()
85 args->push_back(b->getInt64(stride)); in BuildViewForBuffer()
Dtiled_dot_emitter.cc43 b->CreateMul(b->getInt64(matrix_size_along_minor_dim), in MemoryTile()
44 b->CreateAdd(b->getInt64(i), major_dim_offset)); in MemoryTile()
88 pointers_[i], b_->CreateAdd(minor_dim_offset, b_->getInt64(j)))); in LoadBroadcastTile()
316 EmitOuterLoopBody(b_->getInt64(column_limit), column_remainder, in Emit()
348 llvm::Value* columns_llvm = b_->getInt64(columns); in EmitInnerLoopEpilogue()
363 llvm::Value* total_offset = b_->CreateMul(col, b_->getInt64(m())); in EmitInnerLoopEpilogue()
540 llvm::Value* offset = b_->CreateAdd(b_->getInt64(i), row); in EmitOuterLoopBody()
558 EmitOuterLoopBody(b_->getInt64(row_limit), row_remainder); in Emit()
590 b_->CreateAdd(b_->getInt64(r), current_tile_row), b_->getInt64(k())); in EmitInnerLoopEpilogue()
737 llvm::Value* GetInt64(int64 value) { return b_->getInt64(value); } in GetInt64()
[all …]
Dir_function.cc186 b_->getInt64(offset), name)); in GetDynamicLoopBound()
206 b->CreateInBoundsGEP(arguments_buffer, {b->getInt64(i)}); in EncodeArrayFunctionArguments()
305 partitions[index] = b->getInt64(dim_partition.first); in EmitCallToParallelForkJoin()
307 b->getInt64(dim_partition.first + dim_partition.second); in EmitCallToParallelForkJoin()
/external/llvm-project/polly/lib/CodeGen/
DPerfMonitor.cpp95 TryRegisterGlobal(M, (varname + "_cycles").c_str(), Builder.getInt64(0), in addScopCounter()
98 TryRegisterGlobal(M, (varname + "_trip_count").c_str(), Builder.getInt64(0), in addScopCounter()
103 TryRegisterGlobal(M, "__polly_perf_cycles_total_start", Builder.getInt64(0), in addGlobalVariables()
109 TryRegisterGlobal(M, "__polly_perf_cycles_in_scops", Builder.getInt64(0), in addGlobalVariables()
112 TryRegisterGlobal(M, "__polly_perf_cycles_in_scop_start", Builder.getInt64(0), in addGlobalVariables()
294 Builder.CreateAdd(TripCountForCurrentScop, Builder.getInt64(1)); in insertRegionEnd()
DRuntimeDebugBuilder.cpp137 Val = Builder.CreateGEP(Val, Builder.getInt64(0)); in prepareValuesForPrinting()
177 auto *Zero = Builder.getInt64(0); in createGPUPrinterT()
195 auto Ptr = Builder.CreateGEP(DataPtr, Builder.getInt64(Offset)); in createGPUPrinterT()
212 Val = Builder.CreateGEP(Val, Builder.getInt64(0)); in createGPUPrinterT()
/external/protobuf/objectivec/Tests/
DGPBDictionaryTests+Int32.m1171 XCTAssertFalse([dict getInt64:NULL forKey:11]);
1185 XCTAssertTrue([dict getInt64:NULL forKey:11]);
1186 XCTAssertTrue([dict getInt64:&value forKey:11]);
1188 XCTAssertFalse([dict getInt64:NULL forKey:12]);
1207 XCTAssertTrue([dict getInt64:NULL forKey:11]);
1208 XCTAssertTrue([dict getInt64:&value forKey:11]);
1210 XCTAssertTrue([dict getInt64:NULL forKey:12]);
1211 XCTAssertTrue([dict getInt64:&value forKey:12]);
1213 XCTAssertTrue([dict getInt64:NULL forKey:13]);
1214 XCTAssertTrue([dict getInt64:&value forKey:13]);
[all …]
DGPBDictionaryTests+String.m1171 XCTAssertFalse([dict getInt64:NULL forKey:@"foo"]);
1185 XCTAssertTrue([dict getInt64:NULL forKey:@"foo"]);
1186 XCTAssertTrue([dict getInt64:&value forKey:@"foo"]);
1188 XCTAssertFalse([dict getInt64:NULL forKey:@"bar"]);
1207 XCTAssertTrue([dict getInt64:NULL forKey:@"foo"]);
1208 XCTAssertTrue([dict getInt64:&value forKey:@"foo"]);
1210 XCTAssertTrue([dict getInt64:NULL forKey:@"bar"]);
1211 XCTAssertTrue([dict getInt64:&value forKey:@"bar"]);
1213 XCTAssertTrue([dict getInt64:NULL forKey:@"baz"]);
1214 XCTAssertTrue([dict getInt64:&value forKey:@"baz"]);
[all …]
DGPBDictionaryTests+UInt32.m1171 XCTAssertFalse([dict getInt64:NULL forKey:1U]);
1185 XCTAssertTrue([dict getInt64:NULL forKey:1U]);
1186 XCTAssertTrue([dict getInt64:&value forKey:1U]);
1188 XCTAssertFalse([dict getInt64:NULL forKey:2U]);
1207 XCTAssertTrue([dict getInt64:NULL forKey:1U]);
1208 XCTAssertTrue([dict getInt64:&value forKey:1U]);
1210 XCTAssertTrue([dict getInt64:NULL forKey:2U]);
1211 XCTAssertTrue([dict getInt64:&value forKey:2U]);
1213 XCTAssertTrue([dict getInt64:NULL forKey:3U]);
1214 XCTAssertTrue([dict getInt64:&value forKey:3U]);
[all …]
DGPBDictionaryTests+UInt64.m1171 XCTAssertFalse([dict getInt64:NULL forKey:31ULL]);
1185 XCTAssertTrue([dict getInt64:NULL forKey:31ULL]);
1186 XCTAssertTrue([dict getInt64:&value forKey:31ULL]);
1188 XCTAssertFalse([dict getInt64:NULL forKey:32ULL]);
1207 XCTAssertTrue([dict getInt64:NULL forKey:31ULL]);
1208 XCTAssertTrue([dict getInt64:&value forKey:31ULL]);
1210 XCTAssertTrue([dict getInt64:NULL forKey:32ULL]);
1211 XCTAssertTrue([dict getInt64:&value forKey:32ULL]);
1213 XCTAssertTrue([dict getInt64:NULL forKey:33ULL]);
1214 XCTAssertTrue([dict getInt64:&value forKey:33ULL]);
[all …]
DGPBDictionaryTests+Int64.m1171 XCTAssertFalse([dict getInt64:NULL forKey:21LL]);
1185 XCTAssertTrue([dict getInt64:NULL forKey:21LL]);
1186 XCTAssertTrue([dict getInt64:&value forKey:21LL]);
1188 XCTAssertFalse([dict getInt64:NULL forKey:22LL]);
1207 XCTAssertTrue([dict getInt64:NULL forKey:21LL]);
1208 XCTAssertTrue([dict getInt64:&value forKey:21LL]);
1210 XCTAssertTrue([dict getInt64:NULL forKey:22LL]);
1211 XCTAssertTrue([dict getInt64:&value forKey:22LL]);
1213 XCTAssertTrue([dict getInt64:NULL forKey:23LL]);
1214 XCTAssertTrue([dict getInt64:&value forKey:23LL]);
[all …]
DGPBDictionaryTests+Bool.m972 XCTAssertFalse([dict getInt64:NULL forKey:YES]);
986 XCTAssertTrue([dict getInt64:NULL forKey:YES]);
987 XCTAssertTrue([dict getInt64:&value forKey:YES]);
989 XCTAssertFalse([dict getInt64:NULL forKey:NO]);
1008 XCTAssertTrue([dict getInt64:NULL forKey:YES]);
1009 XCTAssertTrue([dict getInt64:&value forKey:YES]);
1011 XCTAssertTrue([dict getInt64:NULL forKey:NO]);
1012 XCTAssertTrue([dict getInt64:&value forKey:NO]);
1163 XCTAssertTrue([dict getInt64:NULL forKey:YES]);
1164 XCTAssertTrue([dict getInt64:&value forKey:YES]);
[all …]
/external/bcc/src/cc/frontends/b/
Dcodegen_llvm.cc378 Value *skb_hdr_offset = B.CreateAdd(offset_ptr, B.getInt64(bit_offset >> 3)); in visit_packet_expr_node()
387 Value *skb_hdr_offset = B.CreateAdd(offset_ptr, B.getInt64(bit_offset >> 3)); in visit_packet_expr_node()
389 … B.CreateCall(store_fn, vector<Value *>({skb_ptr8, skb_hdr_offset, B.getInt64(bit_offset & 0x7), in visit_packet_expr_node()
390 B.getInt64(bit_width), rhs})); in visit_packet_expr_node()
398 Value *skb_hdr_offset = B.CreateAdd(offset_ptr, B.getInt64(bit_offset >> 3)); in visit_packet_expr_node()
400 … B.getInt64(bit_offset & 0x7), B.getInt64(bit_width)})); in visit_packet_expr_node()
427 B.getInt64(n->val_.size() + 1)); in visit_string_expr_node()
588 CallInst *pseudo_call = B.CreateCall(pseudo_fn, vector<Value *>({B.getInt64(BPF_PSEUDO_MAP_FD), in emit_table_lookup()
589 … B.getInt64(table_fd_it->second)})); in emit_table_lookup()
629 CallInst *pseudo_call = B.CreateCall(pseudo_fn, vector<Value *>({B.getInt64(BPF_PSEUDO_MAP_FD), in emit_table_update()
[all …]
/external/bcc/src/cc/
Dbpf_module_rw_engine.cc52 …sert(args.begin(), B.CreateInBoundsGEP(fmt_gvar, vector<Value *>({B.getInt64(0), B.getInt64(0)}))); in debug_printf()
53 args.insert(args.begin(), B.getInt64((uintptr_t)stderr)); in debug_printf()
79 (*args)[1] = B.CreateInBoundsGEP(fmt_gvar, {B.getInt64(0), B.getInt64(0)}); in finish_sscanf()
329 args[2] = B.CreateInBoundsGEP(fmt_gvar, vector<Value *>({B.getInt64(0), B.getInt64(0)})); in make_writer()
/external/llvm/unittests/IR/
DIRBuilderTest.cpp60 CallInst *Start3 = Builder.CreateLifetimeStart(Var3, Builder.getInt64(100)); in TEST_F()
62 EXPECT_EQ(Start1->getArgOperand(0), Builder.getInt64(-1)); in TEST_F()
63 EXPECT_EQ(Start2->getArgOperand(0), Builder.getInt64(-1)); in TEST_F()
64 EXPECT_EQ(Start3->getArgOperand(0), Builder.getInt64(100)); in TEST_F()
362 auto Elt1 = Builder.getInt64(-1); in TEST_F()
363 auto Elt2 = Builder.getInt64(-2); in TEST_F()
/external/llvm-project/llvm/lib/Transforms/IPO/
DSampleProfileProbe.cpp128 Value *Args[] = {Builder.getInt64(Guid), Builder.getInt64(Index), in instrumentOneFunc()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DIntegerDivision.cpp39 Shift = Builder.getInt64(63); in generateSignedRemainderCode()
111 Shift = Builder.getInt64(63); in generateSignedDivisionCode()
166 Zero = Builder.getInt64(0); in generateUnsignedDivisionCode()
167 One = Builder.getInt64(1); in generateUnsignedDivisionCode()
169 MSB = Builder.getInt64(63); in generateUnsignedDivisionCode()
/external/llvm/lib/Transforms/Utils/
DIntegerDivision.cpp40 Shift = Builder.getInt64(63); in generateSignedRemainderCode()
112 Shift = Builder.getInt64(63); in generateSignedDivisionCode()
167 Zero = Builder.getInt64(0); in generateUnsignedDivisionCode()
168 One = Builder.getInt64(1); in generateUnsignedDivisionCode()
170 MSB = Builder.getInt64(63); in generateUnsignedDivisionCode()

12345