/external/llvm/utils/TableGen/ |
D | DAGISelMatcherEmitter.cpp | 319 unsigned IdxSize; in EmitMatcher() local 322 IdxSize = 2; // size of opcode in table is 2 bytes. in EmitMatcher() 325 IdxSize = 1; // size of type in table is 1 byte. in EmitMatcher() 342 ChildSize = EmitMatcherList(Child, Indent+1, CurrentIdx+VBRSize+IdxSize, in EmitMatcher() 365 CurrentIdx += IdxSize; in EmitMatcher()
|
/external/llvm-project/llvm/utils/TableGen/ |
D | DAGISelMatcherEmitter.cpp | 519 unsigned IdxSize; in EmitMatcher() local 522 IdxSize = 2; // size of opcode in table is 2 bytes. in EmitMatcher() 525 IdxSize = 1; // size of type in table is 1 byte. in EmitMatcher() 538 CurrentIdx += EmitVBRValue(ChildSize, OS) + IdxSize; in EmitMatcher()
|
/external/llvm/lib/IR/ |
D | AutoUpgrade.cpp | 379 unsigned IdxSize = Idx->getPrimitiveSizeInBits(); in UpgradeIntrinsicFunction1() local 382 if (EltSize == 64 && IdxSize == 128) in UpgradeIntrinsicFunction1() 384 else if (EltSize == 32 && IdxSize == 128) in UpgradeIntrinsicFunction1() 386 else if (EltSize == 64 && IdxSize == 256) in UpgradeIntrinsicFunction1() 1081 unsigned IdxSize = 64 / VecTy->getScalarSizeInBits(); in UpgradeIntrinsicCall() local 1082 unsigned IdxMask = ((1 << IdxSize) - 1); in UpgradeIntrinsicCall() 1089 Idxs[i] = ((Imm >> ((i * IdxSize) % 8)) & IdxMask) | (i & ~IdxMask); in UpgradeIntrinsicCall()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
D | AMDGPURegisterBankInfo.cpp | 2837 unsigned IdxSize = MRI.getType(MI.getOperand(2).getReg()).getSizeInBits(); in getInstrMapping() local 2845 OpdsMapping[2] = AMDGPU::getValueMapping(IdxBank, IdxSize); in getInstrMapping() 2854 unsigned IdxSize = MRI.getType(MI.getOperand(3).getReg()).getSizeInBits(); in getInstrMapping() local 2866 OpdsMapping[3] = AMDGPU::getValueMapping(IdxBankID, IdxSize); in getInstrMapping() 3021 unsigned IdxSize = MRI.getType(IdxReg).getSizeInBits(); in getInstrMapping() local 3023 OpdsMapping[3] = AMDGPU::getValueMapping(IdxBank, IdxSize); in getInstrMapping() 3039 unsigned IdxSize = MRI.getType(IdxReg).getSizeInBits(); in getInstrMapping() local 3046 OpdsMapping[3] = AMDGPU::getValueMapping(IdxBank, IdxSize); in getInstrMapping()
|
/external/llvm-project/llvm/lib/Target/AMDGPU/ |
D | AMDGPURegisterBankInfo.cpp | 3843 unsigned IdxSize = MRI.getType(MI.getOperand(2).getReg()).getSizeInBits(); in getInstrMapping() local 3851 OpdsMapping[2] = AMDGPU::getValueMapping(IdxBank, IdxSize); in getInstrMapping() 3860 unsigned IdxSize = MRI.getType(MI.getOperand(3).getReg()).getSizeInBits(); in getInstrMapping() local 3878 OpdsMapping[3] = AMDGPU::getValueMapping(IdxBankID, IdxSize); in getInstrMapping() 4130 unsigned IdxSize = MRI.getType(IdxReg).getSizeInBits(); in getInstrMapping() local 4132 OpdsMapping[3] = AMDGPU::getValueMapping(IdxBank, IdxSize); in getInstrMapping() 4148 unsigned IdxSize = MRI.getType(IdxReg).getSizeInBits(); in getInstrMapping() local 4155 OpdsMapping[3] = AMDGPU::getValueMapping(IdxBank, IdxSize); in getInstrMapping()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/ |
D | AutoUpgrade.cpp | 469 unsigned IdxSize = Idx->getPrimitiveSizeInBits(); in UpgradeX86IntrinsicFunction() local 472 if (EltSize == 64 && IdxSize == 128) in UpgradeX86IntrinsicFunction() 474 else if (EltSize == 32 && IdxSize == 128) in UpgradeX86IntrinsicFunction() 476 else if (EltSize == 64 && IdxSize == 256) in UpgradeX86IntrinsicFunction() 2570 unsigned IdxSize = 64 / VecTy->getScalarSizeInBits(); in UpgradeIntrinsicCall() local 2571 unsigned IdxMask = ((1 << IdxSize) - 1); in UpgradeIntrinsicCall() 2578 Idxs[i] = ((Imm >> ((i * IdxSize) % 8)) & IdxMask) | (i & ~IdxMask); in UpgradeIntrinsicCall()
|
/external/llvm-project/llvm/lib/IR/ |
D | AutoUpgrade.cpp | 510 unsigned IdxSize = Idx->getPrimitiveSizeInBits(); in UpgradeX86IntrinsicFunction() local 513 if (EltSize == 64 && IdxSize == 128) in UpgradeX86IntrinsicFunction() 515 else if (EltSize == 32 && IdxSize == 128) in UpgradeX86IntrinsicFunction() 517 else if (EltSize == 64 && IdxSize == 256) in UpgradeX86IntrinsicFunction() 2703 unsigned IdxSize = 64 / VecTy->getScalarSizeInBits(); in UpgradeIntrinsicCall() local 2704 unsigned IdxMask = ((1 << IdxSize) - 1); in UpgradeIntrinsicCall() 2711 Idxs[i] = ((Imm >> ((i * IdxSize) % 8)) & IdxMask) | (i & ~IdxMask); in UpgradeIntrinsicCall()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/ |
D | SelectionDAGBuilder.cpp | 3913 unsigned IdxSize = DAG.getDataLayout().getIndexSizeInBits(AS); in visitGetElementPtr() local 3914 MVT IdxTy = MVT::getIntegerVT(IdxSize); in visitGetElementPtr() 3915 APInt ElementSize(IdxSize, DL->getTypeAllocSize(GTI.getIndexedType())); in visitGetElementPtr() 3926 APInt Offs = ElementSize * CI->getValue().sextOrTrunc(IdxSize); in visitGetElementPtr()
|
/external/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
D | SelectionDAGBuilder.cpp | 3756 unsigned IdxSize = DAG.getDataLayout().getIndexSizeInBits(AS); in visitGetElementPtr() local 3757 MVT IdxTy = MVT::getIntegerVT(IdxSize); in visitGetElementPtr() 3761 APInt ElementMul(IdxSize, ElementSize.getKnownMinSize()); in visitGetElementPtr() 3774 APInt Offs = ElementMul * CI->getValue().sextOrTrunc(IdxSize); in visitGetElementPtr()
|