HomeSort by relevance Sort by last modified time
    Searched defs:Fold (Results 1 - 5 of 5) sorted by null

  /external/llvm/include/llvm/Support/
TargetFolder.h 35 /// Fold - Fold the constant using target specific information.
36 Constant *Fold(Constant *C) const {
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(ConstantExpr::getUDiv(LHS, RHS, isExact))
    [all...]
  /external/llvm/lib/Transforms/InstCombine/
InstCombineMulDivRem.cpp 164 // Try to fold constant mul into select arguments.
384 // Try to fold constant mul into select arguments.
498 // The purpose is two-fold:
536 /// SimplifyDivRemOfSelect - Try to fold a divide or remainder of a select
648 // See if we can fold away this div instruction.
895 Constant *Fold = 0;
901 Fold = ConstantExpr::getFDiv(C1, C2);
904 Fold = ConstantExpr::getFMul(C1, C2);
907 Fold = ConstantExpr::getFDiv(C1, C2);
911 if (Fold) {
    [all...]
  /external/llvm/lib/TableGen/
Record.cpp 704 Resolved = OResolved->Fold(&R, 0);
740 Init *UnOpInit::Fold(Record *CurRec, MultiClass *CurMultiClass) const {
854 return (UnOpInit::get(getOpcode(), lhs, getType()))->Fold(&R, 0);
855 return Fold(&R, 0);
887 Init *BinOpInit::Fold(Record *CurRec, MultiClass *CurMultiClass) const {
919 // try to fold eq comparison for 'bit' and 'int', otherwise fallback
967 return (BinOpInit::get(getOpcode(), lhs, rhs, getType()))->Fold(&R, 0);
968 return Fold(&R, 0);
1051 Init *NewVal = NewOp->Fold(CurRec, CurMultiClass);
1124 Init *NewItem = NewOp->Fold(CurRec, CurMultiClass)
    [all...]
  /external/llvm/lib/Analysis/
ScalarEvolution.cpp 834 // Fold if the operand is constant.
    [all...]
  /external/clang/lib/AST/
ExprConstant.cpp 30 // fold a potential constant sub-expression will be indicated by a 'false'
532 void Fold(EvalInfo &Info) {
    [all...]

Completed in 1005 milliseconds