/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...] |
TGParser.cpp | 912 return (UnOpInit::get(Code, LHS, Type))->Fold(CurRec, CurMultiClass); 973 ->Fold(CurRec, CurMultiClass); 980 ->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/llvm/lib/Transforms/Utils/ |
LoopUnroll.cpp | 407 if (BasicBlock *Fold = FoldBlockIntoPredecessor(Dest, LI, LPM)) 408 std::replace(Latches.begin(), Latches.end(), Dest, Fold);
|
/external/llvm/include/llvm/TableGen/ |
Record.h | 865 // Fold - If possible, fold this to a simpler init. Return this if not 866 // possible to fold. 867 virtual Init *Fold(Record *CurRec, MultiClass *CurMultiClass) const = 0; 917 // Fold - If possible, fold this to a simpler init. Return this if not 918 // possible to fold. 919 virtual Init *Fold(Record *CurRec, MultiClass *CurMultiClass) const; [all...] |
/external/llvm/lib/Analysis/ |
ScalarEvolution.cpp | 837 // 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' 605 void Fold(EvalInfo &Info) { [all...] |
/external/clang/test/SemaCXX/ |
constant-expression-cxx11.cpp | [all...] |