Searched refs:OpI (Results 1 – 8 of 8) sorted by relevance
/external/llvm/include/llvm/CodeGen/ |
D | MachineInstrBundle.h | 96 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/ |
D | InstCombineCasts.cpp | 1187 BinaryOperator *OpI = dyn_cast<BinaryOperator>(CI.getOperand(0)); in visitFPTrunc() local 1188 if (OpI && OpI->hasOneUse()) { in visitFPTrunc() 1189 switch (OpI->getOpcode()) { in visitFPTrunc() 1196 Type *SrcTy = OpI->getType(); in visitFPTrunc() 1197 Value *LHSTrunc = LookThroughFPExtensions(OpI->getOperand(0)); in visitFPTrunc() 1198 Value *RHSTrunc = LookThroughFPExtensions(OpI->getOperand(1)); in visitFPTrunc() 1208 return BinaryOperator::Create(OpI->getOpcode(), LHSTrunc, RHSTrunc); in visitFPTrunc() 1215 if (BinaryOperator::isFNeg(OpI)) { in visitFPTrunc() 1216 Value *InnerTrunc = Builder->CreateFPTrunc(OpI->getOperand(1), in visitFPTrunc() 1280 Instruction *OpI = dyn_cast<Instruction>(FI.getOperand(0)); in visitFPToUI() local [all …]
|
/external/llvm/include/llvm/Support/ |
D | PatternMatch.h | 923 unsigned OpI; member 925 Argument_match(unsigned OpIdx, const Opnd_t &V) : OpI(OpIdx), Val(V) { } in Argument_match() 930 return CS.isCall() && Val.match(CS.getArgument(OpI)); in match() 935 template<unsigned OpI, typename Opnd_t> 937 return Argument_match<Opnd_t>(OpI, Op); in m_Argument()
|
/external/llvm/lib/Transforms/Scalar/ |
D | DeadStoreElimination.cpp | 136 if (Instruction *OpI = dyn_cast<Instruction>(Op)) in DeleteDeadInstruction() local 137 if (isInstructionTriviallyDead(OpI, TLI)) in DeleteDeadInstruction() 138 NowDeadInsts.push_back(OpI); in DeleteDeadInstruction()
|
D | LoopIdiomRecognize.cpp | 252 if (Instruction *OpI = dyn_cast<Instruction>(Op)) in deleteDeadInstruction() local 253 if (isInstructionTriviallyDead(OpI, TLI)) in deleteDeadInstruction() 254 NowDeadInsts.push_back(OpI); in deleteDeadInstruction()
|
/external/llvm/lib/Transforms/Utils/ |
D | Local.cpp | 342 if (Instruction *OpI = dyn_cast<Instruction>(OpV)) in RecursivelyDeleteTriviallyDeadInstructions() local 343 if (isInstructionTriviallyDead(OpI, TLI)) in RecursivelyDeleteTriviallyDeadInstructions() 344 DeadInsts.push_back(OpI); in RecursivelyDeleteTriviallyDeadInstructions()
|
D | SimplifyCFG.cpp | 1423 Instruction *OpI = dyn_cast<Instruction>(*i); in SpeculativelyExecuteBB() local 1424 if (!OpI || OpI->getParent() != BB || in SpeculativelyExecuteBB() 1425 OpI->mayHaveSideEffects()) in SpeculativelyExecuteBB() 1428 ++SinkCandidateUseCounts[OpI]; in SpeculativelyExecuteBB()
|
/external/llvm/lib/Analysis/ |
D | ScalarEvolution.cpp | 4711 for (Instruction::op_iterator OpI = UseInst->op_begin(), in getConstantEvolvingPHIOperands() local 4712 OpE = UseInst->op_end(); OpI != OpE; ++OpI) { in getConstantEvolvingPHIOperands() 4714 if (isa<Constant>(*OpI)) continue; in getConstantEvolvingPHIOperands() 4716 Instruction *OpInst = dyn_cast<Instruction>(*OpI); in getConstantEvolvingPHIOperands()
|