/external/llvm/include/llvm/Analysis/ |
D | TargetFolder.h | 36 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/ |
D | select_xform.ll | 107 ; 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
|
D | 2011-08-25-ldmia_ret.ll | 44 ; Fold the CSR+return into a pop
|
/external/llvm/lib/TableGen/ |
D | Record.cpp | 717 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 …]
|
D | TGParser.cpp | 902 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/ |
D | vec_splat.ll | 37 ; 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.
|
D | x86-64-disp.ll | 3 ; Fold an offset into an address even if it's not a 32-bit
|
D | vselect.ll | 133 ; Fold (vselect (build_vector AllOnes), N1, N2) -> N1 155 ; Fold (vselect (build_vector AllZeros), N1, N2) -> N2
|
D | tailcall-64.ll | 196 ; <rdar://problem/12282281> Fold an indexed load into the tail call instruction.
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineMulDivRem.cpp | 1123 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/ |
D | bswap-fold.ll | 67 ; Misc: Fold bswap(undef) to undef.
|
D | add.ll | 210 ;; Fold add through select.
|
D | cast.ll | 196 ;; Fold cast into select 204 ;; Fold cast into null
|
D | getelementptr.ll | 111 ;; Fold into the cast.
|
/external/llvm/test/Transforms/LoopStrengthReduce/ |
D | address-space-loop.ll | 40 ; Fold %t3's add within the address.
|
D | uglygep-address-space.ll | 40 ; Fold %t3's add within the address.
|
D | uglygep.ll | 37 ; Fold %t3's add within the address.
|
/external/llvm/lib/Transforms/Utils/ |
D | LoopUnroll.cpp | 430 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/ |
D | Record.h | 868 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/ |
D | ScalarEvolution.cpp | 1617 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/ |
D | constant-fold-gep-address-spaces.ll | 64 ; Fold GEP of a GEP. Very simple cases are folded.
|
D | constant-fold-gep.ll | 105 ; Fold GEP of a GEP. Very simple cases are folded without targetdata.
|
/external/llvm/lib/Target/PowerPC/ |
D | README.txt | 323 Fold add and sub with constant into non-extern, non-weak addresses so this:
|
/external/clang/test/SemaCXX/ |
D | constant-expression-cxx11.cpp | 1331 namespace Fold { namespace
|
/external/llvm/lib/Target/Hexagon/ |
D | HexagonInstrInfoV4.td | 24 // Fold (add (CONST32 tglobaladdr:$addr) <offset>) into a global address. 27 // Fold (add (CONST32_GP tglobaladdr:$addr) <offset>) into a global address.
|