Home
last modified time | relevance | path

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

12

/freebsd-13.1/contrib/llvm-project/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()
79 return Fold(ConstantExpr::getFDiv(LHS, RHS)); in CreateFDiv()
103 return Fold(ConstantExpr::getAnd(LHS, RHS)); in CreateAnd()
106 return Fold(ConstantExpr::getOr(LHS, RHS)); in CreateOr()
109 return Fold(ConstantExpr::getXor(LHS, RHS)); in CreateXor()
126 return Fold(ConstantExpr::getFNeg(C)); in CreateFNeg()
129 return Fold(ConstantExpr::getNot(C)); in CreateNot()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIFoldOperands.cpp210 if (Fold.isImm()) { in updateOperand()
258 if ((Fold.isImm() || Fold.isFI() || Fold.isGlobal()) && Fold.needsShrink()) { in updateOperand()
295 if (Fold.isCommuted()) in updateOperand()
302 if (Fold.isImm()) { in updateOperand()
307 if (Fold.isGlobal()) { in updateOperand()
308 Old.ChangeToGA(Fold.OpToFold->getGlobal(), Fold.OpToFold->getOffset(), in updateOperand()
313 if (Fold.isFI()) { in updateOperand()
339 if (Fold.UseMI == MI && Fold.UseOpNo == OpNo) in appendFoldCandidate()
1299 assert(!Fold.isReg() || Fold.OpToFold); in foldInstOperand()
1300 if (Fold.isReg() && Fold.OpToFold->getReg().isVirtual()) { in foldInstOperand()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Target/GlobalISel/
H A DCombine.td248 // Fold (cond ? x : x) -> x
256 // Fold (undef ? x : y) -> y
264 // Fold (true ? x : y) -> x
265 // Fold (false ? x : y) -> y
274 // Fold x op 0 -> x
283 // Fold x op 1 -> x
291 // Fold (x op x) - > x
299 // Fold (0 op x) - > 0
323 // Fold (x op 0) - > 0
477 // Fold (fneg (fneg x)) -> x.
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/TableGen/
H A DTGParser.cpp128 NewName = BinOp->Fold(&CurRec); in QualifyName()
1085 return (IsAOpInit::get(Type, LHS))->Fold(); in ParseOperation()
1363 ->Fold(CurRec); in ParseOperation()
1641 ->Fold(CurRec); in ParseOperation()
1977 ->Fold(CurRec); in ParseOperationForEachFilter()
2055 return CondOpInit::get(Case, Val, Type)->Fold(CurRec); in ParseOperationCond()
2164 return VarDefInit::get(Class, Args)->Fold(); in ParseSimpleValue()
2500 ->Fold(CurRec)); in ParseValue()
2537 ->Fold(CurRec)); in ParseValue()
3213 ->Fold(nullptr); in ParseIf()
[all …]
H A DRecord.cpp962 Init *BinOpInit::Fold(Record *CurRec) const { in Fold() function in BinOpInit
1148 ->Fold(R.getCurrentRecord()); in resolveReferences()
1289 Init *TernOpInit::Fold(Record *CurRec) const { in Fold() function in TernOpInit
1452 ->Fold(R.getCurrentRecord()); in resolveReferences()
1503 Init *FoldOpInit::Fold(Record *CurRec) const { in Fold() function in FoldOpInit
1529 ->Fold(R.getCurrentRecord()); in resolveReferences()
1568 Init *IsAOpInit::Fold() const { in Fold() function in IsAOpInit
1591 return get(CheckType, NewExpr)->Fold(); in resolveReferences()
1658 ->Fold(nullptr); in getCastTo()
1898 Init *VarDefInit::Fold() const { in Fold() function in VarDefInit
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/VE/
H A DVVPInstrPatternsVec.td49 // TODO Fold vvp_select into passthru.
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/TableGen/
H A DRecord.h798 Init *Fold(Record *CurRec, bool IsFinal = false) const;
855 Init *Fold(Record *CurRec) const;
913 Init *Fold(Record *CurRec) const;
975 Init *Fold(Record *CurRec) const;
1027 Init *Fold(Record *CurRec) const;
1060 Init *Fold() const;
1239 Init *Fold() const;
1296 Init *Fold(Record *CurRec) const;
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLoopUnroll.cpp753 BasicBlock *Fold = Dest->getUniquePredecessor(); in UnrollLoop() local
756 std::replace(Latches.begin(), Latches.end(), Dest, Fold); in UnrollLoop()
H A DBasicBlockUtils.cpp320 BasicBlock *Fold = Dest->getUniquePredecessor(); in MergeBlockSuccessorsIntoGivenBlocks() local
321 (void)Fold; in MergeBlockSuccessorsIntoGivenBlocks()
323 assert(Fold == BB && in MergeBlockSuccessorsIntoGivenBlocks()
/freebsd-13.1/usr.bin/compress/doc/
H A Drevision.log65 * Fold in news changes, small machine typedef from thomas,
/freebsd-13.1/contrib/tcpdump/
H A DCONTRIBUTING138 Body: Detailed explanatory text, if necessary. Fold it to approximately
/freebsd-13.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-13.1/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DTargetLowering.cpp3516 if (SDValue Fold = DAG.FoldSetCC(VT, N0, N1, Cond, dl)) in SimplifySetCC() local
3517 return Fold; in SimplifySetCC()
5925 SDValue Fold = in prepareSREMEqFold() local
5931 return Fold; in prepareSREMEqFold()
5947 Created.push_back(Fold.getNode()); in prepareSREMEqFold()
5971 MaskedIsZero, Fold); in prepareSREMEqFold()
H A DSelectionDAG.cpp4831 if (SDValue Fold = FoldConstantVectorArithmetic(Opcode, DL, VT, Ops)) in getNode() local
4832 return Fold; in getNode()
H A DDAGCombiner.cpp22013 if (SDValue Fold = DAG.FoldConstantVectorArithmetic( in SimplifyVBinOp() local
22015 return Fold; in SimplifyVBinOp()
22631 bool Fold = N2C && isNullConstant(N3) && N2C->getAPIntValue().isPowerOf2(); in SimplifySelectCC() local
22634 if ((Fold || Swap) && in SimplifySelectCC()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/
H A DScalarEvolution.cpp2542 const SCEV *Fold = getAddExpr(LargeOps, SCEV::FlagAnyWrap, Depth + 1); in getAddExpr() local
2544 if (isa<SCEVConstant>(Fold) || isa<SCEVUnknown>(Fold)) in getAddExpr()
2545 return getTruncateExpr(Fold, Ty); in getAddExpr()
3715 ConstantInt *Fold = ConstantInt::get( in getMinMaxExpr() local
3717 Ops[0] = getConstant(Fold); in getMinMaxExpr()
/freebsd-13.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
H A DDerivedNormalizationProps.txt12 # Generated from computing: b = NFKC(Fold(a)); c = NFKC(Fold(b));
/freebsd-13.1/contrib/llvm-project/clang/lib/AST/
H A DExprConstant.cpp7467 FoldConstant Fold(Info, IsBcpCall); in VisitConditionalOperator() local
7469 Fold.keepDiagnostics(); in VisitConditionalOperator()
11137 FoldConstant Fold(Info, true); in EvaluateBuiltinConstantP() local
11160 Fold.keepDiagnostics(); in EvaluateBuiltinConstantP()
11455 IgnoreSideEffectsRAII Fold(Info); in tryEvaluateBuiltinObjectSize() local
H A DASTContext.cpp724 if (const auto *Fold = dyn_cast<CXXFoldExpr>(IDC)) in canonicalizeImmediatelyDeclaredConstraint() local
725 CSE = cast<ConceptSpecializationExpr>(Fold->getLHS()); in canonicalizeImmediatelyDeclaredConstraint()
/freebsd-13.1/contrib/jemalloc/
H A DChangeLog383 - Fold large and huge size classes together; only small and large size classes
/freebsd-13.1/contrib/diff/
H A DChangeLog2880 * diff3.c (using_to_diff3_block): Fold repeated code into loops.
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86InstrAVX512.td1313 // Fold with a mask even if it has multiple uses since it is cheap.
1338 // Fold with a mask even if it has multiple uses since it is cheap.
H A DX86ISelLowering.cpp50474 if (SDValue Fold = in combineInsertSubvector() local
50476 return Fold; in combineInsertSubvector()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMInstrNEON.td7783 // Fold extracting an element out of a v2i32 into a vfp register.

12