|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
Declarations
include/llvm/IR/Instructions.h 365 DECLARE_TRANSPARENT_OPERAND_ACCESSORS(Value);
References
include/llvm/IR/Instructions.h 415 Value *getValueOperand() { return getOperand(0); }
416 const Value *getValueOperand() const { return getOperand(0); }
418 Value *getPointerOperand() { return getOperand(1); }
419 const Value *getPointerOperand() const { return getOperand(1); }
lib/Analysis/GlobalsModRef.cpp 356 if (V == SI->getOperand(1)) {
359 } else if (SI->getOperand(1) != OkayStoreDest) {
425 if (SI->getOperand(0) == GV)
429 if (isa<ConstantPointerNull>(SI->getOperand(0)))
433 Value *Ptr = GetUnderlyingObject(SI->getOperand(0),
lib/Analysis/Lint.cpp 513 DL->getTypeStoreSize(I.getOperand(0)->getType()),
515 I.getOperand(0)->getType(), MemRef::Write);
lib/Analysis/Loads.cpp 444 return SI->getOperand(0);
lib/CodeGen/CodeGenPrepare.cpp 6739 SI.getOperand(1),
6992 return optimizeMemoryInst(I, SI->getOperand(1),
6993 SI->getOperand(0)->getType(), AS);
lib/CodeGen/GCRootLowering.cpp 154 dyn_cast<AllocaInst>(SI->getOperand(1)->stripPointerCasts()))
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp 4132 const Value *SrcV = I.getOperand(0);
4188 const Value *SrcV = I.getOperand(0);
4189 const Value *PtrV = I.getOperand(1);
lib/CodeGen/SwiftErrorValueTracking.cpp 297 const Value *SwiftErrorAddr = SI->getOperand(1);
lib/ExecutionEngine/Interpreter/Execution.cpp 1104 GenericValue Val = getOperandValue(I.getOperand(0), SF);
1107 I.getOperand(0)->getType());
lib/IR/Instructions.cpp 1357 assert(getOperand(0) && getOperand(1) && "Both operands must be non-null!");
1357 assert(getOperand(0) && getOperand(1) && "Both operands must be non-null!");
1358 assert(getOperand(1)->getType()->isPointerTy() &&
1360 assert(getOperand(0)->getType() ==
1361 cast<PointerType>(getOperand(1)->getType())->getElementType()
1397 Op<0>() = val;
1398 Op<1>() = addr;
1411 Op<0>() = val;
1412 Op<1>() = addr;
4145 return new StoreInst(getOperand(0), getOperand(1), isVolatile(),
4145 return new StoreInst(getOperand(0), getOperand(1), isVolatile(),
lib/IR/Verifier.cpp 3403 PointerType *PTy = dyn_cast<PointerType>(SI.getOperand(1)->getType());
3406 Assert(ElTy == SI.getOperand(0)->getType(),
3454 Assert(StoreI->getOperand(1) == SwiftErrorVal,
lib/Target/AArch64/AArch64StackTagging.cpp 108 int64_t StoreSize = DL->getTypeStoreSize(SI->getOperand(0)->getType());
112 applyStore(IRB, Offset, Offset + StoreSize, SI->getOperand(0));
lib/Target/NVPTX/NVPTXLowerAggrCopies.cpp 80 if (SI->getOperand(0) != LI)
108 Value *DstAddr = SI->getOperand(1);
lib/Target/NVPTX/NVPTXLowerAlloca.cpp 100 SI->setOperand(SI->getPointerOperandIndex(), NewASCToGeneric);
lib/Transforms/IPO/GlobalOpt.cpp 411 return SI->getOperand(0) != V;
626 if (SI->getOperand(0) == V) {
691 if (SI->getOperand(1) == V) {
692 SI->setOperand(1, NewV);
976 if (SI->getOperand(0) == V && SI->getOperand(1) != GV)
976 if (SI->getOperand(0) == V && SI->getOperand(1) != GV)
1019 if (SI->getOperand(1) == GV) {
1037 if (SI->getOperand(1) == GV) {
1410 assert(isa<ConstantPointerNull>(SI->getOperand(0)) &&
1700 bool StoringOther = SI->getOperand(0) == OtherVal;
1703 if (StoringOther || SI->getOperand(0) == InitVal) {
1710 Instruction *StoredVal = cast<Instruction>(SI->getOperand(0));
lib/Transforms/InstCombine/InstCombineCasts.cpp 2264 if (SI->isSimple() && SI->getOperand(0) == OldPN) {
2268 SI->setOperand(0, NewBC);
lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp 916 MemI.setOperand(MemI.getPointerOperandIndex(), NewGEPI);
1351 Value *Val = SI.getOperand(0);
1352 Value *Ptr = SI.getOperand(1);
1423 if (PrevSI->isUnordered() && equivalentAddressValues(PrevSI->getOperand(1),
1424 SI.getOperand(1))) {
1456 SI.setOperand(0, UndefValue::get(Val->getType()));
1530 if (!OtherStore || OtherStore->getOperand(1) != SI.getOperand(1) ||
1530 if (!OtherStore || OtherStore->getOperand(1) != SI.getOperand(1) ||
1546 if (OtherStore->getOperand(1) != SI.getOperand(1) ||
1546 if (OtherStore->getOperand(1) != SI.getOperand(1) ||
1568 Value *MergedVal = OtherStore->getOperand(0);
1572 if (MergedVal != SI.getOperand(0)) {
1574 PN->addIncoming(SI.getOperand(0), SI.getParent());
1575 PN->addIncoming(OtherStore->getOperand(0), OtherBB);
1582 StoreInst *NewSI = new StoreInst(MergedVal, SI.getOperand(1), SI.isVolatile(),
lib/Transforms/InstCombine/InstCombinePHI.cpp 508 if (SI->getOperand(1) == AI) continue;
lib/Transforms/Scalar/ConstantHoisting.cpp 670 if (SI->getPointerOperand() == SI->getOperand(U.OpndIdx)) {
lib/Transforms/Scalar/LoopLoadElimination.cpp 444 PHI->addIncoming(Cand.Store->getOperand(0), L->getLoopLatch());
lib/Transforms/Scalar/LoopStrengthReduce.cpp 841 AccessTy.MemTy = SI->getOperand(0)->getType();
1489 Store->getOperand(0)->printAsOperand(OS, /*PrintType=*/false);
lib/Transforms/Scalar/MemCpyOptimizer.cpp 173 int64_t StoreSize = DL.getTypeStoreSize(SI->getOperand(0)->getType());
331 Value *StoredByte = isBytewiseValue(NextStore->getOperand(0), DL);
422 StoreAlign = DL.getABITypeAlignment(SI->getOperand(0)->getType());
549 if (LoadInst *LI = dyn_cast<LoadInst>(SI->getOperand(0))) {
651 DL.getTypeStoreSize(SI->getOperand(0)->getType()),
671 auto *V = SI->getOperand(0);
lib/Transforms/Scalar/MergedLoadStoreMotion.cpp 267 SNew->setOperand(0, NewPN);
lib/Transforms/Scalar/NewGVN.cpp 1349 StoreExpression(SI->getNumOperands(), SI, StoredValueLeader, MA);
lib/Transforms/Scalar/SCCP.cpp 1131 if (SI.getOperand(0)->getType()->isStructTy())
1134 if (TrackedGlobals.empty() || !isa<GlobalVariable>(SI.getOperand(1)))
1137 GlobalVariable *GV = cast<GlobalVariable>(SI.getOperand(1));
1142 mergeInValue(I->second, GV, getValueState(SI.getOperand(0)));
lib/Transforms/Scalar/SROA.cpp 967 Value *Op = SI->getOperand(0);
2650 Value *OldOp = SI.getOperand(1);
3129 Value *Op = SI->getOperand(0);
lib/Transforms/Utils/Evaluator.cpp 341 Constant *Ptr = getVal(SI->getOperand(1));
354 Constant *Val = getVal(SI->getOperand(0));
lib/Transforms/Utils/GlobalStatus.cpp 96 if (SI->getOperand(0) == V)
110 dyn_cast<GlobalVariable>(SI->getOperand(1))) {
111 Value *StoredVal = SI->getOperand(0);
lib/Transforms/Utils/Local.cpp 2087 Value *Ptr = SI->getOperand(1);
lib/Transforms/Utils/PromoteMemoryToRegister.cpp 77 if (SI->getOperand(0) == AI)
351 bool StoringGlobalVal = !isa<Instruction>(OnlyStore->getOperand(0));
391 Value *ReplVal = OnlyStore->getOperand(0);
492 Value *ReplVal = std::prev(I)->second->getOperand(0);
795 if (SI->getOperand(1) != AI)
969 IncomingVals[AllocaNo] = SI->getOperand(0);
lib/Transforms/Utils/SSAUpdater.cpp 345 SomeVal = cast<StoreInst>(Insts[0])->getOperand(0);
380 SSA.AddAvailableValue(BB, SI->getOperand(0));
436 StoredValue = SI->getOperand(0);
lib/Transforms/Utils/SimplifyCFG.cpp 2100 SpeculatedStore->setOperand(0, S);