Home
last modified time | relevance | path

Searched refs:OtherIdx (Results 1 – 9 of 9) sorted by relevance

/openbsd/gnu/llvm/llvm/lib/Target/AMDGPU/
H A DAMDGPUExportClustering.cpp50 unsigned OtherIdx = PosCount; in sortChain() local
55 Chain[OtherIdx++] = SU; in sortChain()
H A DSIFoldOperands.cpp411 unsigned OtherIdx = CommuteOpNo == CommuteIdx0 ? CommuteIdx1 : CommuteIdx0; in tryAddToFoldList() local
412 MachineOperand &OtherOp = MI->getOperand(OtherIdx); in tryAddToFoldList()
/openbsd/gnu/llvm/llvm/lib/Analysis/
H A DCaptureTracking.cpp388 unsigned OtherIdx = 1 - Idx; in DetermineUseCaptureKind() local
389 if (auto *CPN = dyn_cast<ConstantPointerNull>(I->getOperand(OtherIdx))) { in DetermineUseCaptureKind()
409 auto *LI = dyn_cast<LoadInst>(I->getOperand(OtherIdx)); in DetermineUseCaptureKind()
H A DScalarEvolution.cpp2965 for (unsigned OtherIdx = Idx+1; in getAddExpr() local
2966 OtherIdx < Ops.size() && isa<SCEVAddRecExpr>(Ops[OtherIdx]); in getAddExpr()
2967 ++OtherIdx) { in getAddExpr()
2977 for (; OtherIdx != Ops.size() && isa<SCEVAddRecExpr>(Ops[OtherIdx]); in getAddExpr()
2978 ++OtherIdx) { in getAddExpr()
2991 Ops.erase(Ops.begin() + OtherIdx); --OtherIdx; in getAddExpr()
3330 for (unsigned OtherIdx = Idx+1; in getMulExpr() local
3331 OtherIdx != Ops.size() && isa<SCEVAddRecExpr>(Ops[OtherIdx]); in getMulExpr()
3332 ++OtherIdx) { in getMulExpr()
3334 dyn_cast<SCEVAddRecExpr>(Ops[OtherIdx]); in getMulExpr()
[all …]
/openbsd/gnu/llvm/llvm/lib/Transforms/Scalar/
H A DInferAddressSpaces.cpp1216 int OtherIdx = (SrcIdx == 0) ? 1 : 0; in rewriteWithNewAddressSpaces() local
1217 Value *OtherSrc = Cmp->getOperand(OtherIdx); in rewriteWithNewAddressSpaces()
1221 Cmp->setOperand(OtherIdx, OtherNewV); in rewriteWithNewAddressSpaces()
1231 Cmp->setOperand(OtherIdx, in rewriteWithNewAddressSpaces()
H A DLoopStrengthReduce.cpp3565 unsigned OtherIdx = !U.getOperandNo(); in CollectLoopInvariantFixupsAndFormulae() local
3566 Value *OtherOp = const_cast<Value *>(ICI->getOperand(OtherIdx)); in CollectLoopInvariantFixupsAndFormulae()
/openbsd/gnu/llvm/llvm/lib/CodeGen/
H A DMachineVerifier.cpp2069 unsigned OtherIdx = MI->findTiedOperandIdx(MONum); in visitMachineOperand() local
2070 const MachineOperand &OtherMO = MI->getOperand(OtherIdx); in visitMachineOperand()
2075 if (MI->findTiedOperandIdx(OtherIdx) != MONum) in visitMachineOperand()
2078 if (OtherIdx < MCID.getNumOperands()) { in visitMachineOperand()
2079 if (-1 == MCID.getOperandConstraint(OtherIdx, MCOI::TIED_TO)) in visitMachineOperand()
/openbsd/gnu/llvm/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp24667 unsigned OtherIdx = N0.getConstantOperandVal(2); in visitINSERT_SUBVECTOR() local
24668 if (InsIdx < OtherIdx) { in visitINSERT_SUBVECTOR()
/openbsd/gnu/llvm/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp31583 unsigned OtherIdx = I->getOperand(0) == AI ? 1 : 0; in shouldExpandLogicAtomicRMWInIR() local
31586 if (AI == I->getOperand(OtherIdx)) in shouldExpandLogicAtomicRMWInIR()
31592 auto *C2 = dyn_cast<ConstantInt>(I->getOperand(OtherIdx)); in shouldExpandLogicAtomicRMWInIR()
31607 auto BitTested = FindSingleBitChange(I->getOperand(OtherIdx)); in shouldExpandLogicAtomicRMWInIR()