Home
last modified time | relevance | path

Searched refs:Fold (Results 1 - 18 of 18) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
H A DTargetFolder.h34 /// Fold - Fold the constant using target specific information.
35 Constant *Fold(Constant *C) const { in Fold() function in llvm::TargetFolder
50 return Fold(ConstantExpr::getAdd(LHS, RHS, HasNUW, HasNSW)); in CreateAdd()
53 return Fold(ConstantExpr::getFAdd(LHS, RHS)); in CreateFAdd()
57 return Fold(ConstantExpr::getSub(LHS, RHS, HasNUW, HasNSW)); in CreateSub()
60 return Fold(ConstantExpr::getFSub(LHS, RHS)); in CreateFSub()
64 return Fold(ConstantExpr::getMul(LHS, RHS, HasNUW, HasNSW)); in CreateMul()
67 return Fold(ConstantExpr::getFMul(LHS, RHS)); in CreateFMul()
70 return Fold(ConstantExp in CreateUDiv()
[all...]
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
H A DCaseMap.java56 public static Fold fold() { return Fold.DEFAULT; } in fold()
381 public static final class Fold extends CaseMap { class in CaseMap
382 private static final Fold DEFAULT = new Fold(0);
383 private static final Fold TURKIC = new Fold(UCharacter.FOLD_CASE_EXCLUDE_SPECIAL_I);
384 private static final Fold OMIT_UNCHANGED = new Fold(CaseMapImpl.OMIT_UNCHANGED_TEXT);
385 private static final Fold TURKIC_OMIT_UNCHANGE
387 private Fold(int opt) { super(opt); } Fold() method in CaseMap.Fold
[all...]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
H A DCaseMap.java52 public static Fold fold() { return Fold.DEFAULT; } in fold()
358 public static final class Fold extends CaseMap { class in CaseMap
359 private static final Fold DEFAULT = new Fold(0);
360 private static final Fold TURKIC = new Fold(UCharacter.FOLD_CASE_EXCLUDE_SPECIAL_I);
361 private static final Fold OMIT_UNCHANGED = new Fold(CaseMapImpl.OMIT_UNCHANGED_TEXT);
362 private static final Fold TURKIC_OMIT_UNCHANGE
364 private Fold(int opt) { super(opt); } Fold() method in CaseMap.Fold
[all...]
/third_party/rust/crates/syn/src/gen/
H A Dfold.rs31 pub trait Fold { traits
934 F: Fold + ?Sized, in fold_abi()
948 F: Fold + ?Sized, in fold_angle_bracketed_generic_arguments()
961 F: Fold + ?Sized, in fold_arm()
976 F: Fold + ?Sized, in fold_assoc_const()
989 F: Fold + ?Sized, in fold_assoc_type()
1002 F: Fold + ?Sized, in fold_attr_style()
1013 F: Fold + ?Sized, in fold_attribute()
1026 F: Fold + ?Sized, in fold_bare_fn_arg()
1038 F: Fold in fold_bare_variadic()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
H A DSIFoldOperands.cpp1 //===-- SIFoldOperands.cpp - Fold operands --- ----------------------------===//
115 StringRef getPassName() const override { return "SI Fold Operands"; }
126 "SI Fold Operands", false, false)
184 static bool updateOperand(FoldCandidate &Fold, in updateOperand() argument
188 MachineInstr *MI = Fold.UseMI; in updateOperand()
189 MachineOperand &Old = MI->getOperand(Fold.UseOpNo); in updateOperand()
192 if (Fold.isImm()) { in updateOperand()
195 AMDGPU::isInlinableLiteralV216(static_cast<uint16_t>(Fold.ImmToFold), in updateOperand()
222 if (!isUInt<16>(Fold.ImmToFold)) { in updateOperand()
223 if (!(Fold in updateOperand()
[all...]
/third_party/rust/crates/syn/tests/
H A Dtest_precedence.rs387 use syn::fold::{fold_expr, fold_generic_argument, Fold}; in syn_parenthesize()
420 impl Fold for FullyParenthesize { in syn_parenthesize()
473 use syn::fold::{fold_expr, fold_stmt, Fold}; in make_parens_invisible()
478 impl Fold for MakeParensInvisible { in make_parens_invisible()
512 use syn::fold::Fold; in collect_exprs()
517 impl Fold for CollectExprs { in collect_exprs()
/third_party/rust/crates/syn/examples/trace-var/trace-var/src/
H A Dlib.rs4 use syn::fold::{self, Fold};
103 /// The `Fold` trait is a way to traverse an owned syntax tree and replace some
115 impl Fold for Args {
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/TableGen/
H A DRecord.cpp712 Init *UnOpInit::Fold(Record *CurRec, bool IsFinal) const {
815 ->Fold(R.getCurrentRecord(), R.isFinal());
898 Init *BinOpInit::Fold(Record *CurRec) const {
1051 ->Fold(R.getCurrentRecord());
1164 Init *TernOpInit::Fold(Record *CurRec) const {
1279 ->Fold(R.getCurrentRecord());
1328 Init *FoldOpInit::Fold(Record *CurRec) const {
1354 ->Fold(R.getCurrentRecord());
1393 Init *IsAOpInit::Fold() const {
1416 return get(CheckType, NewExpr)->Fold();
[all...]
H A DTGParser.cpp126 NewName = BinOp->Fold(&CurRec); in QualifyName()
1043 return (UnOpInit::get(Code, LHS, Type))->Fold(CurRec); in ParseOperation()
1070 return (IsAOpInit::get(Type, LHS))->Fold(); in ParseOperation()
1286 RHS = (BinOpInit::get(Code, InitList.back(), RHS, Type))->Fold(CurRec); in ParseOperation()
1293 ->Fold(CurRec); in ParseOperation()
1407 ->Fold(CurRec); in ParseOperation()
1548 return (TernOpInit::get(Code, LHS, MHS, RHS, Type))->Fold(CurRec); in ParseOperation()
1677 ->Fold(CurRec); in ParseOperation()
1794 return CondOpInit::get(Case, Val, Type)->Fold(CurRec); in ParseOperationCond()
1922 return VarDefInit::get(Class, Args)->Fold(); in ParseSimpleValue()
[all...]
/third_party/rust/crates/syn/codegen/src/
H A Dfold.rs204 F: Fold + ?Sized, in node()
237 pub trait Fold { in generate() traits
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/TableGen/
H A DRecord.h791 // Fold - If possible, fold this to a simpler init. Return this if not
793 Init *Fold(Record *CurRec, bool IsFinal = false) const;
849 // Fold - If possible, fold this to a simpler init. Return this if not
851 Init *Fold(Record *CurRec) const;
907 // Fold - If possible, fold this to a simpler init. Return this if not
909 Init *Fold(Record *CurRec) const;
971 Init *Fold(Record *CurRec) const;
997 /// !foldl (a, b, expr, start, lst) - Fold over a list.
1021 // Fold - If possible, fold this to a simpler init. Return this if not
1023 Init *Fold(Recor
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
H A DLoopUnrollAndJam.cpp548 BasicBlock *Fold = Dest->getUniquePredecessor(); in UnrollAndJamLoop() local
550 // Don't remove BB and add Fold as they are the same BB in UnrollAndJamLoop()
551 assert(Fold == BB); in UnrollAndJamLoop()
552 (void)Fold; in UnrollAndJamLoop()
H A DLoopUnroll.cpp884 BasicBlock *Fold = Dest->getUniquePredecessor(); in UnrollLoop() local
886 // Dest has been folded into Fold. Update our worklists accordingly. in UnrollLoop()
887 std::replace(Latches.begin(), Latches.end(), Dest, Fold); in UnrollLoop()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
H A DTargetLowering.cpp3127 if (SDValue Fold = DAG.FoldSetCC(VT, N0, N1, Cond, dl)) in SimplifySetCC()
3128 return Fold; in SimplifySetCC()
3684 // Fold bit comparisons when we can. in SimplifySetCC()
3926 // Fold remainder of division by a constant. in SimplifySetCC()
3944 // Fold away ALL boolean setcc's. in SimplifySetCC()
5235 // Fold: in prepareSREMEqFold()
5423 SDValue Fold = in prepareSREMEqFold() local
5429 return Fold; in prepareSREMEqFold()
5442 Created.push_back(Fold.getNode()); in prepareSREMEqFold()
5463 // from 'Fold', els in prepareSREMEqFold()
[all...]
H A DSelectionDAG.cpp4550 if (SDValue Fold = FoldConstantVectorArithmetic(Opcode, DL, VT, Ops))
4551 return Fold;
4951 // Fold one vector element.
5151 // Fold trivial token factors.
5481 // Fold a bunch of operators when the RHS is undef.
5648 // Fold bit_convert nodes from a type to themselves.
H A DDAGCombiner.cpp5316 // Fold the AND away. NewLoad may get replaced immediately. in visitAND()
6570 /// stores. Fold it into a single store or a BSWAP and a store if the targets
6734 /// loads and combined by shifts and ors. Fold it into a single load or a load
7354 // Fold the constants, shifting the binop RHS by the shift amount. in visitShiftByConstant()
8630 // Fold selects based on a setcc into other things, such as min/max/abs. in visitSELECT()
8959 // Fold (vselect (build_vector all_ones), N1, N2) -> N1 in visitVSELECT()
8962 // Fold (vselect (build_vector all_zeros), N1, N2) -> N2 in visitVSELECT()
9009 // Fold to a simpler select_cc in visitSELECT_CC()
9964 // Fold (zext (and (trunc x), cst)) -> (and x, cst), in visitZERO_EXTEND()
10180 // Fold (aex in visitANY_EXTEND()
20422 bool Fold = N2C && isNullConstant(N3) && N2C->getAPIntValue().isPowerOf2(); SimplifySelectCC() local
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
H A DScalarEvolution.cpp1276 // Fold if the operand is constant. in getTruncateExpr()
1652 // Fold if the operand is constant. in getZeroExtendExpr()
1958 // Fold if the operand is constant. in getSignExtendExpr()
2540 const SCEV *Fold = getAddExpr(LargeOps, SCEV::FlagAnyWrap, Depth + 1); in getAddExpr() variable
2542 if (isa<SCEVConstant>(Fold) || isa<SCEVUnknown>(Fold)) in getAddExpr()
2543 return getTruncateExpr(Fold, Ty); in getAddExpr()
2627 // Fold W + X + (X * Y * Z) --> W + (X * ((Y*Z)+1)) in getAddExpr()
2663 // Fold X + (A*B*C) + (A*D*E) --> X + (A*(B*C+D*E)) in getAddExpr()
2960 ConstantInt *Fold
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp14999 // Fold to SHUFPD(VPERM2F128(V1, V2), VPERM2F128(V1, V2)).
23295 // Fold this packed shift into its first operand if ShiftAmt is 0.
23310 // Fold this packed vector shift into a build vector if SrcOp is a
[all...]

Completed in 103 milliseconds