Home
last modified time | relevance | path

Searched refs:OpI (Results 1 – 10 of 10) sorted by relevance

/external/llvm/include/llvm/CodeGen/
DMachineInstrBundle.h96 MachineInstr::mop_iterator OpI, OpE; variable
101 while (OpI == OpE) { in advance()
105 OpI = InstrI->operands_begin(); in advance()
125 OpI = InstrI->operands_begin(); in MachineOperandIteratorBase()
131 MachineOperand &deref() const { return *OpI; } in deref()
135 bool isValid() const { return OpI != OpE; } in isValid()
140 ++OpI;
148 return OpI - InstrI->operands_begin(); in getOperandNo()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCasts.cpp1193 BinaryOperator *OpI = dyn_cast<BinaryOperator>(CI.getOperand(0)); in visitFPTrunc() local
1194 if (OpI && OpI->hasOneUse()) { in visitFPTrunc()
1195 Value *LHSOrig = LookThroughFPExtensions(OpI->getOperand(0)); in visitFPTrunc()
1196 Value *RHSOrig = LookThroughFPExtensions(OpI->getOperand(1)); in visitFPTrunc()
1197 unsigned OpWidth = OpI->getType()->getFPMantissaWidth(); in visitFPTrunc()
1202 switch (OpI->getOpcode()) { in visitFPTrunc()
1230 BinaryOperator::Create(OpI->getOpcode(), LHSOrig, RHSOrig); in visitFPTrunc()
1231 RI->copyFastMathFlags(OpI); in visitFPTrunc()
1248 RI->copyFastMathFlags(OpI); in visitFPTrunc()
1266 RI->copyFastMathFlags(OpI); in visitFPTrunc()
[all …]
DInstructionCombining.cpp2705 if (Instruction *OpI = dyn_cast<Instruction>(U.get())) in run() local
2706 Worklist.Add(OpI); in run()
/external/llvm/lib/Target/R600/
DR600Packetizer.cpp193 int OpI = TII->getOperandIdx(MII->getOpcode(), AMDGPU::OpName::pred_sel), in isLegalToPacketizeTogether() local
195 unsigned PredI = (OpI > -1)?MII->getOperand(OpI).getReg():0, in isLegalToPacketizeTogether()
/external/llvm/lib/Transforms/Scalar/
DDeadStoreElimination.cpp142 if (Instruction *OpI = dyn_cast<Instruction>(Op)) in DeleteDeadInstruction() local
143 if (isInstructionTriviallyDead(OpI, TLI)) in DeleteDeadInstruction()
144 NowDeadInsts.push_back(OpI); in DeleteDeadInstruction()
DLoopUnrollPass.cpp510 if (auto *OpI = dyn_cast<Instruction>(Op)) in estimateNumberOfOptimizedInstructions() local
511 if (!OpI->use_empty()) in estimateNumberOfOptimizedInstructions()
512 Worklist.insert(OpI); in estimateNumberOfOptimizedInstructions()
/external/llvm/include/llvm/IR/
DPatternMatch.h1171 unsigned OpI; member
1173 Argument_match(unsigned OpIdx, const Opnd_t &V) : OpI(OpIdx), Val(V) {} in Argument_match()
1177 return CS.isCall() && Val.match(CS.getArgument(OpI)); in match()
1182 template <unsigned OpI, typename Opnd_t>
1184 return Argument_match<Opnd_t>(OpI, Op); in m_Argument()
/external/llvm/lib/Transforms/Utils/
DLocal.cpp361 if (Instruction *OpI = dyn_cast<Instruction>(OpV)) in RecursivelyDeleteTriviallyDeadInstructions() local
362 if (isInstructionTriviallyDead(OpI, TLI)) in RecursivelyDeleteTriviallyDeadInstructions()
363 DeadInsts.push_back(OpI); in RecursivelyDeleteTriviallyDeadInstructions()
DSimplifyCFG.cpp1530 Instruction *OpI = dyn_cast<Instruction>(*i); in SpeculativelyExecuteBB() local
1531 if (!OpI || OpI->getParent() != BB || in SpeculativelyExecuteBB()
1532 OpI->mayHaveSideEffects()) in SpeculativelyExecuteBB()
1535 ++SinkCandidateUseCounts[OpI]; in SpeculativelyExecuteBB()
/external/llvm/lib/Analysis/
DScalarEvolution.cpp5330 for (Instruction::op_iterator OpI = UseInst->op_begin(), in getConstantEvolvingPHIOperands() local
5331 OpE = UseInst->op_end(); OpI != OpE; ++OpI) { in getConstantEvolvingPHIOperands()
5333 if (isa<Constant>(*OpI)) continue; in getConstantEvolvingPHIOperands()
5335 Instruction *OpInst = dyn_cast<Instruction>(*OpI); in getConstantEvolvingPHIOperands()