Searched refs:setOperand (Results 1 - 25 of 92) sorted by relevance

1234

/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXLowerAlloca.cpp93 LI->setOperand(LI->getPointerOperandIndex(), NewASCToGeneric);
99 SI->setOperand(SI->getPointerOperandIndex(), NewASCToGeneric);
104 GI->setOperand(GI->getPointerOperandIndex(), NewASCToGeneric);
109 BI->setOperand(0, NewASCToGeneric);
H A DNVPTXLowerArgs.cpp202 PtrInGlobal->setOperand(0, Ptr);
/freebsd-12-stable/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!"); \
H A DGlobalIndirectSymbol.h51 setOperand(0, Symbol);
H A DUser.h174 void setOperand(unsigned i, Value *Val) {
175 assert(i < NumUserOperands && "setOperand() out of range!");
178 "Cannot mutate a constant with setOperand!");
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineAtomicRMW.cpp141 RMWI.setOperand(1, ConstantInt::get(RMWI.getType(), 0));
146 RMWI.setOperand(1, ConstantFP::getNegativeZero(RMWI.getType()));
H A DInstCombineMulDivRem.cpp75 I->setOperand(0, V2);
595 I.setOperand(1, SI->getOperand(NonNullOperand));
687 I.setOperand(1, V);
803 I.setOperand(0, ConstantInt::get(Ty, 1));
804 I.setOperand(1, Y);
1280 I.setOperand(0, X);
1281 I.setOperand(1, Y);
1290 I.setOperand(0, ConstantFP::get(I.getType(), 1.0));
1291 I.setOperand(1, Y);
1318 I.setOperand(
[all...]
H A DInstCombineSelect.cpp110 Sel.setOperand(IsEq ? 1 : 2, Y);
979 Cmp.setOperand(0, CmpLHS);
980 Cmp.setOperand(1, CmpRHS);
981 Sel.setOperand(1, TrueVal);
982 Sel.setOperand(2, FalseVal);
1084 Cmp.setOperand(1, ConstantInt::getNullValue(Cmp.getOperand(0)->getType()));
1086 Cmp.setOperand(0, LHS);
1429 SI.setOperand(1, CmpRHS);
1433 SI.setOperand(2, CmpRHS);
2368 SI.setOperand(
[all...]
H A DInstructionCombining.cpp303 Cast->setOperand(0, BinOp2->getOperand(0));
304 BinOp1->setOperand(1, FoldedC);
353 I.setOperand(0, A);
354 I.setOperand(1, V);
386 I.setOperand(0, V);
387 I.setOperand(1, C);
414 I.setOperand(0, V);
415 I.setOperand(1, B);
434 I.setOperand(0, B);
435 I.setOperand(
[all...]
H A DInstCombineLoadStoreAlloca.cpp191 AI.setOperand(0, V);
233 AI.setOperand(0, V);
359 AI.setOperand(0, ConstantInt::get(AI.getArraySize()->getType(), 1));
923 NewGEPI->setOperand(Idx,
926 MemI.setOperand(MemI.getPointerOperandIndex(), NewGEPI);
1056 LI.setOperand(0, SI->getOperand(2));
1064 LI.setOperand(0, SI->getOperand(1));
1480 SI.setOperand(0, UndefValue::get(Val->getType()));
H A DInstCombineShifts.cpp411 I.setOperand(1, Rem);
562 InnerShift->setOperand(1, ConstantInt::get(ShType, ShAmt));
636 I->setOperand(
638 I->setOperand(
648 I->setOperand(
650 I->setOperand(
/freebsd-12-stable/contrib/llvm-project/llvm/lib/FuzzMutate/
H A DRandomIRBuilder.cpp114 U->setOperand(OpNo, V);
/freebsd-12-stable/contrib/llvm-project/llvm/lib/IR/
H A DUser.cpp28 // The side effects of this setOperand call include linking to
31 setOperand(i, To); // Fix it now...
H A DMetadata.cpp511 setOperand(Op++, MD);
513 setOperand(Op++, MD);
693 setOperand(I, nullptr);
706 setOperand(Op, New);
714 setOperand(Op, New);
739 setOperand(O, nullptr);
865 setOperand(I, New);
872 void MDNode::setOperand(unsigned I, Metadata *New) {
1090 void NamedMDNode::setOperand(unsigned I, MDNode *New) {
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DDCE.cpp135 I->setOperand(i, nullptr);
H A DReassociate.cpp279 Neg->setOperand(OpNo, Constant::getNullValue(Ty)); // Drop use of op.
544 I->setOperand(OpIdx, UndefValue::get(I->getType()));
703 Op->setOperand(0, NewLHS);
709 Op->setOperand(1, NewRHS);
734 Op->setOperand(1, NewRHS);
770 Op->setOperand(0, NewOp);
834 I->setOperand(0, NegateValue(I->getOperand(0), BI, ToRedo));
835 I->setOperand(1, NegateValue(I->getOperand(1), BI, ToRedo));
962 Sub->setOperand(0, Constant::getNullValue(Sub->getType())); // Drop use of op.
963 Sub->setOperand(
[all...]
H A DInferAddressSpaces.cpp896 NewV->setOperand(OperandNo, ValueWithNewAddrSpace.lookup(UndefUse->get()));
967 Cmp->setOperand(OtherIdx, OtherNewV);
968 Cmp->setOperand(SrcIdx, NewV);
976 Cmp->setOperand(SrcIdx, NewV);
977 Cmp->setOperand(OtherIdx,
H A DConstantHoisting.cpp723 Inst->setOperand(Idx, IncomingVal);
729 Inst->setOperand(Idx, Mat);
786 ClonedCastInst->setOperand(0, Mat);
811 ConstExprInst->setOperand(0, Mat);
H A DSeparateConstOffsetFromGEP.cpp626 Ext->setOperand(0, Current);
987 GEP->setOperand(I, NewIdx);
1296 First->setOperand(1, Offset2);
1297 Second->setOperand(1, Offset1);
H A DSimplifyCFGPass.cpp147 RetBlock->getTerminator()->setOperand(0, RetBlockPHI);
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVPlanValue.h167 void setOperand(unsigned I, VPValue *New) { Operands[I] = New; }
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DMemorySSA.h303 setOperand(0, DMA);
339 setOperand(0, DMA);
396 setOperand(1, MA);
410 setOperand(1, nullptr);
537 setOperand(I, V);
599 setOperand(E - 1, nullptr);
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUPromoteAlloca.cpp840 CI->setOperand(0, ConstantPointerNull::get(NewTy));
843 CI->setOperand(1, ConstantPointerNull::get(NewTy));
863 SI->setOperand(1, ConstantPointerNull::get(NewTy));
866 SI->setOperand(2, ConstantPointerNull::get(NewTy));
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCBoolRetToInt.cpp259 Second->setOperand(i, BoolToIntMap[First->getOperand(i)]);
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/XCore/
H A DXCoreLowerThreadLocal.cpp144 PN->setOperand(I, NewInst);

Completed in 320 milliseconds

1234