Home
last modified time | relevance | path

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

/external/llvm/utils/TableGen/
DDAGISelMatcherEmitter.cpp319 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/swiftshader/third_party/LLVM/utils/TableGen/
DDAGISelMatcherEmitter.cpp288 unsigned IdxSize; in EmitMatcher() local
291 IdxSize = 2; // size of opcode in table is 2 bytes. in EmitMatcher()
294 IdxSize = 1; // size of type in table is 1 byte. in EmitMatcher()
311 ChildSize = EmitMatcherList(Child, Indent+1, CurrentIdx+VBRSize+IdxSize, in EmitMatcher()
333 CurrentIdx += IdxSize; in EmitMatcher()
/external/swiftshader/third_party/llvm-7.0/llvm/utils/TableGen/
DDAGISelMatcherEmitter.cpp432 unsigned IdxSize; in EmitMatcher() local
435 IdxSize = 2; // size of opcode in table is 2 bytes. in EmitMatcher()
438 IdxSize = 1; // size of type in table is 1 byte. in EmitMatcher()
454 ChildSize = EmitMatcherList(Child, Indent+1, CurrentIdx+VBRSize+IdxSize, in EmitMatcher()
477 CurrentIdx += IdxSize; in EmitMatcher()
/external/llvm/lib/IR/
DAutoUpgrade.cpp379 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-7.0/llvm/lib/IR/
DAutoUpgrade.cpp414 unsigned IdxSize = Idx->getPrimitiveSizeInBits(); in UpgradeX86IntrinsicFunction() local
417 if (EltSize == 64 && IdxSize == 128) in UpgradeX86IntrinsicFunction()
419 else if (EltSize == 32 && IdxSize == 128) in UpgradeX86IntrinsicFunction()
421 else if (EltSize == 64 && IdxSize == 256) in UpgradeX86IntrinsicFunction()
2247 unsigned IdxSize = 64 / VecTy->getScalarSizeInBits(); in UpgradeIntrinsicCall() local
2248 unsigned IdxMask = ((1 << IdxSize) - 1); in UpgradeIntrinsicCall()
2255 Idxs[i] = ((Imm >> ((i * IdxSize) % 8)) & IdxMask) | (i & ~IdxMask); in UpgradeIntrinsicCall()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAGBuilder.cpp3500 unsigned IdxSize = DAG.getDataLayout().getIndexSizeInBits(AS); in visitGetElementPtr() local
3501 MVT IdxTy = MVT::getIntegerVT(IdxSize); in visitGetElementPtr()
3502 APInt ElementSize(IdxSize, DL->getTypeAllocSize(GTI.getIndexedType())); in visitGetElementPtr()
3514 APInt Offs = ElementSize * CI->getValue().sextOrTrunc(IdxSize); in visitGetElementPtr()