Searched defs:Fold (Results 1 - 4 of 4) sorted by relevance

/external/llvm/include/llvm/Support/
H A DTargetFolder.h35 /// Fold - Fold the constant using target specific information.
36 Constant *Fold(Constant *C) const { function in class:llvm::TargetFolder
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(ConstantExp
[all...]
/external/llvm/lib/Analysis/
H A DScalarEvolution.cpp828 // Fold if the operand is constant.
900 // Fold if the operand is constant.
1158 // Fold if the operand is constant.
1578 const SCEV *Fold = getAddExpr(LargeOps, Flags); variable
1580 if (isa<SCEVConstant>(Fold) || isa<SCEVUnknown>(Fold))
1581 return getTruncateExpr(Fold, DstType);
1656 // Fold W + X + (X * Y * Z) --> W + (X * ((Y*Z)+1))
1691 // Fold X + (A*B*C) + (A*D*E) --> X + (A*(B*C+D*E))
1901 ConstantInt *Fold
[all...]
/external/llvm/lib/TableGen/
H A DRecord.cpp680 Resolved = OResolved->Fold(&R, 0);
716 Init *UnOpInit::Fold(Record *CurRec, MultiClass *CurMultiClass) const { function in class:UnOpInit
840 return (UnOpInit::get(getOpcode(), lhs, getType()))->Fold(&R, 0);
841 return Fold(&R, 0);
873 Init *BinOpInit::Fold(Record *CurRec, MultiClass *CurMultiClass) const { function in class:BinOpInit
951 return (BinOpInit::get(getOpcode(), lhs, rhs, getType()))->Fold(&R, 0);
952 return Fold(&R, 0);
1034 Init *NewVal = NewOp->Fold(CurRec, CurMultiClass);
1111 Init *NewItem = NewOp->Fold(CurRec, CurMultiClass);
1121 Init *TernOpInit::Fold(Recor function in class:TernOpInit
[all...]
/external/clang/lib/AST/
H A DExprConstant.cpp522 void Fold(EvalInfo &Info) { function in struct:__anon3489::FoldConstant
2453 FoldConstant Fold(Info);
2459 Fold.Fold(Info);

Completed in 193 milliseconds