Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/drivers/radeon/
DR600InstrInfo.cpp274 MachineInstr *PredSet = findFirstPredicateSetterFrom(MBB, MBB.end()); in InsertBranch() local
275 assert(PredSet && "No previous predicate !"); in InsertBranch()
276 addFlag(PredSet, 1, MO_FLAG_PUSH); in InsertBranch()
277 PredSet->getOperand(2).setImm(Cond[1].getImm()); in InsertBranch()
285 MachineInstr *PredSet = findFirstPredicateSetterFrom(MBB, MBB.end()); in InsertBranch() local
286 assert(PredSet && "No previous predicate !"); in InsertBranch()
287 addFlag(PredSet, 1, MO_FLAG_PUSH); in InsertBranch()
288 PredSet->getOperand(2).setImm(Cond[1].getImm()); in InsertBranch()
/external/llvm/lib/Target/R600/
DR600ExpandSpecialInstrs.cpp105 MachineInstr *PredSet = TII->buildDefaultInstruction(MBB, I, in runOnMachineFunction() local
110 TII->addFlag(PredSet, 0, MO_FLAG_MASK); in runOnMachineFunction()
112 TII->setImmOperand(PredSet, AMDGPU::OpName::update_exec_mask, 1); in runOnMachineFunction()
114 TII->setImmOperand(PredSet, AMDGPU::OpName::update_pred, 1); in runOnMachineFunction()
DR600InstrInfo.cpp794 MachineInstr *PredSet = findFirstPredicateSetterFrom(MBB, MBB.end()); in InsertBranch() local
795 assert(PredSet && "No previous predicate !"); in InsertBranch()
796 addFlag(PredSet, 0, MO_FLAG_PUSH); in InsertBranch()
797 PredSet->getOperand(2).setImm(Cond[1].getImm()); in InsertBranch()
810 MachineInstr *PredSet = findFirstPredicateSetterFrom(MBB, MBB.end()); in InsertBranch() local
811 assert(PredSet && "No previous predicate !"); in InsertBranch()
812 addFlag(PredSet, 0, MO_FLAG_PUSH); in InsertBranch()
813 PredSet->getOperand(2).setImm(Cond[1].getImm()); in InsertBranch()
/external/llvm/lib/Transforms/Utils/
DBasicBlockUtils.cpp393 SmallPtrSet<BasicBlock *, 16> PredSet(Preds.begin(), Preds.end()); in UpdatePHINodes() local
403 if (!PredSet.count(PN->getIncomingBlock(i))) in UpdatePHINodes()
424 if (PredSet.count(PN->getIncomingBlock(i))) in UpdatePHINodes()
447 if (PredSet.count(IncomingBB)) { in UpdatePHINodes()