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/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/Transforms/InstCombine/
InstCombineMulDivRem.cpp 196 // Try to fold constant mul into select arguments.
416 // Try to fold constant mul into select arguments.
530 // The purpose is two-fold:
597 /// SimplifyDivRemOfSelect - Try to fold a divide or remainder of a select
708 // See if we can fold away this div instruction.
745 FoldUDivOperandCb FoldAction; ///< Informs visitUDiv() how to fold this
749 Value *OperandToFold; ///< Which operand to fold.
    [all...]
  /external/clang/lib/AST/
ExprConstant.cpp 30 // fold a potential constant sub-expression will be indicated by a 'false'
605 void Fold(EvalInfo &Info) {
    [all...]
  /external/llvm/lib/Analysis/
ScalarEvolution.cpp 837 // Fold if the operand is constant.
    [all...]

Completed in 560 milliseconds