/freebsd-10.2-release/contrib/llvm/include/llvm/Support/ |
H A D | TargetFolder.h | 35 /// Fold - Fold the constant using target specific information. 36 Constant *Fold(Constant *C) const { function in class:llvm::TargetFolder 52 return Fold(ConstantExpr::getAdd(LHS, RHS, HasNUW, HasNSW)); 55 return Fold(ConstantExpr::getFAdd(LHS, RHS)); 59 return Fold(ConstantExpr::getSub(LHS, RHS, HasNUW, HasNSW)); 62 return Fold(ConstantExpr::getFSub(LHS, RHS)); 66 return Fold(ConstantExpr::getMul(LHS, RHS, HasNUW, HasNSW)); 69 return Fold(ConstantExpr::getFMul(LHS, RHS)); 72 return Fold(ConstantExp [all...] |
/freebsd-10.2-release/contrib/llvm/lib/TableGen/ |
H A D | Record.cpp | 717 Resolved = OResolved->Fold(&R, 0); 751 Init *UnOpInit::Fold(Record *CurRec, MultiClass *CurMultiClass) const { function in class:UnOpInit 865 return (UnOpInit::get(getOpcode(), lhs, getType()))->Fold(&R, 0); 866 return Fold(&R, 0); 897 Init *BinOpInit::Fold(Record *CurRec, MultiClass *CurMultiClass) const { function in class:BinOpInit 977 return (BinOpInit::get(getOpcode(), lhs, rhs, getType()))->Fold(&R, 0); 978 return Fold(&R, 0); 1061 Init *NewVal = NewOp->Fold(CurRec, CurMultiClass); 1134 Init *NewItem = NewOp->Fold(CurRec, CurMultiClass); 1144 Init *TernOpInit::Fold(Recor function in class:TernOpInit [all...] |
H A D | TGParser.cpp | 912 return (UnOpInit::get(Code, LHS, Type))->Fold(CurRec, CurMultiClass); 973 ->Fold(CurRec, CurMultiClass); 980 ->Fold(CurRec, CurMultiClass); 1099 return (TernOpInit::get(Code, LHS, MHS, RHS, Type))->Fold(CurRec, 1543 StringRecTy::get())->Fold(CurRec, CurMultiClass); 2300 StringRecTy::get())->Fold(DefProto, &MC), 2301 DefName, StringRecTy::get())->Fold(DefProto, &MC);
|
/freebsd-10.2-release/contrib/llvm/lib/Transforms/Utils/ |
H A D | LoopUnroll.cpp | 407 if (BasicBlock *Fold = FoldBlockIntoPredecessor(Dest, LI, LPM)) 408 std::replace(Latches.begin(), Latches.end(), Dest, Fold);
|
/freebsd-10.2-release/contrib/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineMulDivRem.cpp | 1048 Constant *Fold = 0; local 1054 Fold = ConstantExpr::getFDiv(C1, C2); 1057 Fold = ConstantExpr::getFMul(C1, C2); 1060 Fold = ConstantExpr::getFDiv(C1, C2); 1064 if (Fold) { 1065 const APFloat &FoldC = cast<ConstantFP>(Fold)->getValueAPF(); 1068 BinaryOperator::CreateFDiv(Fold, X) : 1069 BinaryOperator::CreateFMul(X, Fold);
|
/freebsd-10.2-release/contrib/llvm/include/llvm/TableGen/ |
H A D | Record.h | 865 // Fold - If possible, fold this to a simpler init. Return this if not 867 virtual Init *Fold(Record *CurRec, MultiClass *CurMultiClass) const = 0; 917 // Fold - If possible, fold this to a simpler init. Return this if not 919 virtual Init *Fold(Record *CurRec, MultiClass *CurMultiClass) const; 969 // Fold - If possible, fold this to a simpler init. Return this if not 971 virtual Init *Fold(Record *CurRec, MultiClass *CurMultiClass) const; 1028 // Fold - If possible, fold this to a simpler init. Return this if not 1030 virtual Init *Fold(Record *CurRec, MultiClass *CurMultiClass) const;
|
/freebsd-10.2-release/contrib/llvm/lib/Analysis/ |
H A D | ScalarEvolution.cpp | 837 // Fold if the operand is constant. 909 // Fold if the operand is constant. 1167 // Fold if the operand is constant. 1587 const SCEV *Fold = getAddExpr(LargeOps, Flags); variable 1589 if (isa<SCEVConstant>(Fold) || isa<SCEVUnknown>(Fold)) 1590 return getTruncateExpr(Fold, DstType); 1665 // Fold W + X + (X * Y * Z) --> W + (X * ((Y*Z)+1)) 1700 // Fold X + (A*B*C) + (A*D*E) --> X + (A*(B*C+D*E)) 1910 ConstantInt *Fold [all...] |
/freebsd-10.2-release/contrib/gcc/config/arm/ |
H A D | ieee754-df.S | 647 @ Fold them into lr.
|
/freebsd-10.2-release/contrib/llvm/tools/clang/lib/AST/ |
H A D | ExprConstant.cpp | 466 /// Fold the expression to a constant. Stop if we hit a side-effect that 3911 FoldConstant Fold(Info, IsBcpCall); 3913 Fold.keepDiagnostics();
|