Home
last modified time | relevance | path

Searched refs:setOperand (Results 1 – 25 of 137) sorted by relevance

123456

/llvm-project-15.0.7/llvm/lib/Target/NVPTX/
H A DNVPTXLowerAlloca.cpp90 LI->setOperand(LI->getPointerOperandIndex(), NewASCToGeneric); in runOnFunction()
96 SI->setOperand(SI->getPointerOperandIndex(), NewASCToGeneric); in runOnFunction()
101 GI->setOperand(GI->getPointerOperandIndex(), NewASCToGeneric); in runOnFunction()
106 BI->setOperand(0, NewASCToGeneric); in runOnFunction()
H A DNVPTXLowerArgs.cpp176 LI->setOperand(0, I.NewParam); in convertToParamAS()
416 PtrInGlobal->setOperand(0, Ptr); in markPointerAsGlobal()
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DDivRemPairs.cpp365 DivInst->setOperand(0, FrX); in optimizeDivRem()
366 Sub->setOperand(0, FrX); in optimizeDivRem()
372 DivInst->setOperand(1, FrY); in optimizeDivRem()
373 Mul->setOperand(1, FrY); in optimizeDivRem()
H A DTailRecursionElimination.cpp687 AccRecInstr->setOperand(AccRecInstr->getOperand(0) != CI, AccPN); in eliminateCall()
759 AccRecInstrNew->setOperand(AccRecInstr->getOperand(0) == AccPN, in cleanupAndFinalize()
762 RI->setOperand(0, AccRecInstrNew); in cleanupAndFinalize()
776 RI->setOperand(0, SI); in cleanupAndFinalize()
786 AccRecInstrNew->setOperand(AccRecInstr->getOperand(0) == AccPN, in cleanupAndFinalize()
H A DReassociate.cpp287 Neg->setOperand(OpNo, Constant::getNullValue(Ty)); // Drop use of op. in LowerNegateToMultiply()
553 I->setOperand(OpIdx, UndefValue::get(I->getType())); in LinearizeExprTree()
721 Op->setOperand(0, NewLHS); in RewriteExprTree()
727 Op->setOperand(1, NewRHS); in RewriteExprTree()
752 Op->setOperand(1, NewRHS); in RewriteExprTree()
788 Op->setOperand(0, NewOp); in RewriteExprTree()
852 I->setOperand(0, NegateValue(I->getOperand(0), BI, ToRedo)); in NegateValue()
853 I->setOperand(1, NegateValue(I->getOperand(1), BI, ToRedo)); in NegateValue()
1096 Shl->setOperand(0, PoisonValue::get(Shl->getType())); // Drop use of op. in ConvertShiftToMul()
2146 Negatible->setOperand(0, ConstantFP::get(Negatible->getType(), abs(*C))); in canonicalizeNegFPConstantsForOp()
[all …]
H A DDCE.cpp102 I->setOperand(i, nullptr); in DCEInstruction()
H A DInferAddressSpaces.cpp1145 NewV->setOperand(OperandNo, ValueWithNewAddrSpace.lookup(UndefUse->get())); in rewriteWithNewAddressSpaces()
1219 Cmp->setOperand(OtherIdx, OtherNewV); in rewriteWithNewAddressSpaces()
1220 Cmp->setOperand(SrcIdx, NewV); in rewriteWithNewAddressSpaces()
1228 Cmp->setOperand(SrcIdx, NewV); in rewriteWithNewAddressSpaces()
1229 Cmp->setOperand(OtherIdx, in rewriteWithNewAddressSpaces()
H A DConstantHoisting.cpp743 Inst->setOperand(Idx, IncomingVal); in updateOperand()
749 Inst->setOperand(Idx, Mat); in updateOperand()
806 ClonedCastInst->setOperand(0, Mat); in emitBaseConstants()
832 ConstExprInst->setOperand(0, Mat); in emitBaseConstants()
H A DSeparateConstOffsetFromGEP.cpp657 Ext->setOperand(0, Current); in applyExts()
1017 GEP->setOperand(I, NewIdx); in splitGEP()
1353 First->setOperand(1, Offset2); in swapGEPOperand()
1354 Second->setOperand(1, Offset1); in swapGEPOperand()
/llvm-project-15.0.7/llvm/include/llvm/IR/
H A DOperandTraits.h113 inline void setOperand(unsigned, VALUECLASS*); \
144 void CLASS::setOperand(unsigned i_nocapture, VALUECLASS *Val_nocapture) { \
/llvm-project-15.0.7/mlir/lib/Dialect/SCF/Transforms/
H A DLoopPipelining.cpp159 newOp->setOperand(opIdx, it->second[i - stages[op]]); in emitPrologue()
289 newOp->setOperand(operand.getOperandNumber(), iv); in createKernel()
306 newOp->setOperand(operand.getOperandNumber(), in createKernel()
322 newOp->setOperand(operand.getOperandNumber(), in createKernel()
397 newOp->setOperand(opIdx, v); in emitEpilogue()
/llvm-project-15.0.7/llvm/lib/IR/
H A DMetadata.cpp546 setOperand(Op++, MD); in MDNode()
548 setOperand(Op++, MD); in MDNode()
800 setOperand(I, nullptr); in dropAllReferences()
813 setOperand(Op, New); in handleChangedOperand()
821 setOperand(Op, New); in handleChangedOperand()
846 setOperand(O, nullptr); in handleChangedOperand()
973 setOperand(I, New); in replaceOperandWith()
980 void MDNode::setOperand(unsigned I, Metadata *New) { in setOperand() function in MDNode
1223 void NamedMDNode::setOperand(unsigned I, MDNode *New) { in setOperand() function in NamedMDNode
H A DUser.cpp33 setOperand(i, To); in replaceUsesOfWith()
/llvm-project-15.0.7/llvm/tools/llvm-reduce/deltas/
H A DReduceMetadata.cpp34 NN->setOperand(I, nullptr); in extractMetadataFromModule()
/llvm-project-15.0.7/mlir/lib/Dialect/Linalg/Transforms/
H A DSplitReduction.cpp230 clonedReductionOp->setOperand(0, inputs[0]); in splitReduction()
231 clonedReductionOp->setOperand(1, inputs[1]); in splitReduction()
432 clonedReductionOp->setOperand(0, bbArgs[0]); in splitReductionByScaling()
433 clonedReductionOp->setOperand(1, bbArgs[1]); in splitReductionByScaling()
/llvm-project-15.0.7/llvm/include/llvm/Analysis/
H A DMemorySSA.h309 setOperand(0, DMA);
346 setOperand(0, DMA);
407 setOperand(1, MA);
421 setOperand(1, nullptr);
547 setOperand(I, V);
609 setOperand(E - 1, nullptr);
/llvm-project-15.0.7/llvm/lib/Transforms/Vectorize/
H A DVPlanTransforms.cpp172 UI->setOperand(Idx, Clone); in sinkScalarOperands()
278 U->setOperand(I, PredInst1); in mergeReplicateRegions()
411 U->setOperand(I, Steps); in optimizeInductions()
/llvm-project-15.0.7/polly/lib/CodeGen/
H A DCodeGeneration.cpp255 SplitBBTerm->setOperand(0, FalseI1); in generateCode()
273 Builder.GetInsertBlock()->getTerminator()->setOperand(0, RTC); in generateCode()
/llvm-project-15.0.7/llvm/lib/Target/ARM/
H A DMVELaneInterleavingPass.cpp352 I->getUser()->setOperand(I->getOperandNo(), Shuffle); in tryInterleave()
362 cast<Instruction>(Shuf)->setOperand(0, I); in tryInterleave()
/llvm-project-15.0.7/llvm/lib/Target/RISCV/
H A DRISCVCodeGenPrepare.cpp148 BO->setOperand(1, ConstantInt::get(LHS->getType(), C)); in optimizeAndExt()
/llvm-project-15.0.7/llvm/lib/Target/AMDGPU/
H A DAMDGPUPromoteAlloca.cpp957 CI->setOperand(0, ConstantPointerNull::get(NewTy)); in handleAlloca()
960 CI->setOperand(1, ConstantPointerNull::get(NewTy)); in handleAlloca()
980 SI->setOperand(1, ConstantPointerNull::get(NewTy)); in handleAlloca()
983 SI->setOperand(2, ConstantPointerNull::get(NewTy)); in handleAlloca()
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DTypePromotion.cpp491 I->setOperand(i, NewConst); in PromoteTree()
493 I->setOperand(i, ConstantInt::get(ExtTy, 0)); in PromoteTree()
563 I->setOperand(i, Trunc); in TruncateSinks()
H A DMachineDebugify.cpp153 NMD->setOperand(Idx, MDNode::get(Ctx, ValueAsMetadata::getConstant( in applyDebugifyMetadataToMachineFunction()
/llvm-project-15.0.7/llvm/lib/FuzzMutate/
H A DRandomIRBuilder.cpp117 U->setOperand(OpNo, V); in connectToSink()
/llvm-project-15.0.7/llvm/lib/Target/DirectX/
H A DDXILPrepare.cpp160 GEP->setOperand(0, NoOpBitcast); in runOnModule()

123456