Home
last modified time | relevance | path

Searched refs:Fold (Results 1 – 25 of 71) sorted by relevance

123

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DTargetFolder.h35 Constant *Fold(Constant *C) const { in Fold() function
50 return Fold(ConstantExpr::getAdd(LHS, RHS, HasNUW, HasNSW));
53 return Fold(ConstantExpr::getFAdd(LHS, RHS)); in CreateFAdd()
57 return Fold(ConstantExpr::getSub(LHS, RHS, HasNUW, HasNSW));
60 return Fold(ConstantExpr::getFSub(LHS, RHS)); in CreateFSub()
64 return Fold(ConstantExpr::getMul(LHS, RHS, HasNUW, HasNSW));
67 return Fold(ConstantExpr::getFMul(LHS, RHS)); in CreateFMul()
70 return Fold(ConstantExpr::getUDiv(LHS, RHS, isExact));
73 return Fold(ConstantExpr::getSDiv(LHS, RHS, isExact));
76 return Fold(ConstantExpr::getFDiv(LHS, RHS)); in CreateFDiv()
[all …]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
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_UNCHANGED = new Fold(
364 private Fold(int opt) { super(opt); } in Fold() method in CaseMap.Fold
370 public Fold omitUnchangedText() { in omitUnchangedText()
386 public Fold turkic() { in turkic()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
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_UNCHANGED = new Fold(
387 private Fold(int opt) { super(opt); } in Fold() method in CaseMap.Fold
394 public Fold omitUnchangedText() { in omitUnchangedText()
411 public Fold turkic() { in turkic()
/third_party/rust/crates/syn/src/gen/
Dfold.rs31 pub trait Fold { interface
785 F: Fold + ?Sized, in fold_abi()
798 F: Fold + ?Sized, in fold_angle_bracketed_generic_arguments()
811 F: Fold + ?Sized, in fold_arm()
829 F: Fold + ?Sized, in fold_attr_style()
841 F: Fold + ?Sized, in fold_attribute()
854 F: Fold + ?Sized, in fold_bare_fn_arg()
869 F: Fold + ?Sized, in fold_bin_op()
961 F: Fold + ?Sized, in fold_binding()
972 F: Fold + ?Sized, in fold_block()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DSIFoldOperands.cpp184 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.ImmToFold & 0xffff)) { in updateOperand()
226 Old.ChangeToImmediate((Fold.ImmToFold >> 16) & 0xffff); in updateOperand()
230 Old.ChangeToImmediate(Fold.ImmToFold & 0xffff); in updateOperand()
240 if ((Fold.isImm() || Fold.isFI() || Fold.isGlobal()) && Fold.needsShrink()) { in updateOperand()
[all …]
/third_party/rust/crates/syn/src/
Dgen_helper.rs3 use crate::fold::Fold;
37 pub fn tokens_helper<F: Fold + ?Sized, S: Spans>(folder: &mut F, spans: &S) -> S { in tokens_helper()
42 fn fold<F: Fold + ?Sized>(&self, folder: &mut F) -> Self; in fold()
46 fn fold<F: Fold + ?Sized>(&self, folder: &mut F) -> Self { in fold()
52 fn fold<F: Fold + ?Sized>(&self, folder: &mut F) -> Self { in fold()
58 fn fold<F: Fold + ?Sized>(&self, folder: &mut F) -> Self { in fold()
64 fn fold<F: Fold + ?Sized>(&self, folder: &mut F) -> Self { in fold()
/third_party/rust/crates/syn/examples/trace-var/
DREADME.md42 The procedural macro uses a syntax tree [`Fold`] to rewrite every `let`
45 [`Fold`]: https://docs.rs/syn/1.0/syn/fold/trait.Fold.html
/third_party/rust/crates/syn/tests/
Dtest_precedence.rs351 use syn::fold::{fold_expr, fold_generic_argument, fold_generic_method_argument, Fold}; in syn_brackets()
355 impl Fold for ParenthesizeEveryExpr { in syn_brackets()
428 use syn::fold::Fold; in collect_exprs()
433 impl Fold for CollectExprs { in collect_exprs()
/third_party/rust/crates/syn/examples/trace-var/trace-var/src/
Dlib.rs4 use syn::fold::{self, Fold};
115 impl Fold for Args {
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/TableGen/
DRecord.cpp712 Init *UnOpInit::Fold(Record *CurRec, bool IsFinal) const { in Fold() function in UnOpInit
815 ->Fold(R.getCurrentRecord(), R.isFinal()); in resolveReferences()
898 Init *BinOpInit::Fold(Record *CurRec) const { in Fold() function in BinOpInit
1051 ->Fold(R.getCurrentRecord()); in resolveReferences()
1164 Init *TernOpInit::Fold(Record *CurRec) const { in Fold() function in TernOpInit
1279 ->Fold(R.getCurrentRecord()); in resolveReferences()
1328 Init *FoldOpInit::Fold(Record *CurRec) const { in Fold() function in FoldOpInit
1354 ->Fold(R.getCurrentRecord()); in resolveReferences()
1393 Init *IsAOpInit::Fold() const { in Fold() function in IsAOpInit
1416 return get(CheckType, NewExpr)->Fold(); in resolveReferences()
[all …]
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/
DREADME.md5 implementations for `Fold`, `Visit`, and `VisitMut` remain in sync with the
/third_party/rust/crates/syn/codegen/src/
Dfold.rs246 F: Fold + ?Sized, in node()
279 pub trait Fold { in generate() trait
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/TableGen/
DRecord.h793 Init *Fold(Record *CurRec, bool IsFinal = false) const;
851 Init *Fold(Record *CurRec) const;
909 Init *Fold(Record *CurRec) const;
971 Init *Fold(Record *CurRec) const;
1023 Init *Fold(Record *CurRec) const;
1056 Init *Fold() const;
1235 Init *Fold() const;
1292 Init *Fold(Record *CurRec) const;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DLoopUnrollAndJam.cpp548 BasicBlock *Fold = Dest->getUniquePredecessor(); in UnrollAndJamLoop() local
551 assert(Fold == BB); in UnrollAndJamLoop()
552 (void)Fold; in UnrollAndJamLoop()
DLoopUnroll.cpp884 BasicBlock *Fold = Dest->getUniquePredecessor(); in UnrollLoop() local
887 std::replace(Latches.begin(), Latches.end(), Dest, Fold); in UnrollLoop()
/third_party/mesa3d/src/util/sha1/
DREADME7 - Fold the handling and detection of _eight_ implementations at configure
/third_party/spirv-tools/
DCHANGES354 - Fold FMix during constant folding. (#2818)
359 - Fold Min, Max, and Clamp instructions. (#2836)
660 - #1963: Fold integer divisions by 0 to 0.
706 - Fold a vector shuffle feeding a vector shuffle
820 - Fold OpDot.
821 - Fold OpFNegate.
822 - Fold multply and divide of same value.
823 - Fold FClamp feeding a compare.
824 - Fold OpLoad feeding an extract, to reduce excessive copying. (#1547)
825 - Fold Fmix feeding an extract.
[all …]
/third_party/skia/third_party/externals/spirv-tools/
DCHANGES412 - Fold FMix during constant folding. (#2818)
417 - Fold Min, Max, and Clamp instructions. (#2836)
718 - #1963: Fold integer divisions by 0 to 0.
764 - Fold a vector shuffle feeding a vector shuffle
878 - Fold OpDot.
879 - Fold OpFNegate.
880 - Fold multply and divide of same value.
881 - Fold FClamp feeding a compare.
882 - Fold OpLoad feeding an extract, to reduce excessive copying. (#1547)
883 - Fold Fmix feeding an extract.
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/
DCHANGES412 - Fold FMix during constant folding. (#2818)
417 - Fold Min, Max, and Clamp instructions. (#2836)
718 - #1963: Fold integer divisions by 0 to 0.
764 - Fold a vector shuffle feeding a vector shuffle
878 - Fold OpDot.
879 - Fold OpFNegate.
880 - Fold multply and divide of same value.
881 - Fold FClamp feeding a compare.
882 - Fold OpLoad feeding an extract, to reduce excessive copying. (#1547)
883 - Fold Fmix feeding an extract.
[all …]
/third_party/flutter/skia/third_party/externals/spirv-tools/
DCHANGES84 - Fold spec constants defined with OpSpecConstantOp and
DREADME.md95 * Fold `OpSpecConstantOp` and `OpSpecConstantComposite`
/third_party/mesa3d/docs/relnotes/
D10.1.1.rst131 - linker: Fold set_uniform_binding into call site
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
DREADME.txt182 Fold add and sub with constant into non-extern, non-weak addresses so this:
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DScalarEvolution.cpp2540 const SCEV *Fold = getAddExpr(LargeOps, SCEV::FlagAnyWrap, Depth + 1); in getAddExpr() local
2542 if (isa<SCEVConstant>(Fold) || isa<SCEVUnknown>(Fold)) in getAddExpr()
2543 return getTruncateExpr(Fold, Ty); in getAddExpr()
2960 ConstantInt *Fold = in getMulExpr() local
2962 Ops[0] = getConstant(Fold); in getMulExpr()
3597 ConstantInt *Fold = ConstantInt::get( in getMinMaxExpr() local
3599 Ops[0] = getConstant(Fold); in getMinMaxExpr()

123