Home
last modified time | relevance | path

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

12345

/freebsd-14.2/contrib/llvm-project/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.cpp181 LI->setOperand(0, I.NewParam); in INITIALIZE_PASS_DEPENDENCY()
415 PtrInGlobal->setOperand(0, Ptr); in markPointerAsGlobal()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DDivRemPairs.cpp387 DivInst->setOperand(0, FrX); in optimizeDivRem()
388 Sub->setOperand(0, FrX); in optimizeDivRem()
394 DivInst->setOperand(1, FrY); in optimizeDivRem()
395 Mul->setOperand(1, FrY); in optimizeDivRem()
H A DMergedLoadStoreMotion.cpp267 S0->setOperand(0, Cast); in sinkStoresAndGEPs()
274 SNew->setOperand(0, NewPN); in sinkStoresAndGEPs()
284 SNew->setOperand(1, GEPNew); in sinkStoresAndGEPs()
H A DTailRecursionElimination.cpp704 AccRecInstr->setOperand(AccRecInstr->getOperand(0) != CI, AccPN); in eliminateCall()
776 AccRecInstrNew->setOperand(AccRecInstr->getOperand(0) == AccPN, in cleanupAndFinalize()
779 RI->setOperand(0, AccRecInstrNew); in cleanupAndFinalize()
793 RI->setOperand(0, SI); in cleanupAndFinalize()
803 AccRecInstrNew->setOperand(AccRecInstr->getOperand(0) == AccPN, in cleanupAndFinalize()
H A DReassociate.cpp294 Neg->setOperand(OpNo, Constant::getNullValue(Ty)); // Drop use of op. in LowerNegateToMultiply()
564 I->setOperand(OpIdx, UndefValue::get(I->getType())); in LinearizeExprTree()
734 Op->setOperand(0, NewLHS); in RewriteExprTree()
740 Op->setOperand(1, NewRHS); in RewriteExprTree()
767 Op->setOperand(1, NewRHS); in RewriteExprTree()
805 Op->setOperand(0, NewOp); in RewriteExprTree()
891 I->setOperand(0, NegateValue(I->getOperand(0), BI, ToRedo)); in NegateValue()
892 I->setOperand(1, NegateValue(I->getOperand(1), BI, ToRedo)); in NegateValue()
1122 Shl->setOperand(0, PoisonValue::get(Shl->getType())); // Drop use of op. in ConvertShiftToMul()
2171 Negatible->setOperand(0, ConstantFP::get(Negatible->getType(), abs(*C))); in canonicalizeNegFPConstantsForOp()
[all …]
H A DDCE.cpp69 I->setOperand(i, nullptr); in DCEInstruction()
H A DConstantHoisting.cpp738 Inst->setOperand(Idx, IncomingVal); in updateOperand()
744 Inst->setOperand(Idx, Mat); in updateOperand()
795 ClonedCastInst->setOperand(0, Mat); in emitBaseConstants()
820 ConstExprInst->setOperand(0, Mat); in emitBaseConstants()
H A DSeparateConstOffsetFromGEP.cpp671 Ext->setOperand(0, Current); in applyExts()
1032 GEP->setOperand(I, NewIdx); in splitGEP()
1320 First->setOperand(1, Offset2); in swapGEPOperand()
1321 Second->setOperand(1, Offset1); in swapGEPOperand()
H A DInferAddressSpaces.cpp1169 NewV->setOperand(OperandNo, ValueWithNewAddrSpace.lookup(PoisonUse->get())); in rewriteWithNewAddressSpaces()
1273 Cmp->setOperand(OtherIdx, OtherNewV); in rewriteWithNewAddressSpaces()
1274 Cmp->setOperand(SrcIdx, NewV); in rewriteWithNewAddressSpaces()
1282 Cmp->setOperand(SrcIdx, NewV); in rewriteWithNewAddressSpaces()
1283 Cmp->setOperand(OtherIdx, ConstantExpr::getAddrSpaceCast( in rewriteWithNewAddressSpaces()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVCodeGenPrepare.cpp97 BO.setOperand(1, ConstantInt::get(RHS->getType(), C)); in visitAnd()
151 I.setOperand(0, Builder.CreateExtractElement(VecPHI, (uint64_t)0)); in visitIntrinsicInst()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/
H A DOperandTraits.h113 inline void setOperand(unsigned, VALUECLASS*); \
144 void CLASS::setOperand(unsigned i_nocapture, VALUECLASS *Val_nocapture) { \
H A DUser.h174 void setOperand(unsigned i, Value *Val) { in setOperand() function
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DMemorySSA.h297 setOperand(0, DMA);
332 setOperand(0, DMA);
393 setOperand(1, MA);
407 setOperand(1, nullptr);
533 setOperand(I, V);
595 setOperand(E - 1, nullptr);
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVRegularizer.cpp159 II->setOperand(OI, RepMDVal); in runLowerConstExpr()
242 CI->setOperand(1, NewVec); in visitCallScalToVec()
H A DSPIRVEmitIntrinsics.cpp361 I->setOperand(OperandToReplace, II); in insertPtrCastInstr()
383 I->setOperand(OperandToReplace, PtrCastI); in insertPtrCastInstr()
602 I->setOperand(OpNo, NewOp); in processInstrAfterVisit()
/freebsd-14.2/contrib/llvm-project/llvm/lib/IR/
H A DMetadata.cpp640 setOperand(Op++, MD); in MDNode()
642 setOperand(Op++, MD); in MDNode()
894 setOperand(I, nullptr); in dropAllReferences()
907 setOperand(Op, New); in handleChangedOperand()
915 setOperand(Op, New); in handleChangedOperand()
940 setOperand(O, nullptr); in handleChangedOperand()
1067 setOperand(I, New); in replaceOperandWith()
1074 void MDNode::setOperand(unsigned I, Metadata *New) { in setOperand() function in MDNode
1381 void NamedMDNode::setOperand(unsigned I, MDNode *New) { in setOperand() function in NamedMDNode
H A DUser.cpp33 setOperand(i, To); in replaceUsesOfWith()
H A DIntrinsicInst.cpp212 setOperand(OpAssignID, MetadataAsValue::get(getContext(), New)); in setAssignId()
216 setOperand(OpAddress, in setAddress()
232 setOperand(OpValue, in setValue()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/ARM/
H A DMVELaneInterleavingPass.cpp378 I->getUser()->setOperand(I->getOperandNo(), Shuffle); in tryInterleave()
388 cast<Instruction>(Shuf)->setOperand(0, I); in tryInterleave()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/
H A DMachineDebugify.cpp153 NMD->setOperand(Idx, MDNode::get(Ctx, ValueAsMetadata::getConstant( in applyDebugifyMetadataToMachineFunction()
H A DTypePromotion.cpp502 I->setOperand(i, NewConst); in PromoteTree()
504 I->setOperand(i, ConstantInt::get(ExtTy, 0)); in PromoteTree()
579 I->setOperand(i, Trunc); in TruncateSinks()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/DirectX/
H A DDXILPrepare.cpp158 GEP->setOperand(0, NoOpBitcast); in runOnModule()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVPlanTransforms.cpp318 PHIRecipe->setOperand(0, RecipeWithoutMask); in createReplicateRegion()
748 RecurSplice->setOperand(0, FOR); in adjustFixedOrderRecurrences()
963 Ext->setOperand(0, ResultVPV); in truncateToMinimalBitwidths()
985 R.setOperand(Idx, NewOp); in truncateToMinimalBitwidths()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/XCore/
H A DXCoreLowerThreadLocal.cpp93 PN->setOperand(I, NewInst); in replaceConstantExprOp()

12345