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

References

lib/Transforms/Utils/FunctionComparator.cpp
  498   if (int Res = cmpValues(L, R))
  505   if (int Res = cmpNumbers(L->getOpcode(), R->getOpcode()))
  510     const GetElementPtrInst *GEPR = cast<GetElementPtrInst>(R);
  517   if (int Res = cmpNumbers(L->getNumOperands(), R->getNumOperands()))
  520   if (int Res = cmpTypes(L->getType(), R->getType()))
  524                            R->getRawSubclassOptionalData()))
  531             cmpTypes(L->getOperand(i)->getType(), R->getOperand(i)->getType()))
  538                            cast<AllocaInst>(R)->getAllocatedType()))
  540     return cmpNumbers(AI->getAlignment(), cast<AllocaInst>(R)->getAlignment());
  543     if (int Res = cmpNumbers(LI->isVolatile(), cast<LoadInst>(R)->isVolatile()))
  546             cmpNumbers(LI->getAlignment(), cast<LoadInst>(R)->getAlignment()))
  549             cmpOrderings(LI->getOrdering(), cast<LoadInst>(R)->getOrdering()))
  552                              cast<LoadInst>(R)->getSyncScopeID()))
  555         cast<LoadInst>(R)->getMetadata(LLVMContext::MD_range));
  559             cmpNumbers(SI->isVolatile(), cast<StoreInst>(R)->isVolatile()))
  562             cmpNumbers(SI->getAlignment(), cast<StoreInst>(R)->getAlignment()))
  565             cmpOrderings(SI->getOrdering(), cast<StoreInst>(R)->getOrdering()))
  568                       cast<StoreInst>(R)->getSyncScopeID());
  571     return cmpNumbers(CI->getPredicate(), cast<CmpInst>(R)->getPredicate());
  573     auto CSR = CallSite(const_cast<Instruction *>(R));
  578     if (int Res = cmpOperandBundlesSchema(L, R))
  582                                cast<CallInst>(R)->getTailCallKind()))
  585                             R->getMetadata(LLVMContext::MD_range));
  589     ArrayRef<unsigned> RIndices = cast<InsertValueInst>(R)->getIndices();
  600     ArrayRef<unsigned> RIndices = cast<ExtractValueInst>(R)->getIndices();
  610             cmpOrderings(FI->getOrdering(), cast<FenceInst>(R)->getOrdering()))
  613                       cast<FenceInst>(R)->getSyncScopeID());
  617                              cast<AtomicCmpXchgInst>(R)->isVolatile()))
  620                              cast<AtomicCmpXchgInst>(R)->isWeak()))
  624                          cast<AtomicCmpXchgInst>(R)->getSuccessOrdering()))
  628                          cast<AtomicCmpXchgInst>(R)->getFailureOrdering()))
  631                       cast<AtomicCmpXchgInst>(R)->getSyncScopeID());
  635                              cast<AtomicRMWInst>(R)->getOperation()))
  638                              cast<AtomicRMWInst>(R)->isVolatile()))
  641                              cast<AtomicRMWInst>(R)->getOrdering()))
  644                       cast<AtomicRMWInst>(R)->getSyncScopeID());
  647     const PHINode *PNR = cast<PHINode>(R);