Home
last modified time | relevance | path

Searched refs:ConstTy (Results 1 – 3 of 3) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVInstructionSelector.cpp1411 SPIRVType *ConstTy = this->MRI->getVRegDef(MO.getReg()); in selectConstVector() local
1412 assert(ConstTy && ConstTy->getOpcode() == SPIRV::ASSIGN_TYPE && in selectConstVector()
1413 ConstTy->getOperand(1).isReg()); in selectConstVector()
1414 Register ConstReg = ConstTy->getOperand(1).getReg(); in selectConstVector()
2391 SPIRVType *ConstTy = this->MRI->getVRegDef(ThreadIdReg); in selectSpvThreadId() local
2392 assert(ConstTy && ConstTy->getOpcode() == SPIRV::ASSIGN_TYPE && in selectSpvThreadId()
2393 ConstTy->getOperand(1).isReg()); in selectSpvThreadId()
2394 Register ConstReg = ConstTy->getOperand(1).getReg(); in selectSpvThreadId()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DConstantHoisting.cpp657 Type *ConstTy = in findAndMakeBaseConstant() local
660 RebasedConstantInfo(std::move(ConstCand->Uses), Offset, ConstTy)); in findAndMakeBaseConstant()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DCombinerHelper.cpp2934 LLT ConstTy = MRI.getType(ConstReg); in applyFunnelShiftConstantModulo() local
2942 APInt(ConstTy.getSizeInBits(), DstTy.getScalarSizeInBits())); in applyFunnelShiftConstantModulo()
2944 auto NewConstInstr = Builder.buildConstant(ConstTy, NewConst.getZExtValue()); in applyFunnelShiftConstantModulo()