Home
last modified time | relevance | path

Searched refs:getInt32 (Results 1 – 25 of 197) sorted by relevance

12345678

/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUAtomicOptimizer.cpp298 {Identity, V, B.getInt32(DPP::ROW_SHR0 | 1 << Idx), in buildScan()
299 B.getInt32(0xf), B.getInt32(0xf), B.getFalse()})); in buildScan()
306 {Identity, V, B.getInt32(DPP::BCAST15), B.getInt32(0xa), in buildScan()
307 B.getInt32(0xf), B.getFalse()})); in buildScan()
311 {Identity, V, B.getInt32(DPP::BCAST31), B.getInt32(0xc), in buildScan()
312 B.getInt32(0xf), B.getFalse()})); in buildScan()
320 B.CreateCall(PermLaneX16, {V, V, B.getInt32(-1), B.getInt32(-1), in buildScan()
325 {Identity, PermX, B.getInt32(DPP::QUAD_PERM_ID), in buildScan()
326 B.getInt32(0xa), B.getInt32(0xf), B.getFalse()})); in buildScan()
329 Value *const Lane31 = B.CreateCall(ReadLane, {V, B.getInt32(31)}); in buildScan()
[all …]
/external/llvm-project/llvm/lib/Target/AMDGPU/
DAMDGPUAtomicOptimizer.cpp298 {Identity, V, B.getInt32(DPP::ROW_SHR0 | 1 << Idx), in buildScan()
299 B.getInt32(0xf), B.getInt32(0xf), B.getFalse()})); in buildScan()
306 {Identity, V, B.getInt32(DPP::BCAST15), B.getInt32(0xa), in buildScan()
307 B.getInt32(0xf), B.getFalse()})); in buildScan()
311 {Identity, V, B.getInt32(DPP::BCAST31), B.getInt32(0xc), in buildScan()
312 B.getInt32(0xf), B.getFalse()})); in buildScan()
320 B.CreateCall(PermLaneX16, {V, V, B.getInt32(-1), B.getInt32(-1), in buildScan()
325 {Identity, PermX, B.getInt32(DPP::QUAD_PERM_ID), in buildScan()
326 B.getInt32(0xa), B.getInt32(0xf), B.getFalse()})); in buildScan()
329 Value *const Lane31 = B.CreateCall(ReadLane, {V, B.getInt32(31)}); in buildScan()
[all …]
/external/llvm/unittests/Transforms/Utils/
DLocal.cpp76 P1->addIncoming(B.getInt32(42), Entry); in TEST()
79 P2->addIncoming(B.getInt32(42), Entry); in TEST()
82 P3->addIncoming(B.getInt32(42), Entry); in TEST()
83 P3->addIncoming(B.getInt32(23), BB); in TEST()
86 P4->addIncoming(B.getInt32(42), Entry); in TEST()
87 P4->addIncoming(B.getInt32(23), BB); in TEST()
/external/llvm-project/llvm/include/llvm/IR/
DMatrixBuilder.h75 Value *Ops[] = {DataPtr, Stride, B.getInt1(IsVolatile), B.getInt32(Rows),
76 B.getInt32(Columns)};
99 B.getInt32(Rows), B.getInt32(Columns)};
121 Value *Ops[] = {Matrix, B.getInt32(Rows), B.getInt32(Columns)};
139 Value *Ops[] = {LHS, RHS, B.getInt32(LHSRows), B.getInt32(LHSColumns),
140 B.getInt32(RHSColumns)};
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DMVEGatherScatterLowering.cpp227 {Ptr, Builder.getInt32(0)}); in tryCreateMaskedGatherBase()
232 {Ptr, Builder.getInt32(0), Mask}); in tryCreateMaskedGatherBase()
267 {BasePtr, Offsets, Builder.getInt32(Ty->getScalarSizeInBits()), in tryCreateMaskedGatherOffset()
268 Builder.getInt32(Scale), Builder.getInt32(1), Mask}); in tryCreateMaskedGatherOffset()
273 {BasePtr, Offsets, Builder.getInt32(Ty->getScalarSizeInBits()), in tryCreateMaskedGatherOffset()
274 Builder.getInt32(Scale), Builder.getInt32(1)}); in tryCreateMaskedGatherOffset()
/external/llvm/lib/IR/
DIRBuilder.cpp86 Value *Ops[] = { Ptr, Val, Size, getInt32(Align), getInt1(isVolatile) }; in CreateMemSet()
113 Value *Ops[] = { Dst, Src, Size, getInt32(Align), getInt1(isVolatile) }; in CreateMemCpy()
144 Value *Ops[] = { Dst, Src, Size, getInt32(Align), getInt1(isVolatile) }; in CreateMemMove()
221 Value *Ops[] = { Ptr, getInt32(Align), Mask, PassThru}; in CreateMaskedLoad()
238 Value *Ops[] = { Val, Ptr, getInt32(Align), Mask }; in CreateMaskedStore()
274 Value * Ops[] = {Ptrs, getInt32(Align), Mask, UndefValue::get(DataTy)}; in CreateMaskedGather()
304 Value * Ops[] = {Data, Ptrs, getInt32(Align), Mask}; in CreateMaskedScatter()
319 Args.push_back(B.getInt32(NumPatchBytes)); in getStatepointArgs()
321 Args.push_back(B.getInt32(CallArgs.size())); in getStatepointArgs()
322 Args.push_back(B.getInt32(Flags)); in getStatepointArgs()
[all …]
/external/llvm-project/polly/lib/CodeGen/
DLoopGeneratorsKMP.cpp53 Builder.getInt32(4) /* Number of arguments (w/o Task) */, in createCallSpawnThreads()
70 createCallPushNumThreads(GlobalThreadID, Builder.getInt32(PollyNumThreads)); in deployParallelExecution()
189 Builder.CreateAlignedStore(Builder.getInt32(0), IsLastPtr, Alignment); in createSubFn()
215 Builder.getInt32(1), "polly.hasIteration"); in createSubFn()
222 Builder.getInt32(1), "polly.hasWork"); in createSubFn()
388 Builder.getInt32(int(getSchedType(PollyChunkSize, PollyScheduling))), in createCallStaticInit()
449 Builder.getInt32(int(getSchedType(PollyChunkSize, PollyScheduling))), in createCallDispatchInit()
529 ArrayType, StrVar, {Builder.getInt32(0), Builder.getInt32(0)})); in createSourceLocation()
532 IdentTy, {Builder.getInt32(0), Builder.getInt32(0), Builder.getInt32(0), in createSourceLocation()
533 Builder.getInt32(0), StrPtr}); in createSourceLocation()
/external/llvm-project/llvm/lib/Target/ARM/
DMVEGatherScatterLowering.cpp411 {Ptr, Builder.getInt32(Increment)}); in tryCreateMaskedGatherBase()
416 {Ptr, Builder.getInt32(Increment), Mask}); in tryCreateMaskedGatherBase()
433 {Ptr, Builder.getInt32(Increment)}); in tryCreateMaskedGatherBaseWB()
438 {Ptr, Builder.getInt32(Increment), Mask}); in tryCreateMaskedGatherBaseWB()
501 {BasePtr, Offsets, Builder.getInt32(OriginalTy->getScalarSizeInBits()), in tryCreateMaskedGatherOffset()
502 Builder.getInt32(Scale), Builder.getInt32(Unsigned), Mask}); in tryCreateMaskedGatherOffset()
507 {BasePtr, Offsets, Builder.getInt32(OriginalTy->getScalarSizeInBits()), in tryCreateMaskedGatherOffset()
508 Builder.getInt32(Scale), Builder.getInt32(Unsigned)}); in tryCreateMaskedGatherOffset()
561 {Ptr, Builder.getInt32(Increment), Input}); in tryCreateMaskedScatterBase()
566 {Ptr, Builder.getInt32(Increment), Input, Mask}); in tryCreateMaskedScatterBase()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/
DWebAssemblyLowerEmscriptenEHSjLj.cpp392 IRB.CreateStore(IRB.getInt32(0), ThrewGV); in wrapInvoke()
441 IRB.CreateStore(IRB.getInt32(0), ThrewGV); in wrapInvoke()
554 Value *ThrewCmp = IRB.CreateICmpNE(Threw, IRB.getInt32(0)); in wrapTestSetjmp()
557 Value *ThrewValueCmp = IRB.CreateICmpNE(ThrewValue, IRB.getInt32(0)); in wrapTestSetjmp()
572 Value *Cmp2 = IRB.CreateICmpEQ(ThenLabel, IRB.getInt32(0)); in wrapTestSetjmp()
593 LabelPHI->addIncoming(IRB.getInt32(-1), ElseBB1); in wrapTestSetjmp()
765 Value *Cmp = IRB.CreateICmpEQ(Threw, IRB.getInt32(1), "cmp"); in runEHOnFunction()
895 Instruction::Add, IRB.getInt32(4), IRB.getInt32(0), "setjmpTableSize", in runSjLjOnFunction()
899 SetjmpTableSize, IRB.getInt32Ty(), IRB.getInt32Ty(), IRB.getInt32(40), in runSjLjOnFunction()
903 IRB.CreateStore(IRB.getInt32(0), SetjmpTable); in runSjLjOnFunction()
[all …]
/external/protobuf/objectivec/Tests/
DGPBDictionaryTests+Int32.m449 XCTAssertFalse([dict getInt32:NULL forKey:11]);
463 XCTAssertTrue([dict getInt32:NULL forKey:11]);
464 XCTAssertTrue([dict getInt32:&value forKey:11]);
466 XCTAssertFalse([dict getInt32:NULL forKey:12]);
485 XCTAssertTrue([dict getInt32:NULL forKey:11]);
486 XCTAssertTrue([dict getInt32:&value forKey:11]);
488 XCTAssertTrue([dict getInt32:NULL forKey:12]);
489 XCTAssertTrue([dict getInt32:&value forKey:12]);
491 XCTAssertTrue([dict getInt32:NULL forKey:13]);
492 XCTAssertTrue([dict getInt32:&value forKey:13]);
[all …]
DGPBDictionaryTests+String.m449 XCTAssertFalse([dict getInt32:NULL forKey:@"foo"]);
463 XCTAssertTrue([dict getInt32:NULL forKey:@"foo"]);
464 XCTAssertTrue([dict getInt32:&value forKey:@"foo"]);
466 XCTAssertFalse([dict getInt32:NULL forKey:@"bar"]);
485 XCTAssertTrue([dict getInt32:NULL forKey:@"foo"]);
486 XCTAssertTrue([dict getInt32:&value forKey:@"foo"]);
488 XCTAssertTrue([dict getInt32:NULL forKey:@"bar"]);
489 XCTAssertTrue([dict getInt32:&value forKey:@"bar"]);
491 XCTAssertTrue([dict getInt32:NULL forKey:@"baz"]);
492 XCTAssertTrue([dict getInt32:&value forKey:@"baz"]);
[all …]
DGPBDictionaryTests+UInt32.m449 XCTAssertFalse([dict getInt32:NULL forKey:1U]);
463 XCTAssertTrue([dict getInt32:NULL forKey:1U]);
464 XCTAssertTrue([dict getInt32:&value forKey:1U]);
466 XCTAssertFalse([dict getInt32:NULL forKey:2U]);
485 XCTAssertTrue([dict getInt32:NULL forKey:1U]);
486 XCTAssertTrue([dict getInt32:&value forKey:1U]);
488 XCTAssertTrue([dict getInt32:NULL forKey:2U]);
489 XCTAssertTrue([dict getInt32:&value forKey:2U]);
491 XCTAssertTrue([dict getInt32:NULL forKey:3U]);
492 XCTAssertTrue([dict getInt32:&value forKey:3U]);
[all …]
DGPBDictionaryTests+UInt64.m449 XCTAssertFalse([dict getInt32:NULL forKey:31ULL]);
463 XCTAssertTrue([dict getInt32:NULL forKey:31ULL]);
464 XCTAssertTrue([dict getInt32:&value forKey:31ULL]);
466 XCTAssertFalse([dict getInt32:NULL forKey:32ULL]);
485 XCTAssertTrue([dict getInt32:NULL forKey:31ULL]);
486 XCTAssertTrue([dict getInt32:&value forKey:31ULL]);
488 XCTAssertTrue([dict getInt32:NULL forKey:32ULL]);
489 XCTAssertTrue([dict getInt32:&value forKey:32ULL]);
491 XCTAssertTrue([dict getInt32:NULL forKey:33ULL]);
492 XCTAssertTrue([dict getInt32:&value forKey:33ULL]);
[all …]
DGPBDictionaryTests+Int64.m449 XCTAssertFalse([dict getInt32:NULL forKey:21LL]);
463 XCTAssertTrue([dict getInt32:NULL forKey:21LL]);
464 XCTAssertTrue([dict getInt32:&value forKey:21LL]);
466 XCTAssertFalse([dict getInt32:NULL forKey:22LL]);
485 XCTAssertTrue([dict getInt32:NULL forKey:21LL]);
486 XCTAssertTrue([dict getInt32:&value forKey:21LL]);
488 XCTAssertTrue([dict getInt32:NULL forKey:22LL]);
489 XCTAssertTrue([dict getInt32:&value forKey:22LL]);
491 XCTAssertTrue([dict getInt32:NULL forKey:23LL]);
492 XCTAssertTrue([dict getInt32:&value forKey:23LL]);
[all …]
/external/tensorflow/tensorflow/compiler/xla/service/cpu/
Dvector_support_library.cc273 mask[j] = b()->getInt32(i / 2 + j); in AddReduce()
285 return b()->CreateExtractElement(vector, b()->getInt32(0), name()); in AddReduce()
312 mask_a.push_back(b()->getInt32(increment + i)); in AvxStyleHorizontalAdd()
313 mask_b.push_back(b()->getInt32(increment + i + 1)); in AvxStyleHorizontalAdd()
317 mask_a.push_back(b()->getInt32(increment + i)); in AvxStyleHorizontalAdd()
318 mask_b.push_back(b()->getInt32(increment + i + 1)); in AvxStyleHorizontalAdd()
332 mask.push_back(b()->getInt32(i)); in ExtractLowHalf()
342 mask.push_back(b()->getInt32(i + vector_size() / 2)); in ExtractHighHalf()
364 b()->CreateExtractElement(init_values, b()->getInt32(i))); in ComputeHorizontalSums()
403 b()->getInt32(i % (lane_width / 2)), name()); in ComputeAvxOptimizedHorizontalSums()
/external/libchrome/mojo/public/js/lib/
Dbuffer.js85 Buffer.prototype.getInt32 = function(offset) { method in Buffer
86 return this.dataView.getInt32(offset, kHostIsLittleEndian);
92 hi = this.dataView.getInt32(offset + 4, kHostIsLittleEndian);
94 hi = this.dataView.getInt32(offset, kHostIsLittleEndian);
/external/llvm-project/llvm/lib/Target/WebAssembly/
DWebAssemblyLowerEmscriptenEHSjLj.cpp414 IRB.CreateStore(IRB.getInt32(0), ThrewGV); in wrapInvoke()
463 IRB.CreateStore(IRB.getInt32(0), ThrewGV); in wrapInvoke()
567 Value *ThrewCmp = IRB.CreateICmpNE(Threw, IRB.getInt32(0)); in wrapTestSetjmp()
570 Value *ThrewValueCmp = IRB.CreateICmpNE(ThrewValue, IRB.getInt32(0)); in wrapTestSetjmp()
585 Value *Cmp2 = IRB.CreateICmpEQ(ThenLabel, IRB.getInt32(0)); in wrapTestSetjmp()
606 LabelPHI->addIncoming(IRB.getInt32(-1), ElseBB1); in wrapTestSetjmp()
808 Value *Cmp = IRB.CreateICmpEQ(Threw, IRB.getInt32(1), "cmp"); in runEHOnFunction()
960 Instruction::Add, IRB.getInt32(4), IRB.getInt32(0), "setjmpTableSize", in runSjLjOnFunction()
965 SetjmpTableSize, IRB.getInt32Ty(), IRB.getInt32Ty(), IRB.getInt32(40), in runSjLjOnFunction()
976 IRB.CreateStore(IRB.getInt32(0), SetjmpTable); in runSjLjOnFunction()
[all …]
/external/llvm-project/llvm/unittests/Transforms/Utils/
DLocalTest.cpp83 P1->addIncoming(B.getInt32(42), Entry); in TEST()
86 P2->addIncoming(B.getInt32(42), Entry); in TEST()
89 P3->addIncoming(B.getInt32(42), Entry); in TEST()
90 P3->addIncoming(B.getInt32(23), BB); in TEST()
93 P4->addIncoming(B.getInt32(42), Entry); in TEST()
94 P4->addIncoming(B.getInt32(23), BB); in TEST()
1039 VarArgFunc, {B.getInt32(0), B.getInt32(1), B.getInt32(2)}); in TEST()
1046 VarArgIntrin, {B.getInt32(0), B.getInt32(1), B.getInt32(2)}); in TEST()
/external/llvm/unittests/IR/
DPatternMatch.cpp54 Value *One = IRB.CreateAdd(IRB.CreateAdd(IRB.getInt32(1), IRB.getInt32(2)), in TEST_F()
55 IRB.getInt32(42)); in TEST_F()
56 Value *Two = IRB.CreateAdd(One, IRB.getInt32(42)); in TEST_F()
57 Value *Leaf = IRB.CreateAdd(IRB.CreateAdd(Two, IRB.getInt32(8)), in TEST_F()
58 IRB.CreateAdd(Two, IRB.getInt32(13))); in TEST_F()
225 Value *L = IRB.getInt32(1); in TEST_F()
226 Value *R = IRB.getInt32(2); in TEST_F()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DIRBuilder.cpp132 Value *Ops[] = {Ptr, Val, Size, getInt32(ElementSize)}; in CreateElementUnorderedAtomicMemSet()
214 Value *Ops[] = {Dst, Src, Size, getInt32(ElementSize)}; in CreateElementUnorderedAtomicMemCpy()
289 Value *Ops[] = {Dst, Src, Size, getInt32(ElementSize)}; in CreateElementUnorderedAtomicMemMove()
486 Value *Ops[] = { Ptr, getInt32(Align), Mask, PassThru}; in CreateMaskedLoad()
504 Value *Ops[] = { Val, Ptr, getInt32(Align), Mask }; in CreateMaskedStore()
544 Value * Ops[] = {Ptrs, getInt32(Align), Mask, PassThru}; in CreateMaskedGather()
577 Value * Ops[] = {Data, Ptrs, getInt32(Align), Mask}; in CreateMaskedScatter()
592 Args.push_back(B.getInt32(NumPatchBytes)); in getStatepointArgs()
594 Args.push_back(B.getInt32(CallArgs.size())); in getStatepointArgs()
595 Args.push_back(B.getInt32(Flags)); in getStatepointArgs()
[all …]
/external/llvm-project/llvm/lib/IR/
DIRBuilder.cpp127 Value *Ops[] = {Ptr, Val, Size, getInt32(ElementSize)}; in CreateElementUnorderedAtomicMemSet()
222 Value *Ops[] = {Dst, Src, Size, getInt32(ElementSize)}; in CreateElementUnorderedAtomicMemCpy()
297 Value *Ops[] = {Dst, Src, Size, getInt32(ElementSize)}; in CreateElementUnorderedAtomicMemMove()
485 Value *Ops[] = {Ptr, getInt32(Alignment.value()), Mask, PassThru}; in CreateMaskedLoad()
503 Value *Ops[] = {Val, Ptr, getInt32(Alignment.value()), Mask}; in CreateMaskedStore()
543 Value *Ops[] = {Ptrs, getInt32(Alignment.value()), Mask, PassThru}; in CreateMaskedGather()
576 Value *Ops[] = {Data, Ptrs, getInt32(Alignment.value()), Mask}; in CreateMaskedScatter()
589 Args.push_back(B.getInt32(NumPatchBytes)); in getStatepointArgs()
591 Args.push_back(B.getInt32(CallArgs.size())); in getStatepointArgs()
592 Args.push_back(B.getInt32(Flags)); in getStatepointArgs()
[all …]
/external/llvm-project/clang/lib/CodeGen/
DCGOpenMPRuntimeAMDGCN.cpp39 return Bld.getInt32(WarpSize); in getGPUWarpSize()
60 Bld.CreateCall(F, {Bld.getInt32(0)}, "nvptx_num_threads"), CGF.Int32Ty); in getGPUNumThreads()
/external/llvm-project/llvm/examples/HowToUseJIT/
DHowToUseJIT.cpp85 Value *One = builder.getInt32(1); in main()
113 Value *Ten = builder.getInt32(10); in main()
/external/llvm/examples/HowToUseJIT/
DHowToUseJIT.cpp87 Value *One = builder.getInt32(1); in main()
115 Value *Ten = builder.getInt32(10); in main()
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Dtarget_util.cc80 {b_->getInt32(0)}, {U32}, U64, {}, in GetIntrinsic()
88 {b_->getInt32(1)}, {U32}, U64, {}, in GetIntrinsic()
96 {b_->getInt32(2)}, {U32}, U64, {}, in GetIntrinsic()
265 llvm::ConstantAsMetadata::get(b->getInt32(1))})); in AnnotateFunctionAsGpuKernel()

12345678