Searched refs:OpI (Results 1 - 10 of 10) 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/InstCombine/
H A DInstCombineCasts.cpp1186 // If we have fptrunc(OpI (fpextend x), (fpextend y)), we would like to
1193 BinaryOperator *OpI = dyn_cast<BinaryOperator>(CI.getOperand(0));
1194 if (OpI && OpI->hasOneUse()) {
1195 Value *LHSOrig = LookThroughFPExtensions(OpI->getOperand(0));
1196 Value *RHSOrig = LookThroughFPExtensions(OpI->getOperand(1));
1197 unsigned OpWidth = OpI->getType()->getFPMantissaWidth();
1202 switch (OpI->getOpcode()) {
1208 // will not occur because the result of OpI is exact (as we will for
1230 BinaryOperator::Create(OpI
1383 Instruction *OpI = dyn_cast<Instruction>(FI.getOperand(0)); local
1394 Instruction *OpI = dyn_cast<Instruction>(FI.getOperand(0)); local
[all...]
H A DInstructionCombining.cpp2705 if (Instruction *OpI = dyn_cast<Instruction>(U.get()))
2706 Worklist.Add(OpI);
/external/llvm/lib/Target/R600/
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/Scalar/
H A DDeadStoreElimination.cpp142 if (Instruction *OpI = dyn_cast<Instruction>(Op))
143 if (isInstructionTriviallyDead(OpI, TLI))
144 NowDeadInsts.push_back(OpI);
H A DLoopUnrollPass.cpp510 if (auto *OpI = dyn_cast<Instruction>(Op))
511 if (!OpI->use_empty())
512 Worklist.insert(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);
/external/llvm/lib/Transforms/Utils/
H A DLocal.cpp361 if (Instruction *OpI = dyn_cast<Instruction>(OpV))
362 if (isInstructionTriviallyDead(OpI, TLI))
363 DeadInsts.push_back(OpI);
H A DSimplifyCFG.cpp1530 Instruction *OpI = dyn_cast<Instruction>(*i); local
1531 if (!OpI || OpI->getParent() != BB ||
1532 OpI->mayHaveSideEffects())
1535 ++SinkCandidateUseCounts[OpI];
/external/llvm/lib/Analysis/
H A DScalarEvolution.cpp5330 for (Instruction::op_iterator OpI = UseInst->op_begin(),
5331 OpE = UseInst->op_end(); OpI != OpE; ++OpI) {
5333 if (isa<Constant>(*OpI)) continue;
5335 Instruction *OpInst = dyn_cast<Instruction>(*OpI);

Completed in 165 milliseconds