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/InstCombine/
H A DInstCombineCasts.cpp1197 BinaryOperator *OpI = dyn_cast<BinaryOperator>(CI.getOperand(0));
1198 if (OpI && OpI->hasOneUse()) {
1199 switch (OpI->getOpcode()) {
1206 Type *SrcTy = OpI->getType();
1207 Value *LHSTrunc = LookThroughFPExtensions(OpI->getOperand(0));
1208 Value *RHSTrunc = LookThroughFPExtensions(OpI->getOperand(1));
1218 return BinaryOperator::Create(OpI->getOpcode(), LHSTrunc, RHSTrunc);
1225 if (BinaryOperator::isFNeg(OpI)) {
1226 Value *InnerTrunc = Builder->CreateFPTrunc(OpI
1290 Instruction *OpI = dyn_cast<Instruction>(FI.getOperand(0)); local
1310 Instruction *OpI = dyn_cast<Instruction>(FI.getOperand(0)); local
[all...]
/external/llvm/lib/Target/R600/
H A DR600Packetizer.cpp178 int OpI = TII->getOperandIdx(MII->getOpcode(), AMDGPU::OpName::pred_sel), local
180 unsigned PredI = (OpI > -1)?MII->getOperand(OpI).getReg():0,
/external/llvm/lib/Transforms/Scalar/
H A DDeadStoreElimination.cpp136 if (Instruction *OpI = dyn_cast<Instruction>(Op))
137 if (isInstructionTriviallyDead(OpI, TLI))
138 NowDeadInsts.push_back(OpI);
H A DLoopIdiomRecognize.cpp252 if (Instruction *OpI = dyn_cast<Instruction>(Op))
253 if (isInstructionTriviallyDead(OpI, TLI))
254 NowDeadInsts.push_back(OpI);
/external/llvm/include/llvm/Support/
H A DPatternMatch.h1024 unsigned OpI; member in struct:llvm::PatternMatch::Argument_match
1026 Argument_match(unsigned OpIdx, const Opnd_t &V) : OpI(OpIdx), Val(V) { }
1031 return CS.isCall() && Val.match(CS.getArgument(OpI));
1036 template<unsigned OpI, typename Opnd_t>
1038 return Argument_match<Opnd_t>(OpI, Op);
/external/llvm/lib/Transforms/Utils/
H A DLocal.cpp342 if (Instruction *OpI = dyn_cast<Instruction>(OpV))
343 if (isInstructionTriviallyDead(OpI, TLI))
344 DeadInsts.push_back(OpI);
H A DSimplifyCFG.cpp1450 Instruction *OpI = dyn_cast<Instruction>(*i); local
1451 if (!OpI || OpI->getParent() != BB ||
1452 OpI->mayHaveSideEffects())
1455 ++SinkCandidateUseCounts[OpI];
/external/llvm/lib/Analysis/
H A DScalarEvolution.cpp4794 for (Instruction::op_iterator OpI = UseInst->op_begin(),
4795 OpE = UseInst->op_end(); OpI != OpE; ++OpI) {
4797 if (isa<Constant>(*OpI)) continue;
4799 Instruction *OpInst = dyn_cast<Instruction>(*OpI);

Completed in 1055 milliseconds