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

References

lib/IR/Instruction.cpp
  381   assert(I1->getOpcode() == I2->getOpcode() &&
  385     return AI->getAllocatedType() == cast<AllocaInst>(I2)->getAllocatedType() &&
  386            (AI->getAlignment() == cast<AllocaInst>(I2)->getAlignment() ||
  389     return LI->isVolatile() == cast<LoadInst>(I2)->isVolatile() &&
  390            (LI->getAlignment() == cast<LoadInst>(I2)->getAlignment() ||
  392            LI->getOrdering() == cast<LoadInst>(I2)->getOrdering() &&
  393            LI->getSyncScopeID() == cast<LoadInst>(I2)->getSyncScopeID();
  395     return SI->isVolatile() == cast<StoreInst>(I2)->isVolatile() &&
  396            (SI->getAlignment() == cast<StoreInst>(I2)->getAlignment() ||
  398            SI->getOrdering() == cast<StoreInst>(I2)->getOrdering() &&
  399            SI->getSyncScopeID() == cast<StoreInst>(I2)->getSyncScopeID();
  401     return CI->getPredicate() == cast<CmpInst>(I2)->getPredicate();
  403     return CI->isTailCall() == cast<CallInst>(I2)->isTailCall() &&
  404            CI->getCallingConv() == cast<CallInst>(I2)->getCallingConv() &&
  405            CI->getAttributes() == cast<CallInst>(I2)->getAttributes() &&
  406            CI->hasIdenticalOperandBundleSchema(*cast<CallInst>(I2));
  408     return CI->getCallingConv() == cast<InvokeInst>(I2)->getCallingConv() &&
  409            CI->getAttributes() == cast<InvokeInst>(I2)->getAttributes() &&
  410            CI->hasIdenticalOperandBundleSchema(*cast<InvokeInst>(I2));
  412     return CI->getCallingConv() == cast<CallBrInst>(I2)->getCallingConv() &&
  413            CI->getAttributes() == cast<CallBrInst>(I2)->getAttributes() &&
  414            CI->hasIdenticalOperandBundleSchema(*cast<CallBrInst>(I2));
  416     return IVI->getIndices() == cast<InsertValueInst>(I2)->getIndices();
  418     return EVI->getIndices() == cast<ExtractValueInst>(I2)->getIndices();
  420     return FI->getOrdering() == cast<FenceInst>(I2)->getOrdering() &&
  421            FI->getSyncScopeID() == cast<FenceInst>(I2)->getSyncScopeID();
  423     return CXI->isVolatile() == cast<AtomicCmpXchgInst>(I2)->isVolatile() &&
  424            CXI->isWeak() == cast<AtomicCmpXchgInst>(I2)->isWeak() &&
  426                cast<AtomicCmpXchgInst>(I2)->getSuccessOrdering() &&
  428                cast<AtomicCmpXchgInst>(I2)->getFailureOrdering() &&
  430                cast<AtomicCmpXchgInst>(I2)->getSyncScopeID();
  432     return RMWI->getOperation() == cast<AtomicRMWInst>(I2)->getOperation() &&
  433            RMWI->isVolatile() == cast<AtomicRMWInst>(I2)->isVolatile() &&
  434            RMWI->getOrdering() == cast<AtomicRMWInst>(I2)->getOrdering() &&
  435            RMWI->getSyncScopeID() == cast<AtomicRMWInst>(I2)->getSyncScopeID();