Home
last modified time | relevance | path

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

123

/freebsd-12.1/contrib/llvm/include/llvm/Analysis/
H A DTargetFolder.h36 Constant *Fold(Constant *C) const { in Fold() function
54 return Fold(ConstantExpr::getFAdd(LHS, RHS)); in CreateFAdd()
61 return Fold(ConstantExpr::getFSub(LHS, RHS)); in CreateFSub()
68 return Fold(ConstantExpr::getFMul(LHS, RHS)); in CreateFMul()
77 return Fold(ConstantExpr::getFDiv(LHS, RHS)); in CreateFDiv()
80 return Fold(ConstantExpr::getURem(LHS, RHS)); in CreateURem()
99 return Fold(ConstantExpr::getAnd(LHS, RHS)); in CreateAnd()
102 return Fold(ConstantExpr::getOr(LHS, RHS)); in CreateOr()
105 return Fold(ConstantExpr::getXor(LHS, RHS)); in CreateXor()
122 return Fold(ConstantExpr::getFNeg(C)); in CreateFNeg()
[all …]
/freebsd-12.1/contrib/llvm/lib/Target/AMDGPU/
H A DSIFoldOperands.cpp170 MachineInstr *MI = Fold.UseMI; in updateOperand()
174 if (Fold.isImm()) { in updateOperand()
206 if ((Fold.isImm() || Fold.isFI()) && Fold.needsShrink()) { in updateOperand()
213 int Op32 = Fold.getShrinkOpcode(); in updateOperand()
241 if (Fold.isCommuted()) in updateOperand()
248 if (Fold.isImm()) { in updateOperand()
253 if (Fold.isFI()) { in updateOperand()
888 if (Fold.isReg()) { in foldInstOperand()
889 assert(Fold.OpToFold && Fold.OpToFold->isReg()); in foldInstOperand()
898 tryFoldInst(TII, Fold.UseMI); in foldInstOperand()
[all …]
/freebsd-12.1/contrib/llvm/lib/TableGen/
H A DRecord.cpp846 Init *BinOpInit::Fold(Record *CurRec) const { in Fold() function in BinOpInit
969 ->Fold(R.getCurrentRecord()); in resolveReferences()
1079 Init *TernOpInit::Fold(Record *CurRec) const { in Fold() function in TernOpInit
1194 ->Fold(R.getCurrentRecord()); in resolveReferences()
1243 Init *FoldOpInit::Fold(Record *CurRec) const { in Fold() function in FoldOpInit
1269 ->Fold(R.getCurrentRecord()); in resolveReferences()
1308 Init *IsAOpInit::Fold() const { in Fold() function in IsAOpInit
1331 return get(CheckType, NewExpr)->Fold(); in resolveReferences()
1398 ->Fold(nullptr); in getCastTo()
1634 Init *VarDefInit::Fold() const { in Fold() function in VarDefInit
[all …]
H A DTGParser.cpp127 NewName = BinOp->Fold(&CurRec); in QualifyName()
995 return (UnOpInit::get(Code, LHS, Type))->Fold(CurRec); in ParseOperation()
1022 return (IsAOpInit::get(Type, LHS))->Fold(); in ParseOperation()
1190 ->Fold(CurRec); in ParseOperation()
1304 ->Fold(CurRec); in ParseOperation()
1445 return (TernOpInit::get(Code, LHS, MHS, RHS, Type))->Fold(CurRec); in ParseOperation()
1571 ->Fold(CurRec); in ParseOperation()
1729 return VarDefInit::get(Class, Args)->Fold(); in ParseSimpleValue()
2020 Result = FieldInit::get(Result, FieldName)->Fold(CurRec); in ParseValue()
2040 ->Fold(CurRec)); in ParseValue()
[all …]
/freebsd-12.1/contrib/llvm/include/llvm/TableGen/
H A DRecord.h791 Init *Fold(Record *CurRec, bool IsFinal = false) const;
846 Init *Fold(Record *CurRec) const;
904 Init *Fold(Record *CurRec) const;
941 Init *Fold(Record *CurRec) const;
974 Init *Fold() const;
1153 Init *Fold() const;
1203 Init *Fold(Record *CurRec) const;
/freebsd-12.1/contrib/llvm/lib/Transforms/Utils/
H A DLoopUnrollAndJam.cpp547 if (BasicBlock *Fold = foldBlockIntoPredecessor(Dest, LI, SE, DT)) { in UnrollAndJamLoop() local
549 assert(Fold == BB); in UnrollAndJamLoop()
550 (void)Fold; in UnrollAndJamLoop()
H A DLoopUnroll.cpp820 if (BasicBlock *Fold = foldBlockIntoPredecessor(Dest, LI, SE, DT)) { in UnrollLoop() local
822 std::replace(Latches.begin(), Latches.end(), Dest, Fold); in UnrollLoop()
/freebsd-12.1/usr.bin/compress/doc/
H A Drevision.log65 * Fold in news changes, small machine typedef from thomas,
/freebsd-12.1/contrib/tcpdump/
H A DCONTRIBUTING138 Body: Detailed explanatory text, if necessary. Fold it to approximately
/freebsd-12.1/contrib/llvm/lib/Analysis/
H A DScalarEvolution.cpp2493 const SCEV *Fold = getAddExpr(LargeOps, SCEV::FlagAnyWrap, Depth + 1); in getAddExpr() local
2495 if (isa<SCEVConstant>(Fold) || isa<SCEVUnknown>(Fold)) in getAddExpr()
2496 return getTruncateExpr(Fold, Ty); in getAddExpr()
2913 ConstantInt *Fold = in getMulExpr() local
2915 Ops[0] = getConstant(Fold); in getMulExpr()
3523 ConstantInt *Fold = ConstantInt::get( in getSMaxExpr() local
3525 Ops[0] = getConstant(Fold); in getSMaxExpr()
3625 ConstantInt *Fold = ConstantInt::get( in getUMaxExpr() local
3627 Ops[0] = getConstant(Fold); in getUMaxExpr()
/freebsd-12.1/contrib/gcc/cp/
H A DChangeLog-20041075 (cp_lexer_peek_token_emit_debug_info): Fold into ...
1159 * parser.c (cp_parser_parenthesized_expression_list): Fold
1404 (dfs_find_final_overrider_q): Fold into
1420 Fold into ...
1423 (lookup_field_queue_p): Remove. Fold into ...
1432 (dfs_debug_unmarked_p): Remove. Fold into ...
1651 (get_template_base_r): Fold into get_template_base.
1765 (cp_lexer_new_from_token_array): Fold into ...
5753 * parser.c (cp_parser_initializer_clause): Fold initializer if it is
H A DChangeLog-200314 * typeck.c (comp_array_types): Fold non-dependent domains for
1221 * decl.c (push_binding_level): Fold in begin_scope. Remove.
1226 (make_cxx_scope): Fold in begin_scope. Remove..
1234 (initial_push_namespace_scope): Fold in begin_scope. Remove.
2737 * init.c (build_offset_ref): Add address_p parameter. Fold in
4692 * typeck.c (build_unary_op): Fold all COMPONENT_REF addr
5732 * search.c (grow_bfs_bases): Remove. Fold into ...
H A DChangeLog-2002665 * search.c (covariant_return_p): Remove. Fold into ...
1274 (expand_static_init): Fold checks for whether or not a variable
1770 * typeck.c (build_unary_op): Fold offsetof idiom. Fixes
H A DChangeLog-20001329 * semantics.c (genrtl_named_return_value): Simplify. Fold in
5215 (layout_virtual_bases): Fold in a little code form
6350 (dfs_modify_vtables): Fold modify_one_vtable in here. Use
H A DChangeLog-19991330 * init.c (build_vec_delete_1): Fold COND_EXPRs.
2163 * decl.c (build_cleanup_on_safe_obstack): Fold into ...
4293 (sub_getch): Fold back into getch.
/freebsd-12.1/contrib/gcc/
H A DChangeLog-2006352 * fold-const.c (fold_indirect_ref_1): Fold *&CONST_DECL down
430 * convert.c (convert_to_real): Fold (float)-x to -(float)x
2469 * fold-const.c (fold_binary): Fold temporary to correct
7740 (fold_binary): ... here. Fold only for EQ_EXPR and NE_EXPR.
8254 * fold-const.c (fold_unary) <NOP_EXPR>: Fold (T1)(~(T2)X) as
10935 Fold both "((X & C) ^ C) eq/ne 0" and "((X ^ C) & C) eq/ne 0"
10994 <BIT_AND_EXPR>: Fold (X ^ 1) & 1 and ~X & 1 as (X & 1) == 0.
11022 symmetry related transformations. Fold (X^C1) == C2 as
12281 * fold-const.c (fold_indirect_ref_1): Fold
14015 * config/i386/predicates.md (cmpsi_operand_1): Fold into ...
[all …]
H A DChangeLog.gcc43770 * tree-ssa-pre.c (phi_translate): Fold CALL_EXPRs that
H A DChangeLog-20054065 (fold_binary): Fold &x[a] CMP &x[b] to
10283 Fold the partial computation.
20520 Fold "bool_var == 1" to bool_var.
22140 * fold-const.c: Fold &a[i]-&a[j] to i-j.
29434 * fold-const.c (fold): Fold ~A + 1 to -A. Fold -A - 1
29441 * fold-const.c (fold): Fold x * -1 into -x.
30162 * fold-const.c (fold): Fold ~A + 1 to -A. Fold -A - 1
30196 * fold-const.c (fold): Fold ~A + 1 to -A. Fold -A - 1
31713 * fold-const.c (fold): Fold -(~A) to A + 1. Fold ~(-A) to A - 1.
31714 Fold ~(A - 1) and ~(A + -1) to -A.
[all …]
H A DChangeLog-20047212 <case ASM_EXPR>: Fold the statement.
17906 (IRIX_STARTFILE_SPEC): Fold into...
17908 (IRIX_ENDFILE_SPEC): Fold into...
17933 (IRIX_STARTFILE_SPEC): Fold into...
17938 (IRIX_ENDFILE_SPEC): Fold into...
24136 to HOST_WIDE_INT. Fold pad-args-down arithmetic.
28309 * tree-ssa-ccp.c (fold_stmt): Fold OBJ_TYPE_REF.
31788 Fold comparisons between floating point values.
37494 (extdef_1): Fold into extdef.
39047 <XOR_EXPR>: Fold x ^ x as zero.
[all …]
H A DChangeLog722 Fold arg0 to arg1's type for optimizations of comparison against
/freebsd-12.1/crypto/heimdal/lib/asn1/
H A DChangeLog37 * Makefile.am: Fold in pk-init-alg-agilty.
39 * pkinit.asn1: Fold in pk-init-alg-agilty.
/freebsd-12.1/contrib/libstdc++/
H A DChangeLog-1998820 * Fold in SGI 3.11 changes (uglified names, some algorithm
/freebsd-12.1/contrib/gcc/config/arm/
H A Dieee754-df.S647 @ Fold them into lr.
/freebsd-12.1/crypto/heimdal/lib/wind/
H A Drfc3454.txt440 b = NormalizeWithKC(Fold(a));
441 c = NormalizeWithKC(Fold(b));
444 Because NormalizeWithKC(Fold(c)) always equals c, the table is stable
/freebsd-12.1/contrib/llvm/tools/clang/lib/AST/
H A DExprConstant.cpp4845 FoldConstant Fold(Info, IsBcpCall); in VisitConditionalOperator() local
4847 Fold.keepDiagnostics(); in VisitConditionalOperator()
8115 IgnoreSideEffectsRAII Fold(Info); in tryEvaluateBuiltinObjectSize() local

123