Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIFoldOperands.cpp81 bool updateOperand(FoldCandidate &Fold) const;
83 bool canUseImmWithOpSel(FoldCandidate &Fold) const;
85 bool tryFoldImmWithOpSel(FoldCandidate &Fold) const;
203 bool SIFoldOperands::canUseImmWithOpSel(FoldCandidate &Fold) const { in canUseImmWithOpSel()
204 MachineInstr *MI = Fold.UseMI; in canUseImmWithOpSel()
205 MachineOperand &Old = MI->getOperand(Fold.UseOpNo); in canUseImmWithOpSel()
208 assert(Old.isReg() && Fold.isImm()); in canUseImmWithOpSel()
233 bool SIFoldOperands::tryFoldImmWithOpSel(FoldCandidate &Fold) const { in tryFoldImmWithOpSel()
234 MachineInstr *MI = Fold.UseMI; in tryFoldImmWithOpSel()
235 MachineOperand &Old = MI->getOperand(Fold.UseOpNo); in tryFoldImmWithOpSel()
[all …]
/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()
126 return Fold(ConstantExpr::getGetElementPtr(Ty, PC, IdxList, NW)); in FoldGEP()
161 return Fold(ConstantExpr::getExtractElement(CVec, CIdx)); in FoldExtractElement()
171 return Fold(ConstantExpr::getInsertElement(CVec, CNewElt, CIdx)); in FoldInsertElement()
180 return Fold(ConstantExpr::getShuffleVector(C1, C2, Mask)); in FoldShuffleVector()
207 return Fold(ConstantExpr::getPointerCast(C, DestTy)); in CreatePointerCast()
214 return Fold(ConstantExpr::getPointerBitCastOrAddrSpaceCast(C, DestTy)); in CreatePointerBitCastOrAddrSpaceCast()
/freebsd/contrib/llvm-project/llvm/include/llvm/Target/GlobalISel/
H A DCombine.td211 // Fold (freeze (freeze x)) -> (freeze x).
212 // Fold (fabs (fabs x)) -> (fabs x).
213 // Fold (fcanonicalize (fcanonicalize x)) -> (fcanonicalize x).
305 // Fold shift (shift base x), y -> shift base, (x+y), if shifts are same
446 // Fold (cond ? x : x) -> x
454 // Fold (undef ? x : y) -> y
462 // Fold (true ? x : y) -> x
463 // Fold (false ? x : y) -> y
471 // Fold (C op x) -> (x op C)
499 // Fold x op 0 -> x
[all …]
/freebsd/contrib/llvm-project/llvm/lib/TableGen/
H A DTGParser.cpp121 NewName = BinOp->Fold(&CurRec); in QualifyName()
453 ->Fold(nullptr); in resolve()
881 ->Fold(CurRec)); in ParseSliceElement()
1351 return (UnOpInit::get(Code, LHS, Type))->Fold(CurRec); in ParseOperation()
1376 return (IsAOpInit::get(Type, LHS))->Fold(); in ParseOperation()
1422 return (ExistsOpInit::get(Type, Expr))->Fold(CurRec); in ParseOperation()
1746 RHS = (BinOpInit::get(Code, InitList.back(), RHS, Type))->Fold(CurRec); in ParseOperation()
1753 ->Fold(CurRec); in ParseOperation()
1834 ->Fold(CurRec); in ParseOperation()
1860 ->Fold(CurRec); in ParseOperation()
[all …]
H A DRecord.cpp797 Init *UnOpInit::Fold(Record *CurRec, bool IsFinal) const { in Fold() function in UnOpInit
965 ->Fold(R.getCurrentRecord(), R.isFinal()); in resolveReferences()
1209 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()
[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/usr.bin/compress/doc/
H A Drevision.log64 * Fold in news changes, small machine typedef from thomas,
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLoopUnroll.cpp995 BasicBlock *Fold = Dest->getUniquePredecessor(); in UnrollLoop() local
1001 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/contrib/tcpdump/
H A DCONTRIBUTING.md379 Body: Detailed explanatory text, if necessary. Fold it to approximately
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DTargetLowering.cpp3559 if (SDValue Fold = TLO.DAG.FoldConstantArithmetic( in SimplifyDemandedVectorElts() local
3561 Fold = TLO.DAG.getNode(ISD::AND, DL, SrcVT, Src.getOperand(0), Fold); in SimplifyDemandedVectorElts()
3562 return TLO.CombineTo(Op, TLO.DAG.getBitcast(VT, Fold)); in SimplifyDemandedVectorElts()
4468 if (SDValue Fold = DAG.FoldSetCC(VT, N0, N1, Cond, dl)) in SimplifySetCC() local
4469 return Fold; in SimplifySetCC()
7147 SDValue Fold = in prepareSREMEqFold() local
7153 return Fold; in prepareSREMEqFold()
7169 Created.push_back(Fold.getNode()); in prepareSREMEqFold()
7193 MaskedIsZero, Fold); in prepareSREMEqFold()
H A DSelectionDAG.cpp5945 if (SDValue Fold = FoldConstantArithmetic(Opcode, DL, VT, Ops)) in getNode() local
5946 return Fold; in getNode()
6611 std::optional<APInt> Fold = FoldValueWithUndef( in FoldConstantArithmetic() local
6613 if (!Fold) in FoldConstantArithmetic()
6615 RawBits.push_back(*Fold); in FoldConstantArithmetic()
H A DDAGCombiner.cpp27720 bool Fold = N2C && isNullConstant(N3) && N2C->getAPIntValue().isPowerOf2(); in SimplifySelectCC() local
27723 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.cpp2653 const SCEV *Fold = getAddExpr(LargeOps, SCEV::FlagAnyWrap, Depth + 1); in getAddExpr() local
2655 if (isa<SCEVConstant>(Fold) || isa<SCEVUnknown>(Fold)) in getAddExpr()
2656 return getTruncateExpr(Fold, Ty); in getAddExpr()
3884 ConstantInt *Fold = ConstantInt::get( in getMinMaxExpr() local
3886 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.cpp7871 FoldConstant Fold(Info, IsBcpCall); in VisitConditionalOperator() local
7873 Fold.keepDiagnostics(); in VisitConditionalOperator()
11988 FoldConstant Fold(Info, true); in EvaluateBuiltinConstantP() local
12011 Fold.keepDiagnostics(); in EvaluateBuiltinConstantP()
12342 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.cpp56870 if (SDValue Fold = in combineINSERT_SUBVECTOR() local
56872 return Fold; in combineINSERT_SUBVECTOR()
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMInstrNEON.td7792 // Fold extracting an element out of a v2i32 into a vfp register.
/freebsd/contrib/ntp/
H A DCommitLog[all...]
/freebsd/share/misc/
H A Dpci_vendors17969 12f9 Four Fold Ltd