Home
last modified time | relevance | path

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

12345

/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DScalarizeMaskedMemIntrin.cpp165 Builder.CreateInBoundsGEP(EltTy, FirstEltPtr, Builder.getInt32(Idx)); in scalarizeMaskedLoad()
168 Builder.CreateInsertElement(VResult, Load, Builder.getInt32(Idx)); in scalarizeMaskedLoad()
196 Builder.CreateExtractElement(Mask, Builder.getInt32(Idx)); in scalarizeMaskedLoad()
210 Builder.CreateInBoundsGEP(EltTy, FirstEltPtr, Builder.getInt32(Idx)); in scalarizeMaskedLoad()
212 VResult = Builder.CreateInsertElement(VResult, Load, Builder.getInt32(Idx)); in scalarizeMaskedLoad()
301 Value *OneElt = Builder.CreateExtractElement(Src, Builder.getInt32(Idx)); in scalarizeMaskedStore()
303 Builder.CreateInBoundsGEP(EltTy, FirstEltPtr, Builder.getInt32(Idx)); in scalarizeMaskedStore()
318 Builder.CreateExtractElement(Mask, Builder.getInt32(Idx)); in scalarizeMaskedStore()
332 Value *OneElt = Builder.CreateExtractElement(Src, Builder.getInt32(Idx)); in scalarizeMaskedStore()
334 Builder.CreateInBoundsGEP(EltTy, FirstEltPtr, Builder.getInt32(Idx)); in scalarizeMaskedStore()
[all …]
DWasmEHPrepare.cpp268 Instruction *Exn = IRB.CreateCall(CatchF, IRB.getInt32(0), "exn"); in prepareEHPad()
303 IRB.CreateCall(LPadIndexF, IRB.getInt32(Index)); in prepareEHPad()
306 IRB.CreateStore(IRB.getInt32(Index), LPadIndexField); in prepareEHPad()
/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/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/tensorflow/tensorflow/compiler/xla/service/gpu/
Dir_emission_utils.cc196 {builder->getInt64(0), builder->getInt32(i)})); in EmitPrintf()
212 llvm::Value* all_warps_mask = builder->getInt32(-1); in EmitFullWarpShuffleDown()
218 {all_warps_mask, value, offset, builder->getInt32(kWarpSize - 1)}, {}, in EmitFullWarpShuffleDown()
236 builder->getInt32(kWarpSize - 1)}, in EmitFullWarpShuffleDown()
281 b->getInt32(0), in IsBlock0Thread0()
285 b->getInt32(0), in IsBlock0Thread0()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/WebAssembly/
DWebAssemblyLowerEmscriptenEHSjLj.cpp342 GlobalValue::WeakODRLinkage, IRB.getInt32(0), Name); in createGlobalVariableI32()
411 IRB.CreateStore(IRB.getInt32(0), ThrewGV); in wrapInvoke()
446 IRB.CreateStore(IRB.getInt32(0), ThrewGV); in wrapInvoke()
546 Value *ThrewCmp = IRB.CreateICmpNE(Threw, IRB.getInt32(0)); in wrapTestSetjmp()
549 Value *ThrewValueCmp = IRB.CreateICmpNE(ThrewValue, IRB.getInt32(0)); in wrapTestSetjmp()
564 Value *Cmp2 = IRB.CreateICmpEQ(ThenLabel, IRB.getInt32(0)); in wrapTestSetjmp()
585 LabelPHI->addIncoming(IRB.getInt32(-1), ElseBB1); in wrapTestSetjmp()
621 Value *Cmp = IRB.CreateICmpEQ(Threw, IRB.getInt32(0), "cmp"); in createSetThrewFunction()
817 Value *Cmp = IRB.CreateICmpEQ(Threw, IRB.getInt32(1), "cmp"); in runEHOnFunction()
944 Instruction::Add, IRB.getInt32(4), IRB.getInt32(0), "setjmpTableSize", in runSjLjOnFunction()
[all …]
/external/tensorflow/tensorflow/compiler/xla/service/cpu/
Dvector_support_library.cc262 mask[j] = b()->getInt32(i / 2 + j); in AddReduce()
274 return b()->CreateExtractElement(vector, b()->getInt32(0), name()); in AddReduce()
301 mask_a.push_back(b()->getInt32(increment + i)); in AvxStyleHorizontalAdd()
302 mask_b.push_back(b()->getInt32(increment + i + 1)); in AvxStyleHorizontalAdd()
306 mask_a.push_back(b()->getInt32(increment + i)); in AvxStyleHorizontalAdd()
307 mask_b.push_back(b()->getInt32(increment + i + 1)); in AvxStyleHorizontalAdd()
321 mask.push_back(b()->getInt32(i)); in ExtractLowHalf()
331 mask.push_back(b()->getInt32(i + vector_size() / 2)); in ExtractHighHalf()
353 b()->CreateExtractElement(init_values, b()->getInt32(i))); in ComputeHorizontalSums()
392 b()->getInt32(i % (lane_width / 2)), name()); in ComputeAvxOptimizedHorizontalSums()
Dllvm_ir_runtime.cc161 b->CreateVectorSplat(vector_width, b->getInt32(0x7f)); in GenerateVF32Exp()
163 b->CreateVectorSplat(vector_width, b->getInt32(23)); in GenerateVF32Exp()
216 b->CreateVectorSplat(vector_width, b->getInt32(0x7f)); in GenerateVF32Log()
218 b->CreateVectorSplat(vector_width, b->getInt32(23)); in GenerateVF32Log()
Dir_function.cc205 b->getInt8PtrTy(), b->getInt32(parameter_addresses.size()), in GetArrayFunctionCallArguments()
273 fork_join_arguments.push_back(b->getInt32(num_partitions)); in EmitCallToParallelForkJoin()
323 fork_join_arguments.push_back(b->getInt32(num_partitioned_dims)); in EmitCallToParallelForkJoin()
/external/swiftshader/third_party/llvm-7.0/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()
69 Value *X = IRB.getInt32(1); in TEST_F()
70 Value *Y = IRB.getInt32(2); in TEST_F()
320 Value *L = IRB.getInt32(1); in TEST_F()
321 Value *R = IRB.getInt32(2); in TEST_F()
402 Value *FourtyTwo = IRB.getInt32(42); in TEST_F()
[all …]
/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/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-7.0/llvm/lib/IR/
DIRBuilder.cpp134 Value *Ops[] = {Ptr, Val, Size, getInt32(ElementSize)}; in CreateElementUnorderedAtomicMemSet()
207 Value *Ops[] = {Dst, Src, Size, getInt32(ElementSize)}; in CreateElementUnorderedAtomicMemCpy()
283 Value *Ops[] = {Dst, Src, Size, getInt32(ElementSize)}; in CreateElementUnorderedAtomicMemMove()
480 Value *Ops[] = { Ptr, getInt32(Align), Mask, PassThru}; in CreateMaskedLoad()
498 Value *Ops[] = { Val, Ptr, getInt32(Align), Mask }; in CreateMaskedStore()
538 Value * Ops[] = {Ptrs, getInt32(Align), Mask, PassThru}; in CreateMaskedGather()
571 Value * Ops[] = {Data, Ptrs, getInt32(Align), Mask}; in CreateMaskedScatter()
586 Args.push_back(B.getInt32(NumPatchBytes)); in getStatepointArgs()
588 Args.push_back(B.getInt32(CallArgs.size())); in getStatepointArgs()
589 Args.push_back(B.getInt32(Flags)); in getStatepointArgs()
[all …]
/external/spirv-llvm/lib/SPIRV/
DOCL20ToSPIRV.cpp275 return getInt32(M, I); in addInt32()
932 auto Consts = getInt32(M, PreOps); in visitCallGroupBuiltin()
1015 Args.insert(Args.begin() + 2, getInt32(M, ImageOperandsSampleMask)); in visitCallReadImageMSAA()
1046 Args.push_back(getInt32(M, ImageOperandsMask::ImageOperandsLodMask)); in visitCallReadImageWithSampler()
1051 getInt32(M, ImageOperandsMask::ImageOperandsLodMask)); in visitCallReadImageWithSampler()
1055 getInt32(M, ImageOperandsMask::ImageOperandsGradMask)); in visitCallReadImageWithSampler()
1102 Args.push_back(getInt32(M, 0)); in visitCallGetImageSize()
1113 Constant *Index[] = {getInt32(M, 0), getInt32(M, 1), in visitCallGetImageSize()
1114 getInt32(M, 2), getInt32(M, 3)}; in visitCallGetImageSize()
1119 Constant *Index[] = {getInt32(M, 0), getInt32(M, 1)}; in visitCallGetImageSize()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Instrumentation/
DGCOVProfiling.cpp714 Builder.CreateStore(Builder.getInt32(i), EdgeState); in emitProfileArcs()
943 Constant *Zero32 = Builder.getInt32(0); in insertCounterWriteout()
960 Builder.getInt32(CfgChecksum)}); in insertCounterWriteout()
969 {Builder.getInt32(j), in insertCounterWriteout()
973 Builder.getInt32(FuncChecksum), in insertCounterWriteout()
975 Builder.getInt32(CfgChecksum)})); in insertCounterWriteout()
981 {Builder.getInt32(Arcs), ConstantExpr::getInBoundsGetElementPtr( in insertCounterWriteout()
1011 {StartFileCallArgs, Builder.getInt32(CountersSize), in insertCounterWriteout()
1057 IV->addIncoming(Builder.getInt32(0), BB); in insertCounterWriteout()
1059 Builder.CreateInBoundsGEP(FileInfoArrayGV, {Builder.getInt32(0), IV}); in insertCounterWriteout()
[all …]
/external/swiftshader/third_party/LLVM/examples/HowToUseJIT/
DHowToUseJIT.cpp78 Value *One = builder.getInt32(1); in main()
107 Value *Ten = builder.getInt32(10); in main()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Transforms/Utils/
DLocal.cpp81 P1->addIncoming(B.getInt32(42), Entry); in TEST()
84 P2->addIncoming(B.getInt32(42), Entry); in TEST()
87 P3->addIncoming(B.getInt32(42), Entry); in TEST()
88 P3->addIncoming(B.getInt32(23), BB); in TEST()
91 P4->addIncoming(B.getInt32(42), Entry); in TEST()
92 P4->addIncoming(B.getInt32(23), BB); in TEST()
/external/swiftshader/third_party/llvm-7.0/llvm/examples/HowToUseJIT/
DHowToUseJIT.cpp85 Value *One = builder.getInt32(1); in main()
112 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/swiftshader/third_party/LLVM/lib/VMCore/
DIRBuilder.cpp67 Value *Ops[] = { Ptr, Val, Size, getInt32(Align), getInt1(isVolatile) }; in CreateMemSet()
87 Value *Ops[] = { Dst, Src, Size, getInt32(Align), getInt1(isVolatile) }; in CreateMemCpy()
107 Value *Ops[] = { Dst, Src, Size, getInt32(Align), getInt1(isVolatile) }; in CreateMemMove()
/external/flatbuffers/tests/
DJavaScriptTest.js347 var vtable = offset - view.getInt32(offset, true);
356 case 5: assert.strictEqual(view.getInt32(field_offset, true), int_val); break;
358 …case 7: assert.strictEqual(view.getInt32(field_offset, true), long_val.low); assert.strictEqual(v…
359 …case 8: assert.strictEqual(view.getInt32(field_offset, true), ulong_val.low); assert.strictEqual(…
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/bitmap/
DImageHeaderParser.java214 int firstIfdOffset = segmentData.getInt32(headerOffsetSize + 4) + headerOffsetSize; in parseExifSegment()
238 componentCount = segmentData.getInt32(tagOffset + 4); in parseExifSegment()
310 public int getInt32(int offset) { in getInt32() method in ImageHeaderParser.RandomAccessReader
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DAMDGPUCodeGenPrepare.cpp530 ConstantInt *One = Builder.getInt32(1); in expandDivRem24()
538 JQ = Builder.CreateAShr(JQ, Builder.getInt32(30)); in expandDivRem24()
586 JQ = Builder.CreateSelect(CV, JQ, Builder.getInt32(0)); in expandDivRem24()
603 ConstantInt *TruncMask = Builder.getInt32((UINT64_C(1) << DivBits) - 1); in expandDivRem24()
646 ConstantInt *Zero = Builder.getInt32(0); in expandDivRem32()
647 ConstantInt *One = Builder.getInt32(1); in expandDivRem32()
648 ConstantInt *MinusOne = Builder.getInt32(~0); in expandDivRem32()
652 ConstantInt *K31 = Builder.getInt32(31); in expandDivRem32()
/external/clang/lib/CodeGen/
DCGOpenMPRuntimeNVPTX.cpp74 llvm::Value *Mask = Bld.CreateSub(getNVPTXWarpSize(CGF), Bld.getInt32(1)); in getMasterThreadID()
76 return Bld.CreateAnd(Bld.CreateSub(NumThreads, Bld.getInt32(1)), in getMasterThreadID()
240 llvm::Value *Args[] = {Bld.getInt32(/*OmpHandle=*/0), getNVPTXThreadID(CGF)}; in emitEntryHeader()
390 CGF.InitTempAlloca(ZeroAddr, CGF.Builder.getInt32(/*C*/ 0)); in emitTeamsCall()
/external/llvm/lib/Transforms/Utils/
DIntegerDivision.cpp43 Shift = Builder.getInt32(31); in generateSignedRemainderCode()
115 Shift = Builder.getInt32(31); in generateSignedDivisionCode()
173 Zero = Builder.getInt32(0); in generateUnsignedDivisionCode()
174 One = Builder.getInt32(1); in generateUnsignedDivisionCode()
176 MSB = Builder.getInt32(31); in generateUnsignedDivisionCode()

12345