Home
last modified time | relevance | path

Searched refs:getConstantInt32 (Results 1 – 11 of 11) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/subzero/src/
DIceTargetLoweringARM32.cpp552 Src1 = Ctx->getConstantInt32(NewC); in genTargetHelperCallFor()
1463 Operand *SubAmount = legalize(Ctx->getConstantInt32(SpillAreaSizeBytes), in addProlog()
1565 legalize(Ctx->getConstantInt32(SpillAreaSizeBytes), in addEpilog()
1590 Target->legalize(Target->Ctx->getConstantInt32(-Offset), in newBaseRegister()
1595 Target->legalize(Target->Ctx->getConstantInt32(Offset), in newBaseRegister()
1627 llvm::cast<ConstantInteger32>(Target->Ctx->getConstantInt32(Offset)), in createMemOperand()
1646 llvm::cast<ConstantInteger32>(Target->Ctx->getConstantInt32(OffsetDiff)), in createMemOperand()
1913 return Ctx->getConstantInt32(static_cast<uint32_t>(Const->getValue())); in loOperand()
1940 return Ctx->getConstantInt32( in hiOperand()
1954 Constant *Four = Ctx->getConstantInt32(4); in hiOperand()
[all …]
DIceTargetLoweringX8632.cpp1007 _sub_sp(Ctx->getConstantInt32(SpillAreaSizeBytes)); in addProlog()
1017 Ctx->getConstantInt32(-RequiredStackAlignment)); in addProlog()
1153 Ctx->getConstantInt32(Arg->getStackOffset() + StackAdjBytes)); in finishArgumentLowering()
1188 _add_sp(Ctx->getConstantInt32(SpillAreaSizeBytes)); in addEpilog()
1224 Ctx->getConstantInt32(static_cast<int32_t>(Const->getValue()))); in loOperand()
1250 Ctx->getConstantInt32(static_cast<int32_t>(Const->getValue() >> 32))); in hiOperand()
1257 Offset = Ctx->getConstantInt32(4); in hiOperand()
1259 Offset = Ctx->getConstantInt32(4 + IntOffset->getValue()); in hiOperand()
1312 _and(esp, Ctx->getConstantInt32(-Alignment)); in lowerAlloca()
1323 _sub_sp(Ctx->getConstantInt32(Value)); in lowerAlloca()
[all …]
DIceTargetLoweringMIPS32.cpp283 auto *Index = Ctx->getConstantInt32(I); in genTargetHelperCallFor()
312 auto *Index = Ctx->getConstantInt32(I); in genTargetHelperCallFor()
340 auto *Index = Ctx->getConstantInt32(I); in genTargetHelperCallFor()
431 auto *Index = Ctx->getConstantInt32(I); in genTargetHelperCallFor()
595 auto *Index = Ctx->getConstantInt32(i); in genTargetHelperCallFor()
1117 llvm::cast<ConstantInteger32>(Ctx->getConstantInt32(Offset))); in formMemoryOperand()
1639 llvm::cast<ConstantInteger32>(Ctx->getConstantInt32(StackOffset))); in addProlog()
1762 llvm::cast<ConstantInteger32>(Ctx->getConstantInt32(StackOffset))); in addEpilog()
1786 Target->_lui(ScratchReg, Target->Ctx->getConstantInt32(UpperBits)); in newBaseRegister()
1809 llvm::cast<ConstantInteger32>(Target->Ctx->getConstantInt32(Offset))); in legalizeMovFp()
[all …]
DIceTargetLoweringX8664.cpp1002 _sub_sp(Ctx->getConstantInt32(SpillAreaSizeBytes)); in addProlog()
1135 Ctx->getConstantInt32(Arg->getStackOffset() + StackAdjBytes)); in finishArgumentLowering()
1170 _add_sp(Ctx->getConstantInt32(SpillAreaSizeBytes)); in addEpilog()
1222 _and(esp, Ctx->getConstantInt32(-Alignment)); in lowerAlloca()
1233 _sub_sp(Ctx->getConstantInt32(Value)); in lowerAlloca()
1253 _add(T, Ctx->getConstantInt32(Alignment - 1)); in lowerAlloca()
1254 _and(T, Ctx->getConstantInt32(-Alignment)); in lowerAlloca()
1449 Constant *SignExtend = Ctx->getConstantInt32(0x1f); in lowerShift64()
1453 Constant *ReducedShift = Ctx->getConstantInt32(ShiftAmount - 32); in lowerShift64()
1573 Constant *BitTest = Ctx->getConstantInt32(0x20); in lowerShift64()
[all …]
DWasmTranslator.cpp366 auto *Const = Ctx->getConstantInt32(Value); in Int32Constant()
721 Ctx->getConstantInt32(0))); in Unop()
981 Ctx->getConstantInt32(0))); in Branch()
1382 Base = Ctx->getConstantInt32(RealOffset); in sanitizeAddress()
1386 auto *OffsetConstant = Ctx->getConstantInt32(Offset); in sanitizeAddress()
1404 Ctx->getConstantInt32(MemSize))); in sanitizeAddress()
DIceCfg.cpp872 Operand *AllocaOffset = Ctx->getConstantInt32(Offsets[i]); in sortAndCombineAllocas()
879 Operand *AllocaSize = Ctx->getConstantInt32(TotalSize); in sortAndCombineAllocas()
1407 Ctx->getConstantInt32(Index->getValue() + Extracts.size()))); in materializeVectorShuffles()
DIceGlobalContext.h227 Constant *getConstantInt32(int32_t ConstantInt32) { in getConstantInt32() function
DIceTargetLowering.h487 auto *Index = Ctx->getConstantInt32(I); in scalarizeInstruction()
DIceGlobalContext.cpp681 return getConstantInt32(Value); in getConstantInt()
DIceTargetLoweringARM32.h194 llvm::cast<ConstantInteger32>(Ctx->getConstantInt32(ShAmtImm & 0x1F))); in shAmtImm()
/third_party/skia/third_party/externals/swiftshader/src/Reactor/
DSubzeroReactor.cpp118 return context->getConstantInt32(reinterpret_cast<intptr_t>(ptr)); in getConstantPointer()
1443 load->addArg(::context->getConstantInt32(typeSize(type))); in createLoad()
1514 store->addArg(::context->getConstantInt32(typeSize(type))); in createStore()
1572 auto op = ::context->getConstantInt32(rmwOp); in createAtomicRMW()
1573 auto order = ::context->getConstantInt32(stdToIceMemoryOrder(memoryOrder)); in createAtomicRMW()
1626 auto orderEq = ::context->getConstantInt32(stdToIceMemoryOrder(memoryOrderEqual)); in createAtomicCompareExchange()
1627 auto orderNeq = ::context->getConstantInt32(stdToIceMemoryOrder(memoryOrderUnequal)); in createAtomicCompareExchange()
1896 …Ice::InstExtractElement::create(::function, result, V(vector), ::context->getConstantInt32(index)); in createExtractElement()
1906 …InstInsertElement::create(::function, result, vector, element, ::context->getConstantInt32(index)); in createInsertElement()
1923 shuffle->addIndex(llvm::cast<Ice::ConstantInteger32>(::context->getConstantInt32(select[i]))); in createShuffleVector()
[all …]