Home
last modified time | relevance | path

Searched refs:ExpectedIdx (Results 1 – 2 of 2) sorted by relevance

/external/llvm-project/clang-tools-extra/unittests/clang-doc/
DGeneratorTest.cpp46 Index ExpectedIdx; in TEST() local
49 ExpectedIdx.Children.emplace_back(std::move(IndexA)); in TEST()
55 ExpectedIdx.Children.emplace_back(std::move(IndexB)); in TEST()
64 ExpectedIdx.Children.emplace_back(std::move(IndexD)); in TEST()
68 ExpectedIdx.Children.emplace_back(std::move(IndexG)); in TEST()
70 CheckIndex(ExpectedIdx, Idx); in TEST()
82 Index ExpectedIdx; in TEST() local
83 ExpectedIdx.Children.emplace_back("a"); in TEST()
84 ExpectedIdx.Children.emplace_back("A"); in TEST()
85 ExpectedIdx.Children.emplace_back("aa"); in TEST()
[all …]
/external/llvm-project/llvm/lib/Target/X86/
DX86ISelLowering.cpp10849 int Idx, int ExpectedIdx) { in IsElementEquivalent() argument
10850 assert(0 <= Idx && Idx < MaskSize && 0 <= ExpectedIdx && in IsElementEquivalent()
10851 ExpectedIdx < MaskSize && "Out of range element index"); in IsElementEquivalent()
10862 return Op.getOperand(Idx) == ExpectedOp.getOperand(ExpectedIdx); in IsElementEquivalent()
10881 (Idx / NumEltsPerLane) == (ExpectedIdx / NumEltsPerLane); in IsElementEquivalent()
10883 (Idx % NumHalfEltsPerLane) == (ExpectedIdx % NumHalfEltsPerLane); in IsElementEquivalent()
10913 int ExpectedIdx = ExpectedMask[i]; in isShuffleEquivalent() local
10914 if (0 <= MaskIdx && MaskIdx != ExpectedIdx) { in isShuffleEquivalent()
10916 SDValue ExpectedV = ExpectedIdx < Size ? V1 : V2; in isShuffleEquivalent()
10918 ExpectedIdx = ExpectedIdx < Size ? ExpectedIdx : (ExpectedIdx - Size); in isShuffleEquivalent()
[all …]