Home
last modified time | relevance | path

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

123

/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.cc54 llvm::Value* const element_index[] = {b->getInt64(0), b->getInt64(i)}; in EmitTupleSelect()
79 {b->getInt64(0), b->getInt64(i)})); in EmitTuple()
99 b->CreateInBoundsGEP(operand, {b->getInt64(0), b->getInt64(index)}); in EmitGetTupleElement()
Dllvm_util.cc130 ? llvm::ArrayRef<llvm::Value*>({b->getInt64(0), index}) in EmitBufferIndexingGEP()
136 return EmitBufferIndexingGEP(array, b->getInt64(index), b); in EmitBufferIndexingGEP()
380 b->CreateIntToPtr(b->getInt64(absl::bit_cast<int64>(&LogS64)), in EmitLogging()
382 {b->getInt64(absl::bit_cast<int64>(tag)), value}); in EmitLogging()
703 /*Initializer=*/b->getInt64(0), in GetOrCreateVariableForPhiloxRngState()
718 state_value_old, builder->getInt64(value), "inc_state"); in IncrementVariableForPhiloxRngState()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Analysis/
DSparsePropagation.cpp304 Builder.CreateStore(Builder.getInt64(1), GV); in TEST_F()
307 Builder.CreateStore(Builder.getInt64(1), GV); in TEST_F()
345 Builder.CreateStore(Builder.getInt64(0), GV); in TEST_F()
348 Builder.CreateStore(Builder.getInt64(1), GV); in TEST_F()
388 Builder.CreateRet(Builder.getInt64(1)); in TEST_F()
390 Builder.CreateRet(Builder.getInt64(1)); in TEST_F()
428 Builder.CreateRet(Builder.getInt64(0)); in TEST_F()
430 Builder.CreateRet(Builder.getInt64(1)); in TEST_F()
473 Builder.CreateCall(G, {Builder.getInt64(0), Builder.getInt64(1)}); in TEST_F()
474 Builder.CreateCall(G, {Builder.getInt64(1), Builder.getInt64(1)}); in TEST_F()
/external/swiftshader/third_party/LLVM/unittests/Support/
DIRBuilderTest.cpp50 CallInst *Start3 = Builder.CreateLifetimeStart(Var3, Builder.getInt64(100)); in TEST_F()
52 EXPECT_EQ(Start1->getArgOperand(0), Builder.getInt64(-1)); in TEST_F()
53 EXPECT_EQ(Start2->getArgOperand(0), Builder.getInt64(-1)); in TEST_F()
54 EXPECT_EQ(Start3->getArgOperand(0), Builder.getInt64(100)); 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()
153 base_pointer, b_->CreateMul(b_->getInt64(scale), offset_elements)); in ComputeOffsetPointer()
157 return ComputeOffsetPointer(base_pointer, b()->getInt64(offset_elements)); in ComputeOffsetPointer()
168 return LoadVector(base_pointer, b()->getInt64(offset_elements)); in LoadVector()
179 return LoadScalar(base_pointer, b()->getInt64(offset_elements)); in LoadScalar()
191 StoreVector(value, base_pointer, b()->getInt64(offset_elements)); in StoreVector()
202 StoreScalar(base_pointer, b()->getInt64(offset_elements)); in StoreScalar()
211 return LoadBroadcast(base_pointer, b()->getInt64(offset_elements)); in LoadBroadcast()
Dir_emitter.cc612 {b_.getInt64(higher_dimensions), b_.getInt64(sort_dimension_elements), in HandleSort()
613 b_.getInt64(lower_dimensions), values, in HandleSort()
672 NSWMul(index[i], b_.getInt64(window.dimensions(i).stride())); in EmitElementalReduceWindow()
676 b_.getInt64(window.dimensions(i).window_dilation()))), in EmitElementalReduceWindow()
677 b_.getInt64(window.dimensions(i).padding_low())); in EmitElementalReduceWindow()
682 b_.getInt64(window.dimensions(i).base_dilation())), in EmitElementalReduceWindow()
683 b_.getInt64(0)); in EmitElementalReduceWindow()
693 b_.getInt64(window.dimensions(i).base_dilation())); in EmitElementalReduceWindow()
701 b_.getInt64(ShapeUtil::GetDimension(operand->shape(), i))); in EmitElementalReduceWindow()
826 NSWMul(source_index[i], b_.getInt64(window.dimensions(i).stride())); in HandleSelectAndScatter()
[all …]
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()
213 b->CreateInBoundsGEP(parameter_addresses_buffer, {b->getInt64(i)}); in GetArrayFunctionCallArguments()
298 partitions[index] = b->getInt64(dim_partition.first); in EmitCallToParallelForkJoin()
300 b->getInt64(dim_partition.first + dim_partition.second); in EmitCallToParallelForkJoin()
/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/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/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()
/external/swiftshader/third_party/llvm-7.0/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()
/external/icu/icu4c/source/i18n/unicode/
Dfmtable.h339 int64_t getInt64(void) const { return fValue.fInt64; } in getInt64() function
356 int64_t getInt64(UErrorCode& status) const;
/external/swiftshader/third_party/LLVM/lib/VMCore/
DIRBuilder.cpp126 Size = getInt64(-1); in CreateLifetimeStart()
141 Size = getInt64(-1); in CreateLifetimeEnd()
/external/bcc/src/cc/
Dbpf_module.cc160 …sert(args.begin(), B.CreateInBoundsGEP(fmt_gvar, vector<Value *>({B.getInt64(0), B.getInt64(0)}))); in debug_printf()
161 args.insert(args.begin(), B.getInt64((uintptr_t)stderr)); in debug_printf()
187 (*args)[1] = B.CreateInBoundsGEP(fmt_gvar, {B.getInt64(0), B.getInt64(0)}); in finish_sscanf()
437 args[2] = B.CreateInBoundsGEP(fmt_gvar, vector<Value *>({B.getInt64(0), B.getInt64(0)})); in make_writer()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/IR/
DIRBuilderTest.cpp81 CallInst *Start3 = Builder.CreateLifetimeStart(Var3, Builder.getInt64(100)); in TEST_F()
83 EXPECT_EQ(Start1->getArgOperand(0), Builder.getInt64(-1)); in TEST_F()
84 EXPECT_EQ(Start2->getArgOperand(0), Builder.getInt64(-1)); in TEST_F()
85 EXPECT_EQ(Start3->getArgOperand(0), Builder.getInt64(100)); in TEST_F()
522 auto Elt1 = Builder.getInt64(-1); in TEST_F()
523 auto Elt2 = Builder.getInt64(-2); in TEST_F()
/external/deqp/executor/
DxeTestCaseResult.cpp78 return str << value.getInt64(); in operator <<()
/external/icu/icu4c/source/i18n/
Dfmtable.cpp448 Formattable::getInt64(UErrorCode& status) const in getInt64() function in Formattable
483 getNumber().getInt64(status); in getInt64()
762 output.setToLong(this->getInt64()); in populateDecimalQuantity()
1032 return obj->getInt64(*status); in ufmt_getInt64()
/external/llvm/lib/Transforms/Instrumentation/
DGCOVProfiling.cpp629 Count = Builder.CreateAdd(Count, Builder.getInt64(1)); in emitProfileArcs()
634 Builder.getInt64(Edge), in emitProfileArcs()
635 Builder.getInt64(Edge + 1)); in emitProfileArcs()
637 Counters->getValueType(), Counters, {Builder.getInt64(0), Sel}); in emitProfileArcs()
639 Count = Builder.CreateAdd(Count, Builder.getInt64(1)); in emitProfileArcs()
936 Builder.getInt64(1)); in insertIndirectCounterIncrement()
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Dhlo_to_ir_bindings.cc85 b_->CreateInBoundsGEP(temp_buffer_base_, b_->getInt64(offset)); in EmitBasePointersForHlos()
125 b_->CreateInBoundsGEP(temp_buffer_base_, b_->getInt64(offset)), in EmitBasePointersForHlos()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Instrumentation/
DGCOVProfiling.cpp684 Count = Builder.CreateAdd(Count, Builder.getInt64(1)); in emitProfileArcs()
689 Builder.getInt64(Edge), in emitProfileArcs()
690 Builder.getInt64(Edge + 1)); in emitProfileArcs()
692 Counters->getValueType(), Counters, {Builder.getInt64(0), Sel}); in emitProfileArcs()
694 Count = Builder.CreateAdd(Count, Builder.getInt64(1)); in emitProfileArcs()
1167 Builder.getInt64(1)); in insertIndirectCounterIncrement()
DInstrProfiling.cpp582 Builder.getInt64(MemOPSizeRangeStart), in lowerValueProfileInst()
583 Builder.getInt64(MemOPSizeRangeLast), in lowerValueProfileInst()
584 Builder.getInt64(MemOPSizeLarge == 0 ? INT64_MIN : MemOPSizeLarge)}; in lowerValueProfileInst()
912 IRB.getInt64(NamesSize)}); in emitRegistration()
/external/icu/icu4c/source/test/intltest/
Dnumrgts.cpp2130 if (n.getInt64() != dbl) { in Test4162198()
2779 TEST_ASSERT_EQUALS(1000000000LL, val.getInt64(status));
2790 TEST_ASSERT_EQUALS(100000000000000001LL, val.getInt64(status));
2799 TEST_ASSERT_EQUALS(100000000000000000LL, val.getInt64());
2807 TEST_ASSERT_EQUALS(9223372036854775807LL, val.getInt64());
2820 TEST_ASSERT_EQUALS((int64_t)0x8000000000000000LL, val.getInt64());
2828 TEST_ASSERT_EQUALS(9223372036854775807LL, val.getInt64(status));
2839 TEST_ASSERT_EQUALS((int64_t)0x8000000000000000LL, val.getInt64(status));
2857 TEST_ASSERT_EQUALS(9007199254740991LL, val.getInt64(status));
2866 TEST_ASSERT_EQUALS(9007199254740992LL, val.getInt64(status));
[all …]
/external/llvm/lib/IR/
DIRBuilder.cpp169 Size = getInt64(-1); in CreateLifetimeStart()
184 Size = getInt64(-1); in CreateLifetimeEnd()
318 Args.push_back(B.getInt64(ID)); in getStatepointArgs()

123