Home
last modified time | relevance | path

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

123456

/freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXLowerAlloca.cpp109 LI->setOperand(LI->getPointerOperandIndex(), AllocaInGenericAS); in runOnFunction()
115 SI->setOperand(SI->getPointerOperandIndex(), AllocaInGenericAS); in runOnFunction()
120 GI->setOperand(GI->getPointerOperandIndex(), AllocaInGenericAS); in runOnFunction()
125 BI->setOperand(0, AllocaInGenericAS); in runOnFunction()
H A DNVPTXLowerArgs.cpp225 LI->setOperand(0, I.NewParam); in INITIALIZE_PASS_DEPENDENCY()
299 SI->setOperand(0, ParamInGenericAS); in INITIALIZE_PASS_DEPENDENCY()
304 PI->setOperand(0, ParamInGenericAS); in INITIALIZE_PASS_DEPENDENCY()
597 ParamSpaceArg->setOperand(0, Arg); in handleByValParam()
624 PtrInGlobal->setOperand(0, Ptr); in markPointerAsAS()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVPlanUnroll.cpp116 R->setOperand(OpIdx, getValueForPart(Op, Part)); in remapOperand()
122 R->setOperand(OpIdx, getValueForPart(Op, Part)); in remapOperands()
242 C->setOperand(0, C->getOperand(1)); in unrollHeaderPHIByUF()
295 Copy->setOperand(0, getValueForPart(Op, Part - 1)); in unrollRecipeByUF()
296 Copy->setOperand(1, getValueForPart(Op, Part)); in unrollRecipeByUF()
308 Phi->setOperand(1, Copy->getVPSingleValue()); in unrollRecipeByUF()
322 Copy->setOperand(0, R.getOperand(0)); in unrollRecipeByUF()
H A DVPlanConstruction.cpp394 Term->setOperand(0, Not); in canonicalHeaderAndLatch()
752 RdxResult->setOperand(1, NewSel); in handleMaxMinNumReductions()
769 DerivedIV->setOperand(1, NewSel); in handleMaxMinNumReductions()
781 ResumeR->setOperand(0, NewSel); in handleMaxMinNumReductions()
788 MiddleTerm->setOperand(0, NewCond); in handleMaxMinNumReductions()
H A DVPlanTransforms.cpp361 PHIRecipe->setOperand(0, RecipeWithoutMask); in createReplicateRegion()
892 ExitIRI->setOperand(Idx, Escape); in optimizeInductionExitUsers()
1088 Def->setOperand(0, C); in simplifyRecipe()
1089 Def->setOperand(1, Y); in simplifyRecipe()
1090 Def->setOperand(2, X); in simplifyRecipe()
1141 Def->setOperand(1, Def->getOperand(0)); in simplifyRecipe()
1142 Def->setOperand(0, Y); in simplifyRecipe()
1326 NewBlend->setOperand(0, Inc1); in simplifyBlends()
1327 NewBlend->setOperand(1, Inc0); in simplifyBlends()
1328 NewBlend->setOperand(2, NewMask); in simplifyBlends()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DDivRemPairs.cpp391 DivInst->setOperand(0, FrX); in optimizeDivRem()
392 Sub->setOperand(0, FrX); in optimizeDivRem()
400 DivInst->setOperand(1, FrY); in optimizeDivRem()
401 Mul->setOperand(1, FrY); in optimizeDivRem()
H A DMergedLoadStoreMotion.cpp269 S0->setOperand(0, Cast); in sinkStoresAndGEPs()
276 SNew->setOperand(0, NewPN); in sinkStoresAndGEPs()
286 SNew->setOperand(1, GEPNew); in sinkStoresAndGEPs()
H A DTailRecursionElimination.cpp724 AccRecInstr->setOperand(AccRecInstr->getOperand(0) != CI, AccPN); in eliminateCall()
820 AccRecInstrNew->setOperand(AccRecInstr->getOperand(0) == AccPN, in cleanupAndFinalize()
824 RI->setOperand(0, AccRecInstrNew); in cleanupAndFinalize()
840 RI->setOperand(0, SI); in cleanupAndFinalize()
850 AccRecInstrNew->setOperand(AccRecInstr->getOperand(0) == AccPN, in cleanupAndFinalize()
H A DReassociate.cpp300 Neg->setOperand(OpNo, Constant::getNullValue(Ty)); // Drop use of op. in LowerNegateToMultiply()
639 Op->setOperand(0, NewLHS); in RewriteExprTree()
645 Op->setOperand(1, NewRHS); in RewriteExprTree()
672 Op->setOperand(1, NewRHS); in RewriteExprTree()
710 Op->setOperand(0, NewOp); in RewriteExprTree()
790 I->setOperand(0, NegateValue(I->getOperand(0), BI, ToRedo)); in NegateValue()
791 I->setOperand(1, NegateValue(I->getOperand(1), BI, ToRedo)); in NegateValue()
1010 Sub->setOperand(0, Constant::getNullValue(Sub->getType())); // Drop use of op. in BreakUpSubtract()
1011 Sub->setOperand(1, Constant::getNullValue(Sub->getType())); // Drop use of op. in BreakUpSubtract()
1032 Shl->setOperand(0, PoisonValue::get(Shl->getType())); // Drop use of op. in ConvertShiftToMul()
[all …]
H A DDCE.cpp69 I->setOperand(i, nullptr); in createRedundantDbgInstEliminationPass()
H A DConstantHoisting.cpp716 Inst->setOperand(Idx, IncomingVal); in updateOperand()
722 Inst->setOperand(Idx, Mat); in updateOperand()
775 ClonedCastInst->setOperand(0, Mat); in emitBaseConstants()
801 ConstExprInst->setOperand(0, Mat); in emitBaseConstants()
H A DInferAddressSpaces.cpp1264 Cmp->setOperand(OtherIdx, OtherNewV); in performPointerReplacement()
1265 Cmp->setOperand(SrcIdx, NewV); in performPointerReplacement()
1273 Cmp->setOperand(SrcIdx, NewV); in performPointerReplacement()
1274 Cmp->setOperand(OtherIdx, ConstantExpr::getAddrSpaceCast( in performPointerReplacement()
1353 NewV->setOperand(OperandNo, ValueWithNewAddrSpace.lookup(PoisonUse->get())); in rewriteWithNewAddressSpaces()
H A DSeparateConstOffsetFromGEP.cpp674 Ext->setOperand(0, Current); in applyExts()
1112 GEP->setOperand(I, NewIdx); in splitGEP()
1436 First->setOperand(1, Offset2); in swapGEPOperand()
1437 Second->setOperand(1, Offset1); in swapGEPOperand()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DOperandTraits.h111 inline void setOperand(unsigned, VALUECLASS*); \
142 void CLASS::setOperand(unsigned i_nocapture, VALUECLASS *Val_nocapture) { \
/freebsd/contrib/llvm-project/llvm/lib/SandboxIR/
H A DUser.cpp91 void User::setOperand(unsigned OperandIdx, Value *Operand) { in setOperand() function in llvm::sandboxir::User
97 cast<llvm::User>(Val)->setOperand(OperandIdx, Operand->Val); in setOperand()
H A DTracker.cpp182 BotLLVMI->setOperand(OpNum, Op); in revert()
188 LLVMI->setOperand(OpNum, Op); in revert()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVCodeGenPrepare.cpp103 BO.setOperand(1, ConstantInt::get(RHS->getType(), C)); in visitAnd()
237 I.setOperand(0, Builder.CreateExtractElement(VecPHI, (uint64_t)0)); in visitIntrinsicInst()
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DMemorySSA.h295 setOperand(0, DMA);
331 setOperand(0, DMA);
393 setOperand(1, MA);
407 setOperand(1, nullptr);
535 setOperand(I, V);
597 setOperand(E - 1, nullptr);
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DWindowsSecureHotPatching.cpp437 NewInst->setOperand(OpIndex, ReplacedValue); in rewriteGlobalVariablesInConstant()
613 GVUse.User->setOperand(GVUse.Op, NewOperandValue); in runOnFunction()
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVRegularizer.cpp153 II->setOperand(OI, RepMDVal); in runLowerConstExpr()
238 CI->setOperand(1, NewVec); in visitCallScalToVec()
/freebsd/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBPFASpaceCastSimplifyPass.cpp58 NewGEP->setOperand(0, InnerCast->getPointerOperand()); in rewrite()
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DMVELaneInterleavingPass.cpp372 I->getUser()->setOperand(I->getOperandNo(), Shuffle); in tryInterleave()
382 cast<Instruction>(Shuf)->setOperand(0, I); in tryInterleave()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DMetadata.cpp656 setOperand(Op++, MD); in MDNode()
658 setOperand(Op++, MD); in MDNode()
910 setOperand(I, nullptr); in dropAllReferences()
923 setOperand(Op, New); in handleChangedOperand()
931 setOperand(Op, New); in handleChangedOperand()
956 setOperand(O, nullptr); in handleChangedOperand()
1083 setOperand(I, New); in replaceOperandWith()
1090 void MDNode::setOperand(unsigned I, Metadata *New) { in setOperand() function in MDNode
1455 void NamedMDNode::setOperand(unsigned I, MDNode *New) { in setOperand() function in NamedMDNode
/freebsd/contrib/llvm-project/llvm/lib/Transforms/ObjCARC/
H A DObjCARC.cpp126 CB->setOperand(OBI.Begin, in ~BundledRetainClaimRVs()
/freebsd/contrib/llvm-project/llvm/include/llvm/SandboxIR/
H A DUser.h133 virtual void setOperand(unsigned OperandIdx, Value *Operand);

123456