Home
last modified time | relevance | path

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

/external/llvm/lib/Target/AMDGPU/
DSIISelLowering.cpp3250 unsigned BitsSet = 0; in AdjustInstrPostInstrSelection() local
3252 BitsSet += Writemask & (1 << i) ? 1 : 0; in AdjustInstrPostInstrSelection()
3255 switch (BitsSet) { in AdjustInstrPostInstrSelection()
3262 unsigned NewOpcode = TII->getMaskedMIMGOp(MI.getOpcode(), BitsSet); in AdjustInstrPostInstrSelection()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DSIISelLowering.cpp7991 unsigned BitsSet = countPopulation(NewDmask); in adjustWritemask() local
7993 int NewOpcode = AMDGPU::getMaskedMIMGOp(Node->getMachineOpcode(), BitsSet); in adjustWritemask()
8006 MVT ResultVT = BitsSet == 1 ? in adjustWritemask()
8007 SVT : MVT::getVectorVT(SVT, BitsSet == 3 ? 4 : BitsSet); in adjustWritemask()
8021 if (BitsSet == 1) { in adjustWritemask()