Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DTargetFolder.h38 Constant *Fold(Constant *C) const { in Fold() function
60 return Fold(ConstantExpr::get(Opc, LC, RC)); in FoldBinOp()
72 return Fold(ConstantExpr::get( in FoldExactBinOp()
90 return Fold(ConstantExpr::get(Opc, LC, RC, Flags)); in FoldNoWrapBinOp()
106 return Fold(ConstantExpr::getCompare(P, LC, RC)); in FoldICmp()
129 return Fold(ConstantExpr::getGetElementPtr(Ty, PC, IdxList));
164 return Fold(ConstantExpr::getExtractElement(CVec, CIdx)); in FoldExtractElement()
174 return Fold(ConstantExpr::getInsertElement(CVec, CNewElt, CIdx)); in FoldInsertElement()
183 return Fold(ConstantExpr::getShuffleVector(C1, C2, Mask)); in FoldShuffleVector()
201 return Fold(ConstantExpr::getPointerCast(C, DestTy)); in CreatePointerCast()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIFoldOperands.cpp360 if (Fold.isImm() && canUseImmWithOpSel(Fold)) { in updateOperand()
374 if ((Fold.isImm() || Fold.isFI() || Fold.isGlobal()) && Fold.needsShrink()) { in updateOperand()
411 if (Fold.Commuted) in updateOperand()
418 if (Fold.isImm()) { in updateOperand()
430 if (Fold.isGlobal()) { in updateOperand()
431 Old.ChangeToGA(Fold.OpToFold->getGlobal(), Fold.OpToFold->getOffset(), in updateOperand()
436 if (Fold.isFI()) { in updateOperand()
458 if (Fold.UseMI == MI && Fold.UseOpNo == OpNo) in appendFoldCandidate()
1397 assert(!Fold.isReg() || Fold.OpToFold); in foldInstOperand()
1398 if (Fold.isReg() && Fold.OpToFold->getReg().isVirtual()) { in foldInstOperand()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/Target/GlobalISel/
H A DCombine.td414 // Fold (cond ? x : x) -> x
422 // Fold (undef ? x : y) -> y
430 // Fold (true ? x : y) -> x
462 // Fold x op 0 -> x
482 // Fold x op 1 -> x
498 // Fold (x op x) - > x
512 // Fold (0 op x) - > 0
556 // Fold (x op 0) - > 0
752 // Fold merge(unmerge).
901 // Fold fshr x, y, 0 -> y
[all …]
/freebsd/contrib/llvm-project/llvm/lib/TableGen/
H A DTGParser.cpp121 NewName = BinOp->Fold(&CurRec); in QualifyName()
453 ->Fold(nullptr); in resolve()
1747 ->Fold(CurRec); in ParseOperation()
1828 ->Fold(CurRec); in ParseOperation()
1854 ->Fold(CurRec); in ParseOperation()
2167 ->Fold(CurRec); in ParseOperation()
2504 ->Fold(CurRec); in ParseOperationForEachFilter()
3026 ->Fold(CurRec)); in ParseValue()
3803 ->Fold(nullptr); in ParseIf()
3825 ->Fold(nullptr); in ParseIf()
[all …]
H A DRecord.cpp1209 Init *BinOpInit::Fold(Record *CurRec) const { in Fold() function in BinOpInit
1481 ->Fold(R.getCurrentRecord()); in resolveReferences()
1637 Init *TernOpInit::Fold(Record *CurRec) const { in Fold() function in TernOpInit
1865 ->Fold(R.getCurrentRecord()); in resolveReferences()
1924 Init *FoldOpInit::Fold(Record *CurRec) const { in Fold() function in FoldOpInit
1950 ->Fold(R.getCurrentRecord()); in resolveReferences()
1989 Init *IsAOpInit::Fold() const { in Fold() function in IsAOpInit
2012 return get(CheckType, NewExpr)->Fold(); in resolveReferences()
2154 ->Fold(nullptr); in getCastTo()
2346 Init *VarDefInit::Fold() const { in Fold() function in VarDefInit
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/TableGen/
H A DRecord.h889 Init *Fold(Record *CurRec, bool IsFinal = false) const;
975 Init *Fold(Record *CurRec) const;
1044 Init *Fold(Record *CurRec) const;
1106 Init *Fold(Record *CurRec) const;
1158 Init *Fold(Record *CurRec) const;
1191 Init *Fold() const;
1225 Init *Fold(Record *CurRec, bool IsFinal = false) const;
1372 Init *Fold() const;
1433 Init *Fold(Record *CurRec) const;
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLoopUnroll.cpp833 BasicBlock *Fold = Dest->getUniquePredecessor(); in UnrollLoop() local
839 std::replace(Latches.begin(), Latches.end(), Dest, Fold); in UnrollLoop()
H A DBasicBlockUtils.cpp349 BasicBlock *Fold = Dest->getUniquePredecessor(); in MergeBlockSuccessorsIntoGivenBlocks() local
350 (void)Fold; in MergeBlockSuccessorsIntoGivenBlocks()
352 assert(Fold == BB && in MergeBlockSuccessorsIntoGivenBlocks()
/freebsd/usr.bin/compress/doc/
H A Drevision.log64 * Fold in news changes, small machine typedef from thomas,
/freebsd/contrib/tcpdump/
H A DCONTRIBUTING.md177 Body: Detailed explanatory text, if necessary. Fold it to approximately
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DTargetLowering.cpp3507 if (SDValue Fold = TLO.DAG.FoldConstantArithmetic( in SimplifyDemandedVectorElts() local
3509 Fold = TLO.DAG.getNode(ISD::AND, DL, SrcVT, Src.getOperand(0), Fold); in SimplifyDemandedVectorElts()
3510 return TLO.CombineTo(Op, TLO.DAG.getBitcast(VT, Fold)); in SimplifyDemandedVectorElts()
4411 if (SDValue Fold = DAG.FoldSetCC(VT, N0, N1, Cond, dl)) in SimplifySetCC() local
4412 return Fold; in SimplifySetCC()
7004 SDValue Fold = in prepareSREMEqFold() local
7010 return Fold; in prepareSREMEqFold()
7026 Created.push_back(Fold.getNode()); in prepareSREMEqFold()
7050 MaskedIsZero, Fold); in prepareSREMEqFold()
H A DSelectionDAG.cpp5621 if (SDValue Fold = FoldConstantArithmetic(Opcode, DL, VT, Ops)) in getNode() local
5622 return Fold; in getNode()
6289 std::optional<APInt> Fold = FoldValueWithUndef( in FoldConstantArithmetic() local
6291 if (!Fold) in FoldConstantArithmetic()
6293 RawBits.push_back(*Fold); in FoldConstantArithmetic()
H A DDAGCombiner.cpp27330 bool Fold = N2C && isNullConstant(N3) && N2C->getAPIntValue().isPowerOf2(); in SimplifySelectCC() local
27333 if ((Fold || Swap) && in SimplifySelectCC()
/freebsd/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/contrib/llvm-project/llvm/lib/Analysis/
H A DScalarEvolution.cpp2651 const SCEV *Fold = getAddExpr(LargeOps, SCEV::FlagAnyWrap, Depth + 1); in getAddExpr() local
2653 if (isa<SCEVConstant>(Fold) || isa<SCEVUnknown>(Fold)) in getAddExpr()
2654 return getTruncateExpr(Fold, Ty); in getAddExpr()
3879 ConstantInt *Fold = ConstantInt::get( in getMinMaxExpr() local
3881 Ops[0] = getConstant(Fold); in getMinMaxExpr()
/freebsd/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
H A DDerivedNormalizationProps.txt12 # Generated from computing: b = NFKC(Fold(a)); c = NFKC(Fold(b));
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DExprConstant.cpp7808 FoldConstant Fold(Info, IsBcpCall); in VisitConditionalOperator() local
7810 Fold.keepDiagnostics(); in VisitConditionalOperator()
11731 FoldConstant Fold(Info, true); in EvaluateBuiltinConstantP() local
11754 Fold.keepDiagnostics(); in EvaluateBuiltinConstantP()
12085 IgnoreSideEffectsRAII Fold(Info); in tryEvaluateBuiltinObjectSize() local
/freebsd/contrib/jemalloc/
H A DChangeLog383 - Fold large and huge size classes together; only small and large size classes
/freebsd/contrib/diff/
H A DChangeLog2880 * diff3.c (using_to_diff3_block): Fold repeated code into loops.
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86InstrAVX512.td1181 // Fold with a mask even if it has multiple uses since it is cheap.
1206 // Fold with a mask even if it has multiple uses since it is cheap.
H A DX86ISelLowering.cpp55355 if (SDValue Fold = in combineINSERT_SUBVECTOR() local
55357 return Fold; in combineINSERT_SUBVECTOR()
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMInstrNEON.td7790 // Fold extracting an element out of a v2i32 into a vfp register.
/freebsd/contrib/ntp/
H A DCommitLog70369 [Bug 2466] Fold NMEA date into 1024 week cycles - GPS has no absolute date.
70372 [Bug 2466] Fold NMEA date into 1024 week cycles - GPS has no absolute date.
70375 [Bug 2466] Fold NMEA date into 1024 week cycles - GPS has no absolute date.
70379 [Bug 2466] Fold NMEA date into 1024 week cycles - GPS has no absolute date.
/freebsd/share/misc/
H A Dpci_vendors17699 12f9 Four Fold Ltd