Home
last modified time | relevance | path

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

12

/external/llvm/include/llvm/Analysis/
DTargetFolder.h36 Constant *Fold(Constant *C) const { in Fold() function
52 return Fold(ConstantExpr::getAdd(LHS, RHS, HasNUW, HasNSW));
55 return Fold(ConstantExpr::getFAdd(LHS, RHS)); in CreateFAdd()
59 return Fold(ConstantExpr::getSub(LHS, RHS, HasNUW, HasNSW));
62 return Fold(ConstantExpr::getFSub(LHS, RHS)); in CreateFSub()
66 return Fold(ConstantExpr::getMul(LHS, RHS, HasNUW, HasNSW));
69 return Fold(ConstantExpr::getFMul(LHS, RHS)); in CreateFMul()
72 return Fold(ConstantExpr::getUDiv(LHS, RHS, isExact));
75 return Fold(ConstantExpr::getSDiv(LHS, RHS, isExact));
78 return Fold(ConstantExpr::getFDiv(LHS, RHS)); in CreateFDiv()
[all …]
/external/llvm/test/CodeGen/ARM/
Dselect_xform.ll107 ; Fold ORRri into movcc.
122 ; Fold ANDrr into movcc.
137 ; Fold EORrs into movcc.
153 ; Fold ORRri into movcc, reversing the condition.
168 ; Fold ADDri12 into movcc
194 ; Fold zext i1 into predicated add
210 ; Fold sext i1 into predicated sub
D2011-08-25-ldmia_ret.ll44 ; Fold the CSR+return into a pop
/external/llvm/lib/TableGen/
DRecord.cpp717 Resolved = OResolved->Fold(&R, nullptr); in resolveListElementReference()
751 Init *UnOpInit::Fold(Record *CurRec, MultiClass *CurMultiClass) const { in Fold() function in UnOpInit
859 return (UnOpInit::get(getOpcode(), lhs, getType()))->Fold(&R, nullptr); in resolveReferences()
860 return Fold(&R, nullptr); in resolveReferences()
891 Init *BinOpInit::Fold(Record *CurRec, MultiClass *CurMultiClass) const { in Fold() function in BinOpInit
983 return (BinOpInit::get(getOpcode(), lhs, rhs, getType()))->Fold(&R,nullptr); in resolveReferences()
984 return Fold(&R, nullptr); in resolveReferences()
1064 Init *NewVal = NewOp->Fold(CurRec, CurMultiClass); in EvaluateOperation()
1134 Init *NewItem = NewOp->Fold(CurRec, CurMultiClass); in ForeachHelper()
1144 Init *TernOpInit::Fold(Record *CurRec, MultiClass *CurMultiClass) const { in Fold() function in TernOpInit
[all …]
DTGParser.cpp902 return (UnOpInit::get(Code, LHS, Type))->Fold(CurRec, CurMultiClass); in ParseOperation()
981 ->Fold(CurRec, CurMultiClass); in ParseOperation()
988 ->Fold(CurRec, CurMultiClass); in ParseOperation()
1109 return (TernOpInit::get(Code, LHS, MHS, RHS, Type))->Fold(CurRec, in ParseOperation()
1580 StringRecTy::get())->Fold(CurRec, CurMultiClass); in ParseValue()
2346 StringRecTy::get())->Fold(DefProto, &MC), in InstantiateMulticlassDef()
2347 DefName, StringRecTy::get())->Fold(DefProto, &MC); in InstantiateMulticlassDef()
/external/llvm/test/CodeGen/X86/
Dvec_splat.ll37 ; Fold extract of a load into the load's address computation. This avoids spilling to the stack.
54 ; Fold extract of a load into the load's address computation. This avoids spilling to the stack.
Dx86-64-disp.ll3 ; Fold an offset into an address even if it's not a 32-bit
Dvselect.ll133 ; Fold (vselect (build_vector AllOnes), N1, N2) -> N1
155 ; Fold (vselect (build_vector AllZeros), N1, N2) -> N2
Dtailcall-64.ll196 ; <rdar://problem/12282281> Fold an indexed load into the tail call instruction.
/external/llvm/lib/Transforms/InstCombine/
DInstCombineMulDivRem.cpp1123 Constant *Fold = nullptr; in visitFDiv() local
1129 Fold = ConstantExpr::getFDiv(C1, C2); in visitFDiv()
1132 Fold = ConstantExpr::getFMul(C1, C2); in visitFDiv()
1135 Fold = ConstantExpr::getFDiv(C1, C2); in visitFDiv()
1139 if (Fold && isNormalFp(Fold)) { in visitFDiv()
1140 Instruction *R = CreateDiv ? BinaryOperator::CreateFDiv(Fold, X) in visitFDiv()
1141 : BinaryOperator::CreateFMul(X, Fold); in visitFDiv()
/external/llvm/test/Transforms/InstCombine/
Dbswap-fold.ll67 ; Misc: Fold bswap(undef) to undef.
Dadd.ll210 ;; Fold add through select.
Dcast.ll196 ;; Fold cast into select
204 ;; Fold cast into null
Dgetelementptr.ll111 ;; Fold into the cast.
/external/llvm/test/Transforms/LoopStrengthReduce/
Daddress-space-loop.ll40 ; Fold %t3's add within the address.
Duglygep-address-space.ll40 ; Fold %t3's add within the address.
Duglygep.ll37 ; Fold %t3's add within the address.
/external/llvm/lib/Transforms/Utils/
DLoopUnroll.cpp430 if (BasicBlock *Fold = FoldBlockIntoPredecessor(Dest, LI, LPM)) in UnrollLoop() local
431 std::replace(Latches.begin(), Latches.end(), Dest, Fold); in UnrollLoop()
/external/llvm/include/llvm/TableGen/
DRecord.h868 virtual Init *Fold(Record *CurRec, MultiClass *CurMultiClass) const = 0;
920 Init *Fold(Record *CurRec, MultiClass *CurMultiClass) const override;
973 Init *Fold(Record *CurRec, MultiClass *CurMultiClass) const override;
1033 Init *Fold(Record *CurRec, MultiClass *CurMultiClass) const override;
/external/llvm/lib/Analysis/
DScalarEvolution.cpp1617 const SCEV *Fold = getAddExpr(LargeOps, Flags); in getAddExpr() local
1619 if (isa<SCEVConstant>(Fold) || isa<SCEVUnknown>(Fold)) in getAddExpr()
1620 return getTruncateExpr(Fold, DstType); in getAddExpr()
1940 ConstantInt *Fold = ConstantInt::get(getContext(), in getMulExpr() local
1943 Ops[0] = getConstant(Fold); in getMulExpr()
2503 ConstantInt *Fold = ConstantInt::get(getContext(), in getSMaxExpr() local
2506 Ops[0] = getConstant(Fold); in getSMaxExpr()
2607 ConstantInt *Fold = ConstantInt::get(getContext(), in getUMaxExpr() local
2610 Ops[0] = getConstant(Fold); in getUMaxExpr()
/external/llvm/test/Other/
Dconstant-fold-gep-address-spaces.ll64 ; Fold GEP of a GEP. Very simple cases are folded.
Dconstant-fold-gep.ll105 ; Fold GEP of a GEP. Very simple cases are folded without targetdata.
/external/llvm/lib/Target/PowerPC/
DREADME.txt323 Fold add and sub with constant into non-extern, non-weak addresses so this:
/external/clang/test/SemaCXX/
Dconstant-expression-cxx11.cpp1331 namespace Fold { namespace
/external/llvm/lib/Target/Hexagon/
DHexagonInstrInfoV4.td24 // Fold (add (CONST32 tglobaladdr:$addr) <offset>) into a global address.
27 // Fold (add (CONST32_GP tglobaladdr:$addr) <offset>) into a global address.

12