Home
last modified time | relevance | path

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

12345

/freebsd/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.cpp233 LI->setOperand(0, I.NewParam); in INITIALIZE_PASS_DEPENDENCY()
280 SI->setOperand(0, GetParamAddrCastToGeneric(I.NewParam, SI)); in INITIALIZE_PASS_DEPENDENCY()
285 PI->setOperand(0, GetParamAddrCastToGeneric(I.NewParam, PI)); in INITIALIZE_PASS_DEPENDENCY()
501 CastToParam->setOperand(0, Arg); in handleByValParam()
549 PtrInGlobal->setOperand(0, Ptr); in markPointerAsGlobal()
/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.cpp267 S0->setOperand(0, Cast); in sinkStoresAndGEPs()
274 SNew->setOperand(0, NewPN); in sinkStoresAndGEPs()
284 SNew->setOperand(1, GEPNew); in sinkStoresAndGEPs()
H A DTailRecursionElimination.cpp706 AccRecInstr->setOperand(AccRecInstr->getOperand(0) != CI, AccPN); in eliminateCall()
779 AccRecInstrNew->setOperand(AccRecInstr->getOperand(0) == AccPN, in cleanupAndFinalize()
783 RI->setOperand(0, AccRecInstrNew); in cleanupAndFinalize()
798 RI->setOperand(0, SI); in cleanupAndFinalize()
808 AccRecInstrNew->setOperand(AccRecInstr->getOperand(0) == AccPN, in cleanupAndFinalize()
H A DReassociate.cpp298 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()
799 I->setOperand(0, NegateValue(I->getOperand(0), BI, ToRedo)); in NegateValue()
800 I->setOperand(1, NegateValue(I->getOperand(1), BI, ToRedo)); in NegateValue()
1017 Sub->setOperand(0, Constant::getNullValue(Sub->getType())); // Drop use of op. in BreakUpSubtract()
1018 Sub->setOperand(1, Constant::getNullValue(Sub->getType())); // Drop use of op. in BreakUpSubtract()
1039 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.cpp743 Inst->setOperand(Idx, IncomingVal); in updateOperand()
749 Inst->setOperand(Idx, Mat); in updateOperand()
802 ClonedCastInst->setOperand(0, Mat); in emitBaseConstants()
828 ConstExprInst->setOperand(0, Mat); in emitBaseConstants()
H A DInferAddressSpaces.cpp1170 NewV->setOperand(OperandNo, ValueWithNewAddrSpace.lookup(PoisonUse->get())); in rewriteWithNewAddressSpaces()
1274 Cmp->setOperand(OtherIdx, OtherNewV); in rewriteWithNewAddressSpaces()
1275 Cmp->setOperand(SrcIdx, NewV); in rewriteWithNewAddressSpaces()
1283 Cmp->setOperand(SrcIdx, NewV); in rewriteWithNewAddressSpaces()
1284 Cmp->setOperand(OtherIdx, ConstantExpr::getAddrSpaceCast( in rewriteWithNewAddressSpaces()
H A DSeparateConstOffsetFromGEP.cpp672 Ext->setOperand(0, Current); in applyExts()
1077 GEP->setOperand(I, NewIdx); in splitGEP()
1370 First->setOperand(1, Offset2); in swapGEPOperand()
1371 Second->setOperand(1, Offset1); in swapGEPOperand()
/freebsd/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) { \
146 && "setOperand() out of range!"); \
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVCodeGenPrepare.cpp102 BO.setOperand(1, ConstantInt::get(RHS->getType(), C)); in visitAnd()
161 I.setOperand(0, Builder.CreateExtractElement(VecPHI, (uint64_t)0)); in visitIntrinsicInst()
/freebsd/contrib/llvm-project/llvm/lib/SandboxIR/
H A DTracker.cpp84 BotLLVMI->setOperand(OpNum, Op); in revert()
90 LLVMI->setOperand(OpNum, Op); in revert()
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DMemorySSA.h298 setOperand(0, DMA);
333 setOperand(0, DMA);
394 setOperand(1, MA);
408 setOperand(1, nullptr);
534 setOperand(I, V);
596 setOperand(E - 1, nullptr);
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVRegularizer.cpp159 II->setOperand(OI, RepMDVal); in runLowerConstExpr()
242 CI->setOperand(1, NewVec); in visitCallScalToVec()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DMetadata.cpp649 setOperand(Op++, MD); in MDNode()
651 setOperand(Op++, MD); in MDNode()
903 setOperand(I, nullptr); in dropAllReferences()
916 setOperand(Op, New); in handleChangedOperand()
924 setOperand(Op, New); in handleChangedOperand()
949 setOperand(O, nullptr); in handleChangedOperand()
1076 setOperand(I, New); in replaceOperandWith()
1083 void MDNode::setOperand(unsigned I, Metadata *New) { in setOperand() function in MDNode
1390 void NamedMDNode::setOperand(unsigned I, MDNode *New) { in setOperand() function in NamedMDNode
H A DConstants.cpp1884 setOperand(0, F); in BlockAddress()
1885 setOperand(1, BB); in BlockAddress()
1935 setOperand(0, NewF); in handleOperandChangeImpl()
1936 setOperand(1, NewBB); in handleOperandChangeImpl()
1956 setOperand(0, GV); in DSOLocalEquivalent()
1992 setOperand(0, Func); in handleOperandChangeImpl()
2014 setOperand(0, GV); in NoCFIValue()
2035 setOperand(0, GV); in handleOperandChangeImpl()
2065 setOperand(0, Ptr); in ConstantPtrAuth()
2066 setOperand(1, Key); in ConstantPtrAuth()
[all …]
H A DUser.cpp33 setOperand(i, To); in replaceUsesOfWith()
H A DIntrinsicInst.cpp215 setOperand(OpAssignID, MetadataAsValue::get(getContext(), New)); in setAssignId()
219 setOperand(OpAddress, in setAddress()
235 setOperand(OpValue, in setValue()
/freebsd/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/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBPFASpaceCastSimplifyPass.cpp58 NewGEP->setOperand(0, InnerCast->getPointerOperand()); in rewrite()
H A DBPFCheckAndAdjustIR.cpp444 NewGEP->setOperand(GEP->getPointerOperandIndex(), WrappedPtr); in aspaceWrapValue()
471 I->setOperand(OpNum, NewOp); in aspaceWrapOperand()
/freebsd/contrib/llvm-project/llvm/include/llvm/SandboxIR/
H A DSandboxIR.h388 virtual void setOperand(unsigned OperandIdx, Value *Operand);
605 void setCondition(Value *New) { setOperand(0, New); } in setCondition()
606 void setTrueValue(Value *New) { setOperand(1, New); } in setTrueValue()
607 void setFalseValue(Value *New) { setOperand(2, New); } in setFalseValue()
/freebsd/contrib/llvm-project/llvm/lib/Target/XCore/
H A DXCoreLowerThreadLocal.cpp95 PN->setOperand(I, NewInst); in replaceConstantExprOp()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DTypePromotion.cpp510 I->setOperand(i, ConstantInt::get(Const->getContext(), NewConst)); in PromoteTree()
512 I->setOperand(i, ConstantInt::get(ExtTy, 0)); in PromoteTree()
587 I->setOperand(i, Trunc); in TruncateSinks()

12345