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/Scalar/
DDCE.cpp112 if (Instruction *OpI = dyn_cast<Instruction>(OpV)) in DCEInstruction() local
113 if (isInstructionTriviallyDead(OpI, TLI)) in DCEInstruction()
114 WorkList.insert(OpI); in DCEInstruction()
DDeadStoreElimination.cpp148 if (Instruction *OpI = dyn_cast<Instruction>(Op)) in DeleteDeadInstruction() local
149 if (isInstructionTriviallyDead(OpI, &TLI)) in DeleteDeadInstruction()
150 NowDeadInsts.push_back(OpI); in DeleteDeadInstruction()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCasts.cpp1266 BinaryOperator *OpI = dyn_cast<BinaryOperator>(CI.getOperand(0)); in visitFPTrunc() local
1267 if (OpI && OpI->hasOneUse()) { in visitFPTrunc()
1268 Value *LHSOrig = lookThroughFPExtensions(OpI->getOperand(0)); in visitFPTrunc()
1269 Value *RHSOrig = lookThroughFPExtensions(OpI->getOperand(1)); in visitFPTrunc()
1270 unsigned OpWidth = OpI->getType()->getFPMantissaWidth(); in visitFPTrunc()
1275 switch (OpI->getOpcode()) { in visitFPTrunc()
1303 BinaryOperator::Create(OpI->getOpcode(), LHSOrig, RHSOrig); in visitFPTrunc()
1304 RI->copyFastMathFlags(OpI); in visitFPTrunc()
1321 RI->copyFastMathFlags(OpI); in visitFPTrunc()
1339 RI->copyFastMathFlags(OpI); in visitFPTrunc()
[all …]
DInstructionCombining.cpp2808 if (Instruction *OpI = dyn_cast<Instruction>(U.get())) in run() local
2809 Worklist.Add(OpI); in run()
/external/llvm/lib/Target/AMDGPU/
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/Utils/
DLocal.cpp369 if (Instruction *OpI = dyn_cast<Instruction>(OpV)) in RecursivelyDeleteTriviallyDeadInstructions() local
370 if (isInstructionTriviallyDead(OpI, TLI)) in RecursivelyDeleteTriviallyDeadInstructions()
371 DeadInsts.push_back(OpI); in RecursivelyDeleteTriviallyDeadInstructions()
441 if (Instruction *OpI = dyn_cast<Instruction>(OpV)) in simplifyAndDCEInstruction() local
442 if (isInstructionTriviallyDead(OpI, TLI)) in simplifyAndDCEInstruction()
443 WorkList.insert(OpI); in simplifyAndDCEInstruction()
DSimplifyCFG.cpp1552 Instruction *OpI = dyn_cast<Instruction>(*i); in SpeculativelyExecuteBB() local
1553 if (!OpI || OpI->getParent() != BB || in SpeculativelyExecuteBB()
1554 OpI->mayHaveSideEffects()) in SpeculativelyExecuteBB()
1557 ++SinkCandidateUseCounts[OpI]; in SpeculativelyExecuteBB()
/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()