reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

include/llvm/IR/CallSite.h
  201     getInstruction()->setOperand(ArgNo, newVal);
lib/CodeGen/CodeGenPrepare.cpp
 2363       Inst->setOperand(Idx, NewVal);
 2371       Inst->setOperand(Idx, Origin);
 2394         Inst->setOperand(It, UndefValue::get(Val->getType()));
 2402         Inst->setOperand(It, OriginalValues[It]);
 2550         UseIt->Inst->setOperand(UseIt->Idx, Inst);
 5809   NewAnd->setOperand(0, Load);
 6207       NewInstructions[OldI]->setOperand(U->getOperandNo(), NI);
 6580     ToBePromoted->setOperand(U.getOperandNo(), NewVal);
 6583   Transition->setOperand(getTransitionOriginalValueIdx(), ToBePromoted);
lib/CodeGen/HardwareLoops.cpp
  270     LoopDec->setOperand(0, EltsRem);
lib/CodeGen/SjLjEHPrepare.cpp
  253     SI->setOperand(1, &AI);
lib/FuzzMutate/RandomIRBuilder.cpp
  114     U->setOperand(OpNo, V);
lib/IR/Core.cpp
 1003   unwrap<User>(Val)->setOperand(Index, unwrap(Op));
lib/IR/User.cpp
   31       setOperand(i, To); // Fix it now...
lib/Target/AArch64/AArch64PromoteConstant.cpp
  515       Use.first->setOperand(Use.second, LoadedCst);
lib/Target/AArch64/AArch64StackTagging.cpp
  629     TagPCall->setOperand(0, Info.AI);
lib/Target/AMDGPU/AMDGPUAtomicOptimizer.cpp
  574   NewI->setOperand(ValIdx, NewV);
lib/Target/ARM/ARMCodeGenPrepare.cpp
  563         I->setOperand(i, NewConst);
  565         I->setOperand(i, UndefValue::get(ExtTy));
  657         I->setOperand(i, Trunc);
lib/Target/Hexagon/HexagonLoopIdiomRecognition.cpp
  337         U->setOperand(i, F->second);
  394         U->setOperand(i, NewV);
 1048         In->setOperand(i, ConstantInt::get(DestTy, CI->getZExtValue()));
 1106       cast<Instruction>(T)->setOperand(0, P);
lib/Target/Hexagon/HexagonVectorLoopCarriedReuse.cpp
  625       InstInPreheader->setOperand(j, ValInPreheader);
