Home
last modified time | relevance | path

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

/external/swiftshader/third_party/subzero/src/
DIceTargetLoweringARM32.cpp562 Src1 = Ctx->getConstantInt32(NewC); in genTargetHelperCallFor()
1624 Operand *SubAmount = legalize(Ctx->getConstantInt32(SpillAreaSizeBytes), in addProlog()
1728 legalize(Ctx->getConstantInt32(SpillAreaSizeBytes), in addEpilog()
1774 Target->legalize(Target->Ctx->getConstantInt32(-Offset), in newBaseRegister()
1779 Target->legalize(Target->Ctx->getConstantInt32(Offset), in newBaseRegister()
1811 llvm::cast<ConstantInteger32>(Target->Ctx->getConstantInt32(Offset)), in createMemOperand()
1830 llvm::cast<ConstantInteger32>(Target->Ctx->getConstantInt32(OffsetDiff)), in createMemOperand()
2103 return Ctx->getConstantInt32(static_cast<uint32_t>(Const->getValue())); in loOperand()
2130 return Ctx->getConstantInt32( in hiOperand()
2144 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()
603 auto *Index = Ctx->getConstantInt32(i); in genTargetHelperCallFor()
1149 llvm::cast<ConstantInteger32>(Ctx->getConstantInt32(Offset))); in formMemoryOperand()
1668 llvm::cast<ConstantInteger32>(Ctx->getConstantInt32(StackOffset))); in addProlog()
1791 llvm::cast<ConstantInteger32>(Ctx->getConstantInt32(StackOffset))); in addEpilog()
1826 Target->_lui(ScratchReg, Target->Ctx->getConstantInt32(UpperBits)); in newBaseRegister()
1849 llvm::cast<ConstantInteger32>(Target->Ctx->getConstantInt32(Offset))); in legalizeMovFp()
[all …]
DIceTargetLoweringX86BaseImpl.h1162 _sub_sp(Ctx->getConstantInt32(SpillAreaSizeBytes));
1170 Ctx->getConstantInt32(-RequiredStackAlignment));
1305 Ctx->getConstantInt32(Arg->getStackOffset() + StackAdjBytes));
1341 _add_sp(Ctx->getConstantInt32(SpillAreaSizeBytes));
1392 Ctx->getConstantInt32(static_cast<int32_t>(Const->getValue())));
1421 Ctx->getConstantInt32(static_cast<int32_t>(Const->getValue() >> 32)));
1428 Offset = Ctx->getConstantInt32(4);
1430 Offset = Ctx->getConstantInt32(4 + IntOffset->getValue());
1486 _and(esp, Ctx->getConstantInt32(-Alignment));
1497 _sub_sp(Ctx->getConstantInt32(Value));
[all …]
DIceTargetLoweringX8632.cpp297 _and(JumpTarget, Ctx->getConstantInt32(~(BundleSize - 1))); in lowerIndirectJump()
355 _and(CallTargetVar, Ctx->getConstantInt32(~(BundleSize - 1))); in emitCallToTarget()
DIceTargetLoweringX8664.cpp610 _and(T, Ctx->getConstantInt32(~(BundleSize - 1))); in lowerIndirectJump()
674 _and(T, Ctx->getConstantInt32(~(BundleSize - 1))); in emitCallToTarget()
726 _and(T_ecx, Ctx->getConstantInt32(~(BundleSize - 1))); in emitSandboxedReturn()
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.cpp969 Operand *AllocaOffset = Ctx->getConstantInt32(Offsets[i]); in sortAndCombineAllocas()
976 Operand *AllocaSize = Ctx->getConstantInt32(TotalSize); in sortAndCombineAllocas()
1504 Ctx->getConstantInt32(Index->getValue() + Extracts.size()))); in materializeVectorShuffles()
DIceTargetLowering.h531 auto *Index = Ctx->getConstantInt32(I); in scalarizeInstruction()
DIceGlobalContext.h228 Constant *getConstantInt32(int32_t ConstantInt32) { in getConstantInt32() function
DIceCfgNode.cpp1480 Constant *AtomicRMWOp = Ctx->getConstantInt32(Intrinsics::AtomicAdd); in profileExecutionCount()
1483 Ctx->getConstantInt32(Intrinsics::MemoryOrderAcquireRelease); in profileExecutionCount()
DIceGlobalContext.cpp750 return getConstantInt32(Value); in getConstantInt()
DIceTargetLoweringARM32.h195 llvm::cast<ConstantInteger32>(Ctx->getConstantInt32(ShAmtImm & 0x1F))); in shAmtImm()
/external/swiftshader/src/Reactor/
DSubzeroReactor.cpp882 load->addArg(::context->getConstantInt32(typeSize(type))); in createLoad()
938 store->addArg(::context->getConstantInt32(typeSize(type))); in createStore()
1213 … = Ice::InstExtractElement::create(::function, result, vector, ::context->getConstantInt32(index)); in createExtractElement()
1222 …InstInsertElement::create(::function, result, vector, element, ::context->getConstantInt32(index)); in createInsertElement()
1238 shuffle->addIndex(llvm::cast<Ice::ConstantInteger32>(::context->getConstantInt32(select[i]))); in createShuffleVector()
1337 return V(::context->getConstantInt32(i)); in createConstantInt()
1342 return V(::context->getConstantInt32(i)); in createConstantInt()
2843 return RValue<SByte8>(Nucleus::createAShr(lhs.value, V(::context->getConstantInt32(rhs)))); in operator >>()
3404 return RValue<Short4>(Nucleus::createShl(lhs.value, V(::context->getConstantInt32(rhs)))); in operator <<()
3422 return RValue<Short4>(Nucleus::createAShr(lhs.value, V(::context->getConstantInt32(rhs)))); in operator >>()
[all …]