Home
last modified time | relevance | path

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

/external/swiftshader/third_party/subzero/src/
DIceTargetLoweringX8632.cpp302 _and(JumpTarget, Ctx->getConstantInt32(~(BundleSize - 1))); in lowerIndirectJump()
366 _and(CallTargetVar, Ctx->getConstantInt32(~(BundleSize - 1))); in emitCallToTarget()
424 _mov(EAX, Ctx->getConstantInt32(StackSizeBytes)); in emitStackProbe()
427 Ctx->getConstantInt32(reinterpret_cast<int32_t>(&_chkstk)); in emitStackProbe()
DIceTargetLoweringX8664.cpp302 Ctx->getConstantInt32(16)); // TODO(capn): accumulate all the offsets in _push_reg()
321 Ctx->getConstantInt32(16)); // TODO(capn): accumulate all the offsets in _pop_reg()
633 _and(T, Ctx->getConstantInt32(~(BundleSize - 1))); in lowerIndirectJump()
698 _and(T, Ctx->getConstantInt32(~(BundleSize - 1))); in emitCallToTarget()
784 _and(T_ecx, Ctx->getConstantInt32(~(BundleSize - 1))); in emitSandboxedReturn()
801 _mov(EAX, Ctx->getConstantInt32(StackSizeBytes)); in emitStackProbe()
DIceTargetLoweringARM32.cpp561 Src1 = Ctx->getConstantInt32(NewC); in genTargetHelperCallFor()
1615 Operand *SubAmount = legalize(Ctx->getConstantInt32(SpillAreaSizeBytes), in addProlog()
1719 legalize(Ctx->getConstantInt32(SpillAreaSizeBytes), in addEpilog()
1765 Target->legalize(Target->Ctx->getConstantInt32(-Offset), in newBaseRegister()
1770 Target->legalize(Target->Ctx->getConstantInt32(Offset), in newBaseRegister()
1802 llvm::cast<ConstantInteger32>(Target->Ctx->getConstantInt32(Offset)), in createMemOperand()
1821 llvm::cast<ConstantInteger32>(Target->Ctx->getConstantInt32(OffsetDiff)), in createMemOperand()
2097 return Ctx->getConstantInt32(static_cast<uint32_t>(Const->getValue())); in loOperand()
2124 return Ctx->getConstantInt32( in hiOperand()
2138 Constant *Four = Ctx->getConstantInt32(4); in hiOperand()
[all …]
DIceTargetLoweringMIPS32.cpp285 auto *Index = Ctx->getConstantInt32(I); in genTargetHelperCallFor()
314 auto *Index = Ctx->getConstantInt32(I); in genTargetHelperCallFor()
342 auto *Index = Ctx->getConstantInt32(I); in genTargetHelperCallFor()
433 auto *Index = Ctx->getConstantInt32(I); in genTargetHelperCallFor()
597 auto *Index = Ctx->getConstantInt32(i); in genTargetHelperCallFor()
1132 llvm::cast<ConstantInteger32>(Ctx->getConstantInt32(Offset))); in formMemoryOperand()
1653 llvm::cast<ConstantInteger32>(Ctx->getConstantInt32(StackOffset))); in addProlog()
1776 llvm::cast<ConstantInteger32>(Ctx->getConstantInt32(StackOffset))); in addEpilog()
1811 Target->_lui(ScratchReg, Target->Ctx->getConstantInt32(UpperBits)); in newBaseRegister()
1834 llvm::cast<ConstantInteger32>(Target->Ctx->getConstantInt32(Offset))); in legalizeMovFp()
[all …]
DIceTargetLoweringX86BaseImpl.h1200 _sub_sp(Ctx->getConstantInt32(SpillAreaSizeBytes));
1210 Ctx->getConstantInt32(-RequiredStackAlignment));
1355 Ctx->getConstantInt32(Arg->getStackOffset() + StackAdjBytes));
1391 _add_sp(Ctx->getConstantInt32(SpillAreaSizeBytes));
1442 Ctx->getConstantInt32(static_cast<int32_t>(Const->getValue())));
1471 Ctx->getConstantInt32(static_cast<int32_t>(Const->getValue() >> 32)));
1478 Offset = Ctx->getConstantInt32(4);
1480 Offset = Ctx->getConstantInt32(4 + IntOffset->getValue());
1536 _and(esp, Ctx->getConstantInt32(-Alignment));
1547 _sub_sp(Ctx->getConstantInt32(Value));
[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.h522 auto *Index = Ctx->getConstantInt32(I); in scalarizeInstruction()
DIceGlobalContext.cpp681 return getConstantInt32(Value); in getConstantInt()
DIceTargetLoweringARM32.h195 llvm::cast<ConstantInteger32>(Ctx->getConstantInt32(ShAmtImm & 0x1F))); in shAmtImm()
/external/swiftshader/src/Reactor/
DSubzeroReactor.cpp118 return context->getConstantInt32(reinterpret_cast<intptr_t>(ptr)); in getConstantPointer()
1444 load->addArg(::context->getConstantInt32(typeSize(type))); in createLoad()
1515 store->addArg(::context->getConstantInt32(typeSize(type))); in createStore()
1573 auto op = ::context->getConstantInt32(rmwOp); in createAtomicRMW()
1574 auto order = ::context->getConstantInt32(stdToIceMemoryOrder(memoryOrder)); in createAtomicRMW()
1627 auto orderEq = ::context->getConstantInt32(stdToIceMemoryOrder(memoryOrderEqual)); in createAtomicCompareExchange()
1628 auto orderNeq = ::context->getConstantInt32(stdToIceMemoryOrder(memoryOrderUnequal)); in createAtomicCompareExchange()
1897 …Ice::InstExtractElement::create(::function, result, V(vector), ::context->getConstantInt32(index)); in createExtractElement()
1907 …InstInsertElement::create(::function, result, vector, element, ::context->getConstantInt32(index)); in createInsertElement()
1924 shuffle->addIndex(llvm::cast<Ice::ConstantInteger32>(::context->getConstantInt32(select[i]))); in createShuffleVector()
[all …]