Home
last modified time | relevance | path

Searched refs:OpI (Results 1 – 9 of 9) 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.cpp1181 BinaryOperator *OpI = dyn_cast<BinaryOperator>(CI.getOperand(0)); in visitFPTrunc() local
1182 if (OpI && OpI->hasOneUse()) { in visitFPTrunc()
1183 Value *LHSOrig = LookThroughFPExtensions(OpI->getOperand(0)); in visitFPTrunc()
1184 Value *RHSOrig = LookThroughFPExtensions(OpI->getOperand(1)); in visitFPTrunc()
1185 unsigned OpWidth = OpI->getType()->getFPMantissaWidth(); in visitFPTrunc()
1190 switch (OpI->getOpcode()) { in visitFPTrunc()
1218 BinaryOperator::Create(OpI->getOpcode(), LHSOrig, RHSOrig); in visitFPTrunc()
1219 RI->copyFastMathFlags(OpI); in visitFPTrunc()
1236 RI->copyFastMathFlags(OpI); in visitFPTrunc()
1254 RI->copyFastMathFlags(OpI); in visitFPTrunc()
[all …]
/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.cpp140 if (Instruction *OpI = dyn_cast<Instruction>(Op)) in DeleteDeadInstruction() local
141 if (isInstructionTriviallyDead(OpI, TLI)) in DeleteDeadInstruction()
142 NowDeadInsts.push_back(OpI); in DeleteDeadInstruction()
DLoopIdiomRecognize.cpp256 if (Instruction *OpI = dyn_cast<Instruction>(Op)) in deleteDeadInstruction() local
257 if (isInstructionTriviallyDead(OpI, TLI)) in deleteDeadInstruction()
258 NowDeadInsts.push_back(OpI); in deleteDeadInstruction()
/external/llvm/include/llvm/IR/
DPatternMatch.h1114 unsigned OpI; member
1116 Argument_match(unsigned OpIdx, const Opnd_t &V) : OpI(OpIdx), Val(V) { } in Argument_match()
1121 return CS.isCall() && Val.match(CS.getArgument(OpI)); in match()
1126 template<unsigned OpI, typename Opnd_t>
1128 return Argument_match<Opnd_t>(OpI, Op); in m_Argument()
/external/llvm/lib/Transforms/Utils/
DLocal.cpp343 if (Instruction *OpI = dyn_cast<Instruction>(OpV)) in RecursivelyDeleteTriviallyDeadInstructions() local
344 if (isInstructionTriviallyDead(OpI, TLI)) in RecursivelyDeleteTriviallyDeadInstructions()
345 DeadInsts.push_back(OpI); in RecursivelyDeleteTriviallyDeadInstructions()
DSimplifyCFG.cpp1456 Instruction *OpI = dyn_cast<Instruction>(*i); in SpeculativelyExecuteBB() local
1457 if (!OpI || OpI->getParent() != BB || in SpeculativelyExecuteBB()
1458 OpI->mayHaveSideEffects()) in SpeculativelyExecuteBB()
1461 ++SinkCandidateUseCounts[OpI]; in SpeculativelyExecuteBB()
/external/llvm/lib/Analysis/
DScalarEvolution.cpp4963 for (Instruction::op_iterator OpI = UseInst->op_begin(), in getConstantEvolvingPHIOperands() local
4964 OpE = UseInst->op_end(); OpI != OpE; ++OpI) { in getConstantEvolvingPHIOperands()
4966 if (isa<Constant>(*OpI)) continue; in getConstantEvolvingPHIOperands()
4968 Instruction *OpInst = dyn_cast<Instruction>(*OpI); in getConstantEvolvingPHIOperands()