/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/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...] |
TGParser.cpp | 902 return (UnOpInit::get(Code, LHS, Type))->Fold(CurRec, CurMultiClass); 981 ->Fold(CurRec, CurMultiClass); 988 ->Fold(CurRec, CurMultiClass); [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/Transforms/Utils/ |
LoopUnroll.cpp | 430 if (BasicBlock *Fold = FoldBlockIntoPredecessor(Dest, LI, LPM)) 431 std::replace(Latches.begin(), Latches.end(), Dest, Fold);
|
/external/llvm/include/llvm/TableGen/ |
Record.h | 866 // Fold - If possible, fold this to a simpler init. Return this if not 867 // possible to fold. 868 virtual Init *Fold(Record *CurRec, MultiClass *CurMultiClass) const = 0; 918 // Fold - If possible, fold this to a simpler init. Return this if not 919 // possible to fold. 920 Init *Fold(Record *CurRec, MultiClass *CurMultiClass) const override; [all...] |
/external/llvm/lib/Analysis/ |
ScalarEvolution.cpp | 836 // Fold if the operand is constant. [all...] |
/external/chromium_org/chrome/browser/resources/chromeos/chromevox/chromevox/injected/ |
user_commands.js | 425 // Fold these commands to their "next" equivalents since we already set
|
/external/clang/test/SemaCXX/ |
constant-expression-cxx11.cpp | [all...] |
/external/clang/lib/AST/ |
ExprConstant.cpp | 30 // fold a potential constant sub-expression will be indicated by a 'false' 467 /// Fold the expression to a constant. Stop if we hit a side-effect that 482 /// optimizer if we don't constant fold them here, but in an unevaluated 483 /// context we try to fold them immediately since the optimizer never 491 /// optimizer if we don't constant fold them here, but in an unevaluated 492 /// context we try to fold them immediately since the optimizer never [all...] |