/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 | 687 Init *Folded = Fold(&R, 0); 704 Resolved = OResolved->Fold(&R, 0); 734 Init *UnOpInit::Fold(Record *CurRec, MultiClass *CurMultiClass) const { 858 return (UnOpInit::get(getOpcode(), lhs, getType()))->Fold(&R, 0); 859 return Fold(&R, 0); 891 Init *BinOpInit::Fold(Record *CurRec, MultiClass *CurMultiClass) const { 923 // try to fold eq comparison for 'bit' and 'int', otherwise fallback 969 return (BinOpInit::get(getOpcode(), lhs, rhs, getType()))->Fold(&R, 0); 970 return Fold(&R, 0); 1052 Init *NewVal = NewOp->Fold(CurRec, CurMultiClass) [all...] |
TGParser.cpp | 948 return (UnOpInit::get(Code, LHS, Type))->Fold(CurRec, CurMultiClass); 1007 ->Fold(CurRec, CurMultiClass); 1014 ->Fold(CurRec, CurMultiClass); [all...] |
/external/llvm/lib/Transforms/Utils/ |
LoopUnroll.cpp | 403 if (BasicBlock *Fold = FoldBlockIntoPredecessor(Dest, LI, LPM)) 404 std::replace(Latches.begin(), Latches.end(), Dest, Fold);
|
/external/llvm/include/llvm/TableGen/ |
Record.h | 813 // Fold - If possible, fold this to a simpler init. Return this if not 814 // possible to fold. 815 virtual Init *Fold(Record *CurRec, MultiClass *CurMultiClass) const = 0; 862 // Fold - If possible, fold this to a simpler init. Return this if not 863 // possible to fold. 864 Init *Fold(Record *CurRec, MultiClass *CurMultiClass) const; [all...] |
/external/llvm/lib/Analysis/ |
ScalarEvolution.cpp | 826 // 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' 531 void Fold(EvalInfo &Info) { [all...] |
/external/clang/test/SemaCXX/ |
constant-expression-cxx11.cpp | [all...] |