Home
last modified time | relevance | path

Searched refs:IdxSize (Results 1 – 4 of 4) sorted by relevance

/freebsd/contrib/llvm-project/llvm/utils/TableGen/
H A DDAGISelMatcherEmitter.cpp596 unsigned IdxSize; in EmitMatcher() local
599 IdxSize = 2; // size of opcode in table is 2 bytes. in EmitMatcher()
602 IdxSize = 1; // size of type in table is 1 byte. in EmitMatcher()
615 CurrentIdx += EmitVBRValue(ChildSize, OS) + IdxSize; in EmitMatcher()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPURegisterBankInfo.cpp4276 unsigned IdxSize = MRI.getType(MI.getOperand(2).getReg()).getSizeInBits(); in getInstrMapping() local
4284 OpdsMapping[2] = AMDGPU::getValueMapping(IdxBank, IdxSize); in getInstrMapping()
4293 unsigned IdxSize = MRI.getType(MI.getOperand(3).getReg()).getSizeInBits(); in getInstrMapping() local
4311 OpdsMapping[3] = AMDGPU::getValueMapping(IdxBankID, IdxSize); in getInstrMapping()
4633 unsigned IdxSize = MRI.getType(IdxReg).getSizeInBits(); in getInstrMapping() local
4635 OpdsMapping[3] = AMDGPU::getValueMapping(IdxBank, IdxSize); in getInstrMapping()
4651 unsigned IdxSize = MRI.getType(IdxReg).getSizeInBits(); in getInstrMapping() local
4658 OpdsMapping[3] = AMDGPU::getValueMapping(IdxBank, IdxSize); in getInstrMapping()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DAutoUpgrade.cpp590 unsigned IdxSize = Idx->getPrimitiveSizeInBits(); in upgradeX86IntrinsicFunction() local
592 if (EltSize == 64 && IdxSize == 128) in upgradeX86IntrinsicFunction()
594 else if (EltSize == 32 && IdxSize == 128) in upgradeX86IntrinsicFunction()
596 else if (EltSize == 64 && IdxSize == 256) in upgradeX86IntrinsicFunction()
3070 unsigned IdxSize = 64 / VecTy->getScalarSizeInBits(); in upgradeX86IntrinsicCall() local
3071 unsigned IdxMask = ((1 << IdxSize) - 1); in upgradeX86IntrinsicCall()
3078 Idxs[i] = ((Imm >> ((i * IdxSize) % 8)) & IdxMask) | (i & ~IdxMask); in upgradeX86IntrinsicCall()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGBuilder.cpp4329 unsigned IdxSize = DAG.getDataLayout().getIndexSizeInBits(AS); in visitGetElementPtr() local
4330 MVT IdxTy = MVT::getIntegerVT(IdxSize); in visitGetElementPtr()
4335 APInt ElementMul(IdxSize, ElementSize.getKnownMinValue()); in visitGetElementPtr()
4348 APInt Offs = ElementMul * CI->getValue().sextOrTrunc(IdxSize); in visitGetElementPtr()