Searched refs:OpI (Results 1 - 9 of 9) sorted by relevance

/external/llvm/include/llvm/CodeGen/
H A DMachineInstrBundle.h96 MachineInstr::mop_iterator OpI, OpE; member in class:llvm::MachineOperandIteratorBase
101 while (OpI == OpE) {
105 OpI = InstrI->operands_begin();
125 OpI = InstrI->operands_begin();
131 MachineOperand &deref() const { return *OpI; }
135 bool isValid() const { return OpI != OpE; }
140 ++OpI;
148 return OpI - InstrI->operands_begin();
/external/llvm/lib/Transforms/Scalar/
H A DDCE.cpp112 if (Instruction *OpI = dyn_cast<Instruction>(OpV))
113 if (isInstructionTriviallyDead(OpI, TLI))
114 WorkList.insert(OpI);
H A DDeadStoreElimination.cpp148 if (Instruction *OpI = dyn_cast<Instruction>(Op))
149 if (isInstructionTriviallyDead(OpI, &TLI))
150 NowDeadInsts.push_back(OpI);
/external/llvm/lib/Transforms/InstCombine/
H A DInstCombineCasts.cpp1259 // If we have fptrunc(OpI (fpextend x), (fpextend y)), we would like to
1266 BinaryOperator *OpI = dyn_cast<BinaryOperator>(CI.getOperand(0));
1267 if (OpI && OpI->hasOneUse()) {
1268 Value *LHSOrig = lookThroughFPExtensions(OpI->getOperand(0));
1269 Value *RHSOrig = lookThroughFPExtensions(OpI->getOperand(1));
1270 unsigned OpWidth = OpI->getType()->getFPMantissaWidth();
1275 switch (OpI->getOpcode()) {
1281 // will not occur because the result of OpI is exact (as we will for
1303 BinaryOperator::Create(OpI
1461 Instruction *OpI = dyn_cast<Instruction>(FI.getOperand(0)); local
1472 Instruction *OpI = dyn_cast<Instruction>(FI.getOperand(0)); local
[all...]
H A DInstructionCombining.cpp2808 if (Instruction *OpI = dyn_cast<Instruction>(U.get()))
2809 Worklist.Add(OpI);
/external/llvm/lib/Target/AMDGPU/
H A DR600Packetizer.cpp193 int OpI = TII->getOperandIdx(MII->getOpcode(), AMDGPU::OpName::pred_sel), variable
195 unsigned PredI = (OpI > -1)?MII->getOperand(OpI).getReg():0,
/external/llvm/lib/Transforms/Utils/
H A DLocal.cpp369 if (Instruction *OpI = dyn_cast<Instruction>(OpV))
370 if (isInstructionTriviallyDead(OpI, TLI))
371 DeadInsts.push_back(OpI);
441 if (Instruction *OpI = dyn_cast<Instruction>(OpV))
442 if (isInstructionTriviallyDead(OpI, TLI))
443 WorkList.insert(OpI);
H A DSimplifyCFG.cpp1552 Instruction *OpI = dyn_cast<Instruction>(*i); local
1553 if (!OpI || OpI->getParent() != BB ||
1554 OpI->mayHaveSideEffects())
1557 ++SinkCandidateUseCounts[OpI];
/external/llvm/include/llvm/IR/
H A DPatternMatch.h1171 unsigned OpI; member in struct:llvm::PatternMatch::Argument_match
1173 Argument_match(unsigned OpIdx, const Opnd_t &V) : OpI(OpIdx), Val(V) {}
1177 return CS.isCall() && Val.match(CS.getArgument(OpI));
1182 template <unsigned OpI, typename Opnd_t>
1184 return Argument_match<Opnd_t>(OpI, Op);

Completed in 170 milliseconds