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

  /external/llvm/include/llvm/Analysis/
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 192 // Try to fold constant mul into select arguments.
450 // Try to fold constant mul into select arguments.
570 // The purpose is two-fold:
638 /// SimplifyDivRemOfSelect - Try to fold a divide or remainder of a select
768 // See if we can fold away this div instruction.
805 FoldUDivOperandCb FoldAction; ///< Informs visitUDiv() how to fold this
809 Value *OperandToFold; ///< Which operand to fold.
    [all...]
  /external/llvm/lib/Analysis/
ScalarEvolution.cpp 836 // Fold if the operand is constant.
    [all...]
  /external/llvm/lib/TableGen/
Record.cpp 717 Resolved = OResolved->Fold(&R, nullptr);
751 Init *UnOpInit::Fold(Record *CurRec, MultiClass *CurMultiClass) const {
859 return (UnOpInit::get(getOpcode(), lhs, getType()))->Fold(&R, nullptr);
860 return Fold(&R, nullptr);
891 Init *BinOpInit::Fold(Record *CurRec, MultiClass *CurMultiClass) const {
935 // try to fold eq comparison for 'bit' and 'int', otherwise fallback
983 return (BinOpInit::get(getOpcode(), lhs, rhs, getType()))->Fold(&R,nullptr);
984 return Fold(&R, nullptr);
1064 Init *NewVal = NewOp->Fold(CurRec, CurMultiClass);
    [all...]

Completed in 142 milliseconds