lib/Target/NVPTX/NVPTXGenericToNVVM.cpp
  114             II->setOperand(
lib/Target/NVPTX/NVPTXLowerArgs.cpp
  202   PtrInGlobal->setOperand(0, Ptr);
lib/Target/PowerPC/PPCBoolRetToInt.cpp
  259           Second->setOperand(i, BoolToIntMap[First->getOperand(i)]);
lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp
  913       NewGEPI->setOperand(Idx,
lib/Transforms/InstCombine/InstCombineShifts.cpp
  556     I->setOperand(
  558     I->setOperand(
  568     I->setOperand(
  570     I->setOperand(
lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
   55   I->setOperand(OpNo, ConstantInt::get(Op->getType(), *C & Demanded));
 1175         Inst->setOperand(OpNum, V);
 1350       I->setOperand(2, ConstantVector::get(Elts));
lib/Transforms/InstCombine/InstructionCombining.cpp
 1362   Parent.first->setOperand(Parent.second, Op);
 1831             Src->setOperand(1, GO1);
lib/Transforms/Instrumentation/ControlHeightReduction.cpp
 1627               UI->setOperand(J, PN);
lib/Transforms/Instrumentation/HWAddressSanitizer.cpp
  591   I->setOperand(getPointerOperandIndex(I), UntaggedPtr);
lib/Transforms/Scalar/CallSiteSplitting.cpp
  229     Copy->setOperand(0, V);
lib/Transforms/Scalar/ConstantHoisting.cpp
  716         Inst->setOperand(Idx, IncomingVal);
  722   Inst->setOperand(Idx, Mat);
  779       ClonedCastInst->setOperand(0, Mat);
  804     ConstExprInst->setOperand(0, Mat);
lib/Transforms/Scalar/DCE.cpp
   96       I->setOperand(i, nullptr);
lib/Transforms/Scalar/DeadStoreElimination.cpp
  127       DeadInst->setOperand(op, nullptr);
lib/Transforms/Scalar/GVN.cpp
 1764       Instr->setOperand(OpNum, it->second);
 2218       Instr->setOperand(i, V);
lib/Transforms/Scalar/InferAddressSpaces.cpp
  898     NewV->setOperand(OperandNo, ValueWithNewAddrSpace.lookup(UndefUse->get()));
lib/Transforms/Scalar/JumpThreading.cpp
 2020           New->setOperand(i, I->second);
 2333           New->setOperand(i, I->second);
lib/Transforms/Scalar/LoopStrengthReduce.cpp
 5446       LF.UserInst->setOperand(0, FullV);
lib/Transforms/Scalar/Reassociate.cpp
  278   Neg->setOperand(OpNo, Constant::getNullValue(Ty)); // Drop use of op.
  961   Sub->setOperand(0, Constant::getNullValue(Sub->getType())); // Drop use of op.
  962   Sub->setOperand(1, Constant::getNullValue(Sub->getType())); // Drop use of op.
  981   Shl->setOperand(0, UndefValue::get(Shl->getType())); // Drop use of op.
 2017       Negatible->setOperand(0, ConstantFP::get(Negatible->getType(), abs(*C)));
 2024       Negatible->setOperand(1, ConstantFP::get(Negatible->getType(), abs(*C)));
lib/Transforms/Scalar/RewriteStatepointsForGC.cpp
 2621       I.setOperand(0, Splat);
lib/Transforms/Scalar/SCCP.cpp
 2000     I->setOperand(0, C);
lib/Transforms/Scalar/Scalarizer.cpp
  362     Op->setOperand(I, UndefValue::get(Op->getOperand(I)->getType()));
lib/Transforms/Scalar/SeparateConstOffsetFromGEP.cpp
  625       Ext->setOperand(0, Current);
lib/Transforms/Scalar/SimplifyCFGPass.cpp
  131       RetBlock->getTerminator()->setOperand(0, RetBlockPHI);
lib/Transforms/Scalar/StraightLineStrengthReduce.cpp
  733       UnlinkedInst->setOperand(I, nullptr);
lib/Transforms/Scalar/TailRecursionElimination.cpp
  658       AccRecInstr->setOperand(AccRecInstr->getOperand(0) != CI, AccPN);
lib/Transforms/Utils/BasicBlockUtils.cpp
  792           NewBC->setOperand(0, PN->getIncomingValueForBlock(Pred));
lib/Transforms/Utils/CloneFunction.cpp
  873           New->setOperand(i, I->second);
lib/Transforms/Utils/InlineFunction.cpp
 2298   Br->setOperand(0, &*FirstNewBlock);
lib/Transforms/Utils/Local.cpp
  555       I->setOperand(i, nullptr);
 1480         NewDbgII->setOperand(0, PhiMAV);
lib/Transforms/Utils/LoopUnroll.cpp
   86       I->setOperand(op, wrap(It->second));
lib/Transforms/Utils/SimplifyIndVar.cpp
  162   UseInst->setOperand(OperIdx, IVSrc);
lib/Transforms/Vectorize/LoopVectorize.cpp
 2502     Cloned->setOperand(op, NewOp);
tools/clang/lib/CodeGen/CGVTables.cpp
  215   ThisStore->setOperand(0, AdjustedThisPtr);
tools/polly/lib/CodeGen/CodeGeneration.cpp
  252     SplitBBTerm->setOperand(0, FalseI1);
  272     Builder.GetInsertBlock()->getTerminator()->setOperand(0, RTC);