Home | History | Annotate | Download | only in IPO

Lines Matching refs:cast

358     return cmpGEPs(cast<GEPOperator>(GEPL), cast<GEPOperator>(GEPR));
684 const auto *SeqR = cast<ConstantDataSequential>(R);
698 const APInt &LInt = cast<ConstantInt>(L)->getValue();
699 const APInt &RInt = cast<ConstantInt>(R)->getValue();
703 const APFloat &LAPF = cast<ConstantFP>(L)->getValueAPF();
704 const APFloat &RAPF = cast<ConstantFP>(R)->getValueAPF();
708 const ConstantArray *LA = cast<ConstantArray>(L);
709 const ConstantArray *RA = cast<ConstantArray>(R);
710 uint64_t NumElementsL = cast<ArrayType>(TyL)->getNumElements();
711 uint64_t NumElementsR = cast<ArrayType>(TyR)->getNumElements();
715 if (int Res = cmpConstants(cast<Constant>(LA->getOperand(i)),
716 cast<Constant>(RA->getOperand(i))))
722 const ConstantStruct *LS = cast<ConstantStruct>(L);
723 const ConstantStruct *RS = cast<ConstantStruct>(R);
724 unsigned NumElementsL = cast<StructType>(TyL)->getNumElements();
725 unsigned NumElementsR = cast<StructType>(TyR)->getNumElements();
729 if (int Res = cmpConstants(cast<Constant>(LS->getOperand(i)),
730 cast<Constant>(RS->getOperand(i))))
736 const ConstantVector *LV = cast<ConstantVector>(L);
737 const ConstantVector *RV = cast<ConstantVector>(R);
738 unsigned NumElementsL = cast<VectorType>(TyL)->getNumElements();
739 unsigned NumElementsR = cast<VectorType>(TyR)->getNumElements();
743 if (int Res = cmpConstants(cast<Constant>(LV->getOperand(i)),
744 cast<Constant>(RV->getOperand(i))))
750 const ConstantExpr *LE = cast<ConstantExpr>(L);
751 const ConstantExpr *RE = cast<ConstantExpr>(R);
757 if (int Res = cmpConstants(cast<Constant>(LE->getOperand(i)),
758 cast<Constant>(RE->getOperand(i))))
764 const BlockAddress *LBA = cast<BlockAddress>(L);
765 const BlockAddress *RBA = cast<BlockAddress>(R);
832 return cmpNumbers(cast<IntegerType>(TyL)->getBitWidth(),
833 cast<IntegerType>(TyR)->getBitWidth());
835 VectorType *VTyL = cast<VectorType>(TyL), *VTyR = cast<VectorType>(TyR);
858 StructType *STyL = cast<StructType>(TyL);
859 StructType *STyR = cast<StructType>(TyR);
874 FunctionType *FTyL = cast<FunctionType>(TyL);
875 FunctionType *FTyR = cast<FunctionType>(TyR);
893 ArrayType *ATyL = cast<ArrayType>(TyL);
894 ArrayType *ATyR = cast<ArrayType>(TyR);
936 cast<AllocaInst>(R)->getAllocatedType()))
938 return cmpNumbers(AI->getAlignment(), cast<AllocaInst>(R)->getAlignment());
941 if (int Res = cmpNumbers(LI->isVolatile(), cast<LoadInst>(R)->isVolatile()))
944 cmpNumbers(LI->getAlignment(), cast<LoadInst>(R)->getAlignment()))
947 cmpOrderings(LI->getOrdering(), cast<LoadInst>(R)->getOrdering()))
950 cmpNumbers(LI->getSynchScope(), cast<LoadInst>(R)->getSynchScope()))
953 cast<LoadInst>(R)->getMetadata(LLVMContext::MD_range));
957 cmpNumbers(SI->isVolatile(), cast<StoreInst>(R)->isVolatile()))
960 cmpNumbers(SI->getAlignment(), cast<StoreInst>(R)->getAlignment()))
963 cmpOrderings(SI->getOrdering(), cast<StoreInst>(R)->getOrdering()))
965 return cmpNumbers(SI->getSynchScope(), cast<StoreInst>(R)->getSynchScope());
968 return cmpNumbers(CI->getPredicate(), cast<CmpInst>(R)->getPredicate());
971 cast<CallInst>(R)->getCallingConv()))
974 cmpAttrs(CI->getAttributes(), cast<CallInst>(R)->getAttributes()))
980 cast<CallInst>(R)->getMetadata(LLVMContext::MD_range));
984 cast<InvokeInst>(R)->getCallingConv()))
987 cmpAttrs(II->getAttributes(), cast<InvokeInst>(R)->getAttributes()))
993 cast<InvokeInst>(R)->getMetadata(LLVMContext::MD_range));
997 ArrayRef<unsigned> RIndices = cast<InsertValueInst>(R)->getIndices();
1008 ArrayRef<unsigned> RIndices = cast<ExtractValueInst>(R)->getIndices();
1018 cmpOrderings(FI->getOrdering(), cast<FenceInst>(R)->getOrdering()))
1020 return cmpNumbers(FI->getSynchScope(), cast<FenceInst>(R)->getSynchScope());
1024 cast<AtomicCmpXchgInst>(R)->isVolatile()))
1027 cast<AtomicCmpXchgInst>(R)->isWeak()))
1031 cast<AtomicCmpXchgInst>(R)->getSuccessOrdering()))
1035 cast<AtomicCmpXchgInst>(R)->getFailureOrdering()))
1038 cast<AtomicCmpXchgInst>(R)->getSynchScope());
1042 cast<AtomicRMWInst>(R)->getOperation()))
1045 cast<AtomicRMWInst>(R)->isVolatile()))
1048 cast<AtomicRMWInst>(R)->getOrdering()))
1051 cast<AtomicRMWInst>(R)->getSynchScope());
1054 const PHINode *PNR = cast<PHINode>(R);
1478 Function *F1 = cast<Function>(*I);
1479 Function *F2 = cast<Function>(*J);
1501 Function *F3 = cast<Function>(*K);
1584 Function *F = cast<Function>(I);