/netbsd-current/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/ |
H A D | MachineInstrBundle.h | 98 MachineInstr::mop_iterator OpI, OpE; member in class:llvm::MIBundleOperandIteratorBase 103 while (OpI == OpE) { 109 OpI = InstrI->operands_begin(); 123 OpI = InstrI->operands_begin(); 129 /// iterators point to the end of the BB and OpI == OpE. 132 : InstrI(InstrE), InstrE(InstrE), OpI(OpE), OpE(OpE) {} 136 bool isValid() const { return OpI != OpE; } 141 ++OpI; 145 ValueT &operator*() const { return *OpI; } 146 ValueT *operator->() const { return &*OpI; } [all...] |
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/ |
H A D | SpeculateAroundPHIs.cpp | 99 auto *OpI = dyn_cast<Instruction>(*OpIt); local 103 if (!OpI) 116 auto *ParentBB = OpI->getParent(); 118 if (isa<PHINode>(OpI)) { 129 if (PotentialSpecSet.count(OpI)) 134 if (UnsafeSet.count(OpI) || ParentBB != PhiBB || 135 mayBeMemoryDependent(*OpI)) { 137 << *OpI << "\n"); 140 UnsafeSet.insert(OpI); 149 if (!Visited.insert(OpI) 367 auto *OpI = dyn_cast<Instruction>(*OpIt); local 672 auto *OpI = dyn_cast<Instruction>(U.get()); local [all...] |
H A D | DCE.cpp | 110 if (Instruction *OpI = dyn_cast<Instruction>(OpV)) 111 if (isInstructionTriviallyDead(OpI, TLI)) 112 WorkList.insert(OpI);
|
H A D | LoopUnrollPass.cpp | 427 if (auto *OpI = dyn_cast<Instruction>( 429 if (L->contains(OpI)) 430 PHIUsedList.push_back(OpI); 448 auto *OpI = dyn_cast<Instruction>(Op); 449 if (!OpI || !L->contains(OpI)) 453 CostWorklist.push_back(OpI); 636 if (auto *OpI = dyn_cast<Instruction>(Op)) 637 if (L->contains(OpI)) 638 AddCostRecursively(*OpI, TripCoun [all...] |
H A D | Reassociate.cpp | 2457 Instruction *OpI = dyn_cast<Instruction>(Op); 2458 if (!OpI || OpI->getOpcode() != I.getOpcode() || !OpI->hasOneUse()) { 2463 if (OpI->getOperand(0) != OpI) 2464 Worklist.push_back(OpI->getOperand(0)); 2465 if (OpI->getOperand(1) != OpI) 2466 Worklist.push_back(OpI [all...] |
H A D | LoopInterchange.cpp | 1352 Instruction *OpI = dyn_cast<Instruction>(Op); 1353 if (!OpI || 1354 this->LI->getLoopFor(OpI->getParent()) != this->InnerLoop || 1355 OpI == InductionPHI) 1357 WorkList.insert(OpI);
|
H A D | Scalarizer.cpp | 543 Value *OpI = CI.getOperand(I); local 544 if (OpI->getType()->isVectorTy()) { 545 Scattered[I] = scatter(&CI, OpI); 548 ScalarOperands[I] = OpI;
|
H A D | SimpleLoopUnswitch.cpp | 143 Instruction *OpI = dyn_cast<Instruction>(OpV); local 145 if (OpI && ((IsRootAnd && match(OpI, m_LogicalAnd())) || 146 (IsRootOr && match(OpI, m_LogicalOr())))) { 148 if (Visited.insert(OpI).second) 149 Worklist.push_back(OpI);
|
H A D | DeadStoreElimination.cpp | 1671 if (Instruction *OpI = dyn_cast<Instruction>(O)) { 1673 if (isInstructionTriviallyDead(OpI, &TLI)) 1674 NowDeadInsts.push_back(OpI);
|
/netbsd-current/external/apache2/llvm/dist/llvm/utils/TableGen/ |
H A D | GICombinerEmitter.cpp | 284 if (const DefInit *OpI = dyn_cast<DefInit>(&N)) 285 if (OpI->getDef()->getName() == Def) 295 if (const DefInit *OpI = dyn_cast<DefInit>(&N)) 296 if (OpI->getDef()->isSubClassOf(Cls)) 297 return OpI->getDef(); 309 if (const DefInit *OpI = dyn_cast<DefInit>(I->getOperator())) 310 if (OpI->getDef()->getName() == Name) 323 if (const DefInit *OpI = dyn_cast<DefInit>(I->getOperator())) 324 if (OpI->getDef()->isSubClassOf(Cls))
|
/netbsd-current/external/apache2/llvm/dist/llvm/lib/CodeGen/GlobalISel/ |
H A D | Utils.cpp | 144 for (unsigned OpI = 0, OpE = I.getNumExplicitOperands(); OpI != OpE; ++OpI) { 145 MachineOperand &MO = I.getOperand(OpI); 167 constrainOperandRegClass(MF, TRI, MRI, TII, RBI, I, I.getDesc(), MO, OpI); 172 int DefIdx = I.getDesc().getOperandConstraint(OpI, MCOI::TIED_TO); 174 I.tieOperands(DefIdx, OpI);
|
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/ |
H A D | R600Packetizer.cpp | 182 int OpI = TII->getOperandIdx(MII->getOpcode(), R600::OpName::pred_sel), variable 184 Register PredI = (OpI > -1)?MII->getOperand(OpI).getReg() : Register(),
|
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Target/AArch64/ |
H A D | AArch64FalkorHWPFFix.cpp | 743 for (unsigned OpI = 0, OpE = MI.getNumOperands(); OpI < OpE; ++OpI) { 744 if (OpI == static_cast<unsigned>(LdI.BaseRegIdx)) 746 MachineOperand &MO = MI.getOperand(OpI);
|
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Target/Hexagon/ |
H A D | HexagonLoopIdiomRecognition.cpp | 482 Value *OpI = I->getOperand(i), *OpJ = J->getOperand(i); local 483 if (OpI == OpJ) 485 auto *InI = dyn_cast<const Instruction>(OpI); 523 if (Instruction *OpI = dyn_cast<Instruction>(Op)) 524 link(OpI, B, At); 2336 Instruction *OpI = dyn_cast<Instruction>(I); local 2337 if (!OpI) 2339 BasicBlock *PB = OpI->getParent(); 2342 Worklist.insert(OpI);
|
H A D | HexagonVLIWPacketizer.cpp | 1280 for (const MachineOperand &OpI : I.operands()) { 1281 if (OpI.isReg()) { 1282 if (OpJ.clobbersPhysReg(OpI.getReg())) 1284 } else if (OpI.isRegMask()) {
|
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/ |
H A D | Local.cpp | 562 if (Instruction *OpI = dyn_cast<Instruction>(OpV)) 563 if (isInstructionTriviallyDead(OpI, TLI)) 564 DeadInsts.push_back(OpI); 647 if (Instruction *OpI = dyn_cast<Instruction>(OpV)) 648 if (isInstructionTriviallyDead(OpI, TLI)) 649 WorkList.insert(OpI);
|
H A D | ScalarEvolutionExpander.cpp | 2627 auto *OpI = dyn_cast<Instruction>(OpV); local 2628 if (!OpI) 2631 Loop *DefLoop = SE.LI.getLoopFor(OpI->getParent()); 2636 ToUpdate.push_back(OpI);
|
H A D | SimplifyCFG.cpp | 2428 Instruction *OpI = dyn_cast<Instruction>(Op); local 2429 if (!OpI || OpI->getParent() != BB || OpI->mayHaveSideEffects()) 2432 ++SinkCandidateUseCounts[OpI];
|
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineCasts.cpp | 1679 // If we have fptrunc(OpI (fpextend x), (fpextend y)), we would like to 1702 // will not occur because the result of OpI is exact (as we will for 1753 // type of OpI doesn't enter into things at all. We simply evaluate 1881 auto *OpI = cast<CastInst>(FI.getOperand(0)); 1882 Value *X = OpI->getOperand(0); 1893 if (!isKnownExactCastIntToFP(*OpI)) { 1900 if (OutputSize > OpI->getType()->getFPMantissaWidth()) 1905 bool IsInputSigned = isa<SIToFPInst>(OpI);
|
H A D | InstructionCombining.cpp | 3701 if (Instruction *OpI = dyn_cast<Instruction>(U.get())) 3702 Worklist.push(OpI);
|
/netbsd-current/external/apache2/llvm/dist/llvm/include/llvm/IR/ |
H A D | PatternMatch.h | 2032 unsigned OpI; member in struct:Argument_match 2035 Argument_match(unsigned OpIdx, const Opnd_t &V) : OpI(OpIdx), Val(V) {} 2040 return Val.match(CI->getArgOperand(OpI)); 2046 template <unsigned OpI, typename Opnd_t> 2048 return Argument_match<Opnd_t>(OpI, Op);
|
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Transforms/Vectorize/ |
H A D | SLPVectorizer.cpp | 1351 for (unsigned OpI = 0, OpE = getNumOperands(); OpI != OpE; ++OpI) { 1352 OperandData &Data = getData(OpI, Ln); 1770 for (unsigned OpI = 0, OpE = Operands.size(); OpI != OpE; ++OpI) { 1771 dbgs() << "Operand " << OpI << ":\n"; 1772 for (const Value *V : Operands[OpI])
|
H A D | LoopVectorize.cpp | 9825 if (auto *OpI = dyn_cast<Instruction>(Op)) 9826 Worklist.push_back(OpI);
|
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Target/ARM/ |
H A D | ARMBaseInstrInfo.cpp | 3188 unsigned OpI = Opc != ARM::tSUBrr ? 1 : 2; local 3190 (SrcReg2 != 0 && SubAdd->getOperand(OpI).getReg() == SrcReg2 && 3191 SubAdd->getOperand(OpI + 1).getReg() == SrcReg)) {
|
H A D | ARMISelLowering.cpp | 7461 SDValue OpI = Op.getOperand(I); local 7462 if (OpI.getOpcode() != ISD::ADD || OpI.getOperand(0) != Op0 || 7463 !isa<ConstantSDNode>(OpI.getOperand(1)) || 7464 OpI.getConstantOperandVal(1) != I * N)
|