Home
last modified time | relevance | path

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

123

/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/swiftshader/third_party/LLVM/include/llvm/Support/
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/icu/android_icu4j/src/main/java/android/icu/text/
DCaseMap.java58 public static Fold fold() { return Fold.DEFAULT; } in fold()
383 public static final class Fold extends CaseMap { class in CaseMap
384 private static final Fold DEFAULT = new Fold(0);
385 private static final Fold TURKIC = new Fold(UCharacter.FOLD_CASE_EXCLUDE_SPECIAL_I);
386 private static final Fold OMIT_UNCHANGED = new Fold(CaseMapImpl.OMIT_UNCHANGED_TEXT);
387 private static final Fold TURKIC_OMIT_UNCHANGED = new Fold(
389 private Fold(int opt) { super(opt); } in Fold() method in CaseMap.Fold
396 public Fold omitUnchangedText() { in omitUnchangedText()
413 public Fold turkic() { in turkic()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DCaseMap.java61 public static Fold fold() { return Fold.DEFAULT; } in fold()
405 public static final class Fold extends CaseMap { class in CaseMap
406 private static final Fold DEFAULT = new Fold(0);
407 private static final Fold TURKIC = new Fold(UCharacter.FOLD_CASE_EXCLUDE_SPECIAL_I);
408 private static final Fold OMIT_UNCHANGED = new Fold(CaseMapImpl.OMIT_UNCHANGED_TEXT);
409 private static final Fold TURKIC_OMIT_UNCHANGED = new Fold(
411 private Fold(int opt) { super(opt); } in Fold() method in CaseMap.Fold
419 public Fold omitUnchangedText() { in omitUnchangedText()
437 public Fold turkic() { in turkic()
/external/llvm/lib/Target/AMDGPU/
DSIFoldOperands.cpp99 static bool updateOperand(FoldCandidate &Fold, in updateOperand() argument
101 MachineInstr *MI = Fold.UseMI; in updateOperand()
102 MachineOperand &Old = MI->getOperand(Fold.UseOpNo); in updateOperand()
105 if (Fold.isImm()) { in updateOperand()
106 Old.ChangeToImmediate(Fold.ImmToFold); in updateOperand()
110 MachineOperand *New = Fold.OpToFold; in updateOperand()
368 for (FoldCandidate &Fold : FoldList) { in runOnMachineFunction()
369 if (updateOperand(Fold, TRI)) { in runOnMachineFunction()
371 if (!Fold.isImm()) { in runOnMachineFunction()
372 assert(Fold.OpToFold && Fold.OpToFold->isReg()); in runOnMachineFunction()
[all …]
/external/llvm/test/CodeGen/WebAssembly/
Doffset.ll308 ; Fold an offset into a sign-extending load.
321 ; Fold a gep offset into a sign-extending load.
332 ; Fold an offset into a zero-extending load.
345 ; Fold a gep offset into a zero-extending load.
356 ; Fold an offset into a truncating store.
368 ; Fold a gep offset into a truncating store.
378 ; Fold the offsets when lowering aggregate loads and stores.
396 ; Fold the offsets when lowering aggregate return values. The stores get
407 ; Fold the offsets when lowering aggregate return values. The stores are not
/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
/external/llvm/lib/TableGen/
DRecord.cpp604 Resolved = OResolved->Fold(&R, nullptr); in resolveListElementReference()
651 Init *UnOpInit::Fold(Record *CurRec, MultiClass *CurMultiClass) const { in Fold() function in UnOpInit
753 return (UnOpInit::get(getOpcode(), lhs, getType()))->Fold(&R, nullptr); in resolveReferences()
754 return Fold(&R, nullptr); in resolveReferences()
799 Init *BinOpInit::Fold(Record *CurRec, MultiClass *CurMultiClass) const { in Fold() function in BinOpInit
895 return (BinOpInit::get(getOpcode(), lhs, rhs, getType()))->Fold(&R,nullptr); in resolveReferences()
896 return Fold(&R, nullptr); in resolveReferences()
975 Init *NewVal = NewOp->Fold(CurRec, CurMultiClass); in EvaluateOperation()
1033 Init *NewItem = NewOp->Fold(CurRec, CurMultiClass); in ForeachHelper()
1042 Init *TernOpInit::Fold(Record *CurRec, MultiClass *CurMultiClass) const { in Fold() function in TernOpInit
[all …]
DTGParser.cpp868 return (UnOpInit::get(Code, LHS, Type))->Fold(CurRec, CurMultiClass); in ParseOperation()
949 ->Fold(CurRec, CurMultiClass); in ParseOperation()
956 ->Fold(CurRec, CurMultiClass); in ParseOperation()
1077 return (TernOpInit::get(Code, LHS, MHS, RHS, Type))->Fold(CurRec, in ParseOperation()
1578 StringRecTy::get())->Fold(CurRec, CurMultiClass); in ParseValue()
2339 StringRecTy::get())->Fold(DefProto, &MC), in InstantiateMulticlassDef()
2340 DefName, StringRecTy::get())->Fold(DefProto, &MC); in InstantiateMulticlassDef()
/external/swiftshader/third_party/LLVM/lib/TableGen/
DRecord.cpp689 Init *Folded = Fold(&R, 0); in resolveBitReference()
706 Resolved = OResolved->Fold(&R, 0); in resolveListElementReference()
736 Init *UnOpInit::Fold(Record *CurRec, MultiClass *CurMultiClass) const { in Fold() function in UnOpInit
853 return (UnOpInit::get(getOpcode(), lhs, getType()))->Fold(&R, 0); in resolveReferences()
854 return Fold(&R, 0); in resolveReferences()
886 Init *BinOpInit::Fold(Record *CurRec, MultiClass *CurMultiClass) const { in Fold() function in BinOpInit
965 return (BinOpInit::get(getOpcode(), lhs, rhs, getType()))->Fold(&R, 0); in resolveReferences()
966 return Fold(&R, 0); in resolveReferences()
1048 Init *NewVal = NewOp->Fold(CurRec, CurMultiClass); in EvaluateOperation()
1125 Init *NewItem = NewOp->Fold(CurRec, CurMultiClass); in ForeachHelper()
[all …]
/external/swiftshader/third_party/LLVM/test/CodeGen/X86/
Dx86-64-disp.ll3 ; Fold an offset into an address even if it's not a 32-bit
/external/llvm/test/CodeGen/X86/
Dx86-64-disp.ll3 ; Fold an offset into an address even if it's not a 32-bit
Dx86-setcc-int-to-fp-combine.ll54 ; Fold explicit AND operations when the constant isn't a splat of a single
/external/llvm/lib/Transforms/InstCombine/
DInstCombineMulDivRem.cpp1306 Constant *Fold = nullptr; in visitFDiv() local
1312 Fold = ConstantExpr::getFDiv(C1, C2); in visitFDiv()
1315 Fold = ConstantExpr::getFMul(C1, C2); in visitFDiv()
1318 Fold = ConstantExpr::getFDiv(C1, C2); in visitFDiv()
1322 if (Fold && isNormalFp(Fold)) { in visitFDiv()
1323 Instruction *R = CreateDiv ? BinaryOperator::CreateFDiv(Fold, X) in visitFDiv()
1324 : BinaryOperator::CreateFMul(X, Fold); in visitFDiv()
/external/llvm/test/Transforms/InstCombine/
Dbswap-fold.ll83 ; Misc: Fold bswap(undef) to undef.
92 ; Fold: OP( BSWAP(x), BSWAP(y) ) -> BSWAP( OP(x, y) )
93 ; Fold: OP( BSWAP(x), CONSTANT ) -> BSWAP( OP(x, BSWAP(CONSTANT) ) )
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/
DLoopUnroll.cpp377 if (BasicBlock *Fold = FoldBlockIntoPredecessor(Dest, LI, LPM)) in UnrollLoop() local
378 std::replace(Latches.begin(), Latches.end(), Dest, Fold); in UnrollLoop()
/external/swiftshader/third_party/LLVM/test/Transforms/InstCombine/
Dbswap-fold.ll67 ; Misc: Fold bswap(undef) to undef.
/external/llvm/test/CodeGen/AArch64/
Darm64-setcc-int-to-fp-combine.ll29 ; Fold explicit AND operations when the constant isn't a splat of a single
/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.
/external/mesa3d/src/util/sha1/
DREADME7 - Fold the handling and detection of _eight_ implementations at configure
/external/llvm/lib/Transforms/Utils/
DLoopUnroll.cpp587 if (BasicBlock *Fold = in UnrollLoop() local
590 std::replace(Latches.begin(), Latches.end(), Dest, Fold); in UnrollLoop()
/external/tensorflow/tensorflow/core/protobuf/
Drewriter_config.proto34 // Fold constants (default is ON)
/external/llvm/include/llvm/TableGen/
DRecord.h741 virtual Init *Fold(Record *CurRec, MultiClass *CurMultiClass) const = 0;
790 Init *Fold(Record *CurRec, MultiClass *CurMultiClass) const override;
844 Init *Fold(Record *CurRec, MultiClass *CurMultiClass) const override;
902 Init *Fold(Record *CurRec, MultiClass *CurMultiClass) const override;
/external/swiftshader/third_party/LLVM/test/CodeGen/ARM/
D2011-08-25-ldmia_ret.ll44 ; Fold the CSR+return into a pop

123