Searched refs:Dst (Results 1 - 25 of 197) sorted by relevance

12345678

/external/chromium_org/base/numerics/
H A Dsafe_conversions.h17 template <typename Dst, typename Src>
19 return internal::DstRangeRelationToSrcRange<Dst>(value) ==
26 template <typename Dst, typename Src>
27 inline Dst checked_cast(Src value) {
28 CHECK(IsValueInRangeForNumericType<Dst>(value));
29 return static_cast<Dst>(value);
35 template <typename Dst, typename Src>
36 inline Dst saturated_cast(Src value) {
38 if (std::numeric_limits<Dst>::is_iec559)
39 return static_cast<Dst>(valu
[all...]
H A Dsafe_numerics_unittest.cc46 EXPECT_EQ(expected, CheckedNumeric<Dst>(actual).validity()) \
51 EXPECT_EQ(static_cast<Dst>(expected), \
52 CheckedNumeric<Dst>(actual).ValueUnsafe()) \
57 template <typename Dst>
62 numeric_limits<Dst>::is_integer&& numeric_limits<Dst>::is_signed,
64 typedef numeric_limits<Dst> DstLimits;
66 -CheckedNumeric<Dst>(DstLimits::min()));
68 CheckedNumeric<Dst>(DstLimits::min()).Abs());
69 TEST_EXPECTED_VALUE(1, CheckedNumeric<Dst>(
[all...]
H A Dsafe_conversions_impl.h32 // A range for a given nunmeric Src type is contained for a given numeric Dst
33 // type if both numeric_limits<Src>::max() <= numeric_limits<Dst>::max() and
34 // numeric_limits<Src>::min() >= numeric_limits<Dst>::min() are true.
46 typename Dst,
48 IntegerRepresentation DstSign = std::numeric_limits<Dst>::is_signed
57 // Same sign: Dst is guaranteed to contain Src only if its range is equal or
59 template <typename Dst, typename Src, IntegerRepresentation Sign>
60 struct StaticDstRangeRelationToSrcRange<Dst, Src, Sign, Sign> {
62 MaxExponent<Dst>::value >= MaxExponent<Src>::value
67 // Unsigned to signed: Dst i
[all...]
/external/chromium_org/third_party/webrtc/base/
H A Dsafe_conversions.h34 template <typename Dst, typename Src>
36 return internal::RangeCheck<Dst>(value) == internal::TYPE_VALID;
42 template <typename Dst, typename Src>
43 inline Dst checked_cast(Src value) {
44 Check(IsValueInRangeForNumericType<Dst>(value));
45 return static_cast<Dst>(value);
51 template <typename Dst, typename Src>
52 inline Dst saturated_cast(Src value) {
54 if (std::numeric_limits<Dst>::is_iec559)
55 return static_cast<Dst>(valu
[all...]
H A Dsafe_conversions_impl.h39 template <typename Dst, typename Src,
40 DstSign IsDstSigned = std::numeric_limits<Dst>::is_signed ?
46 template <typename Dst, typename Src>
47 struct StaticRangeCheck<Dst, Src, DST_SIGNED, SRC_SIGNED> {
48 typedef std::numeric_limits<Dst> DstLimits;
53 (sizeof(Dst) * 8 - 1);
61 template <typename Dst, typename Src>
62 struct StaticRangeCheck<Dst, Src, DST_UNSIGNED, SRC_UNSIGNED> {
63 static const DstRange value = sizeof(Dst) >= sizeof(Src) ?
67 template <typename Dst, typenam
[all...]
/external/chromium_org/v8/src/base/
H A Dsafe_conversions.h20 template <typename Dst, typename Src>
22 return internal::DstRangeRelationToSrcRange<Dst>(value) ==
29 template <typename Dst, typename Src>
30 inline Dst checked_cast(Src value) {
31 CHECK(IsValueInRangeForNumericType<Dst>(value));
32 return static_cast<Dst>(value);
38 template <typename Dst, typename Src>
39 inline Dst saturated_cast(Src value) {
41 if (std::numeric_limits<Dst>::is_iec559)
42 return static_cast<Dst>(valu
[all...]
H A Dsafe_conversions_impl.h36 // A range for a given nunmeric Src type is contained for a given numeric Dst
37 // type if both numeric_limits<Src>::max() <= numeric_limits<Dst>::max() and
38 // numeric_limits<Src>::min() >= numeric_limits<Dst>::min() are true.
50 typename Dst,
52 IntegerRepresentation DstSign = std::numeric_limits<Dst>::is_signed
61 // Same sign: Dst is guaranteed to contain Src only if its range is equal or
63 template <typename Dst, typename Src, IntegerRepresentation Sign>
64 struct StaticDstRangeRelationToSrcRange<Dst, Src, Sign, Sign> {
66 MaxExponent<Dst>::value >= MaxExponent<Src>::value
71 // Unsigned to signed: Dst i
[all...]
/external/llvm/include/llvm/CodeGen/
H A DMachineBranchProbabilityInfo.h50 const MachineBasicBlock *Dst) const;
55 MachineBasicBlock::const_succ_iterator Dst) const;
64 const MachineBasicBlock *Dst) const;
77 const MachineBasicBlock *Dst) const;
84 const MachineBasicBlock *Dst) const;
/external/llvm/lib/CodeGen/
H A DMachineBranchProbabilityInfo.cpp65 MachineBasicBlock::const_succ_iterator Dst) const {
66 uint32_t Weight = Src->getSuccWeight(Dst);
74 const MachineBasicBlock *Dst) const {
77 return getEdgeWeight(Src, std::find(Src->succ_begin(), Src->succ_end(), Dst));
82 const MachineBasicBlock *Dst) const {
85 return getEdgeProbability(Src, Dst) > BranchProbability(4, 5);
108 const MachineBasicBlock *Src, const MachineBasicBlock *Dst) const {
111 uint32_t N = getEdgeWeight(Src, Dst) / Scale;
118 const MachineBasicBlock *Dst) const {
120 const BranchProbability Prob = getEdgeProbability(Src, Dst);
[all...]
/external/clang/include/clang/Analysis/Analyses/
H A DCFGReachabilityAnalysis.h40 /// Returns true if the block 'Dst' can be reached from block 'Src'.
41 bool isReachable(const CFGBlock *Src, const CFGBlock *Dst);
44 void mapReachability(const CFGBlock *Dst);
/external/clang/lib/Analysis/
H A DCFGReachabilityAnalysis.cpp26 const CFGBlock *Dst) {
28 const unsigned DstBlockID = Dst->getBlockID();
32 mapReachability(Dst);
42 void CFGReverseBlockReachabilityAnalysis::mapReachability(const CFGBlock *Dst) { argument
46 ReachableSet &DstReachability = reachable[Dst->getBlockID()];
51 worklist.push_back(Dst);
61 // Update reachability information for this node -> Dst
63 // Don't insert Dst -> Dst unless it was a predecessor of itself
25 isReachable(const CFGBlock *Src, const CFGBlock *Dst) argument
/external/llvm/include/llvm/Target/
H A DCostTable.h51 TypeTy Dst; member in struct:llvm::TypeConversionCostTblEntry
60 unsigned len, int ISD, CompareTy Dst,
63 if (ISD == Tbl[i].ISD && Src == Tbl[i].Src && Dst == Tbl[i].Dst)
74 int ISD, CompareTy Dst, CompareTy Src) { member in namespace:llvm
75 return ConvertCostTableLookup(Tbl, N, ISD, Dst, Src);
59 ConvertCostTableLookup(const TypeConversionCostTblEntry<TypeTy> *Tbl, unsigned len, int ISD, CompareTy Dst, CompareTy Src) argument
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DExprEngine.h113 /// of the function are added into the Dst set, which represent the exit
118 ExplodedNodeSet &Dst) {
119 return Engine.ExecuteWorkListWithInitialState(L, Steps, InitState, Dst);
206 ExplodedNode *Pred, ExplodedNodeSet &Dst);
208 ExplodedNode *Pred, ExplodedNodeSet &Dst);
210 ExplodedNode *Pred, ExplodedNodeSet &Dst);
212 ExplodedNode *Pred, ExplodedNodeSet &Dst);
214 ExplodedNode *Pred, ExplodedNodeSet &Dst);
226 ExplodedNodeSet &Dst,
235 ExplodedNodeSet &Dst,
116 ExecuteWorkListWithInitialState(const LocationContext *L, unsigned Steps, ProgramStateRef InitState, ExplodedNodeSet &Dst) argument
[all...]
/external/chromium_org/third_party/skia/src/gpu/
H A DGrTemplates.h16 template <typename Dst, typename Src> Dst GrTCast(Src src) {
19 Dst dst;
/external/skia/src/gpu/
H A DGrTemplates.h16 template <typename Dst, typename Src> Dst GrTCast(Src src) {
19 Dst dst;
/external/llvm/bindings/ocaml/linker/
H A Dlinker_ocaml.c47 CAMLprim value llvm_link_modules(LLVMModuleRef Dst, LLVMModuleRef Src, value Mode) { argument
50 if (LLVMLinkModules(Dst, Src, Int_val(Mode), &Message))
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/i915/
H A Di915_fpc_optimize.c176 copy_dst_reg(&o->Dst[0].Register, &i->Dst[0].Register);
207 same_dst_reg(&next->FullInstruction.Dst[0], &current->FullInstruction.Dst[0]) &&
209 !same_src_dst_reg(&next->FullInstruction.Src[0], &current->FullInstruction.Dst[0]) &&
210 is_unswizzled(&current->FullInstruction.Src[0], current->FullInstruction.Dst[0].Register.WriteMask) &&
211 is_unswizzled(&current->FullInstruction.Src[1], current->FullInstruction.Dst[0].Register.WriteMask) &&
212 is_unswizzled(&next->FullInstruction.Src[0], next->FullInstruction.Dst[0].Register.WriteMask) )
218 next->FullInstruction.Dst[0].Register.WriteMask,
221 current->FullInstruction.Dst[
[all...]
/external/mesa3d/src/gallium/drivers/i915/
H A Di915_fpc_optimize.c176 copy_dst_reg(&o->Dst[0].Register, &i->Dst[0].Register);
207 same_dst_reg(&next->FullInstruction.Dst[0], &current->FullInstruction.Dst[0]) &&
209 !same_src_dst_reg(&next->FullInstruction.Src[0], &current->FullInstruction.Dst[0]) &&
210 is_unswizzled(&current->FullInstruction.Src[0], current->FullInstruction.Dst[0].Register.WriteMask) &&
211 is_unswizzled(&current->FullInstruction.Src[1], current->FullInstruction.Dst[0].Register.WriteMask) &&
212 is_unswizzled(&next->FullInstruction.Src[0], next->FullInstruction.Dst[0].Register.WriteMask) )
218 next->FullInstruction.Dst[0].Register.WriteMask,
221 current->FullInstruction.Dst[
[all...]
/external/llvm/include/llvm/Analysis/
H A DBranchProbabilityInfo.h37 /// identify an edge, since we can have multiple edges from Src to Dst.
38 /// As an example, we can have a switch which jumps to Dst with value 0 and
61 /// \brief Get the probability of going from Src to Dst.
63 /// It returns the sum of all probabilities for edges from Src to Dst.
65 const BasicBlock *Dst) const;
71 bool isEdgeHot(const BasicBlock *Src, const BasicBlock *Dst) const;
85 const BasicBlock *Dst) const;
98 /// This returns the sum of all raw edge weights from Src to Dst.
100 uint32_t getEdgeWeight(const BasicBlock *Src, const BasicBlock *Dst) const;
103 succ_const_iterator Dst) cons
[all...]
/external/llvm/lib/Target/Hexagon/
H A DHexagonPeephole.cpp104 void ChangeOpInto(MachineOperand &Dst, MachineOperand &Src);
140 MachineOperand &Dst = MI->getOperand(0); local
142 unsigned DstReg = Dst.getReg();
159 MachineOperand &Dst = MI->getOperand(0); local
164 unsigned DstReg = Dst.getReg();
176 MachineOperand &Dst = MI->getOperand(0); local
181 unsigned DstReg = Dst.getReg();
191 MachineOperand &Dst = MI->getOperand(0); local
193 unsigned DstReg = Dst.getReg();
209 MachineOperand &Dst local
314 ChangeOpInto(MachineOperand &Dst, MachineOperand &Src) argument
[all...]
H A DHexagonSelectionDAGInfo.h28 SDValue Dst, SDValue Src,
/external/clang/lib/StaticAnalyzer/Core/
H A DExprEngine.cpp432 ExplodedNodeSet Dst; local
438 Dst.insert(DstI);
442 Engine.enqueue(Dst, currBldrCtx->getBlock(), currStmtIdx);
518 ExplodedNodeSet Dst; local
519 NodeBuilder Bldr(Tmp, Dst, *currBldrCtx);
526 Engine.enqueue(Dst, currBldrCtx->getBlock(), currStmtIdx);
531 ExplodedNodeSet Dst; local
534 ProcessAutomaticObjDtor(D.castAs<CFGAutomaticObjDtor>(), Pred, Dst);
537 ProcessBaseDtor(D.castAs<CFGBaseDtor>(), Pred, Dst);
540 ProcessMemberDtor(D.castAs<CFGMemberDtor>(), Pred, Dst);
558 ExplodedNodeSet Dst; local
575 ProcessAutomaticObjDtor(const CFGAutomaticObjDtor Dtor, ExplodedNode *Pred, ExplodedNodeSet &Dst) argument
594 ProcessDeleteDtor(const CFGDeleteDtor Dtor, ExplodedNode *Pred, ExplodedNodeSet &Dst) argument
623 ProcessBaseDtor(const CFGBaseDtor D, ExplodedNode *Pred, ExplodedNodeSet &Dst) argument
642 ProcessMemberDtor(const CFGMemberDtor D, ExplodedNode *Pred, ExplodedNodeSet &Dst) argument
659 ProcessTemporaryDtor(const CFGTemporaryDtor D, ExplodedNode *Pred, ExplodedNodeSet &Dst) argument
676 ExplodedNodeSet Dst; local
759 VisitObjCAtSynchronizedStmt(cast<ObjCAtSynchronizedStmt>(S), Pred, Dst); local
895 VisitLvalArraySubscriptExpr(cast<ArraySubscriptExpr>(S), Pred, Dst); local
901 VisitGCCAsmStmt(cast<GCCAsmStmt>(S), Pred, Dst); local
907 VisitMSAsmStmt(cast<MSAsmStmt>(S), Pred, Dst); local
913 VisitBlockExpr(cast<BlockExpr>(S), Pred, Dst); local
943 VisitBinaryOperator(cast<BinaryOperator>(S), Pred, Dst); local
976 VisitCallExpr(cast<CallExpr>(S), Pred, Dst); local
983 VisitCXXCatchStmt(cast<CXXCatchStmt>(S), Pred, Dst); local
991 VisitCXXConstructExpr(cast<CXXConstructExpr>(S), Pred, Dst); local
1031 VisitBinaryOperator(cast<BinaryOperator>(S), Pred, Dst); local
1037 VisitCompoundLiteralExpr(cast<CompoundLiteralExpr>(S), Pred, Dst); local
1053 VisitCXXThisExpr(cast<CXXThisExpr>(S), Pred, Dst); local
1067 VisitDeclStmt(cast<DeclStmt>(S), Pred, Dst); local
1108 VisitInitListExpr(cast<InitListExpr>(S), Pred, Dst); local
1114 VisitMemberExpr(cast<MemberExpr>(S), Pred, Dst); local
1120 VisitLvalObjCIvarRefExpr(cast<ObjCIvarRefExpr>(S), Pred, Dst); local
1126 VisitObjCForCollectionStmt(cast<ObjCForCollectionStmt>(S), Pred, Dst); local
1132 VisitObjCMessage(cast<ObjCMessageExpr>(S), Pred, Dst); local
1145 VisitReturnStmt(cast<ReturnStmt>(S), Pred, Dst); local
1151 VisitOffsetOfExpr(cast<OffsetOfExpr>(S), Pred, Dst); local
1158 Pred, Dst); local
1426 processBranch(const Stmt *Condition, const Stmt *Term, NodeBuilderContext& BldCtx, ExplodedNode *Pred, ExplodedNodeSet &Dst, const CFGBlock *DstT, const CFGBlock *DstF) argument
1527 processStaticInitializer(const DeclStmt *DS, NodeBuilderContext &BuilderCtx, ExplodedNode *Pred, clang::ento::ExplodedNodeSet &Dst, const CFGBlock *DstT, const CFGBlock *DstF) argument
1602 ExplodedNodeSet Dst; local
1727 VisitCommonDeclRefExpr(const Expr *Ex, const NamedDecl *D, ExplodedNode *Pred, ExplodedNodeSet &Dst) argument
1782 VisitLvalArraySubscriptExpr(const ArraySubscriptExpr *A, ExplodedNode *Pred, ExplodedNodeSet &Dst) argument
1809 VisitMemberExpr(const MemberExpr *M, ExplodedNode *Pred, ExplodedNodeSet &Dst) argument
1822 ExplodedNodeSet Dst; local
2000 evalBind(ExplodedNodeSet &Dst, const Stmt *StoreE, ExplodedNode *Pred, SVal location, SVal Val, bool atDeclInit, const ProgramPoint *PP) argument
2062 evalStore(ExplodedNodeSet &Dst, const Expr *AssignE, const Expr *LocationE, ExplodedNode *Pred, ProgramStateRef state, SVal location, SVal Val, const ProgramPointTag *tag) argument
2085 evalLoad(ExplodedNodeSet &Dst, const Expr *NodeEx, const Expr *BoundEx, ExplodedNode *Pred, ProgramStateRef state, SVal location, const ProgramPointTag *tag, QualType LoadTy) argument
2124 evalLoadCommon(ExplodedNodeSet &Dst, const Expr *NodeEx, const Expr *BoundEx, ExplodedNode *Pred, ProgramStateRef state, SVal location, const ProgramPointTag *tag, QualType LoadTy) argument
2161 evalLocation(ExplodedNodeSet &Dst, const Stmt *NodeEx, const Stmt *BoundEx, ExplodedNode *Pred, ProgramStateRef state, SVal location, const ProgramPointTag *tag, bool isLoad) argument
2208 evalEagerlyAssumeBinOpBifurcation(ExplodedNodeSet &Dst, ExplodedNodeSet &Src, const Expr *Ex) argument
2250 VisitGCCAsmStmt(const GCCAsmStmt *A, ExplodedNode *Pred, ExplodedNodeSet &Dst) argument
2273 VisitMSAsmStmt(const MSAsmStmt *A, ExplodedNode *Pred, ExplodedNodeSet &Dst) argument
[all...]
/external/llvm/lib/Target/X86/
H A DX86SelectionDAGInfo.h32 SDValue Dst, SDValue Src,
39 SDValue Dst, SDValue Src,
/external/eigen/Eigen/src/Core/
H A DAssign_MKL.h43 template<typename Dst, typename Src, typename UnaryOp>
48 DstHasDirectAccess = Dst::Flags & DirectAccessBit,
51 StorageOrdersAgree = (int(Dst::IsRowMajor) == int(Src::IsRowMajor)),
52 InnerSize = int(Dst::IsVectorAtCompileTime) ? int(Dst::SizeAtCompileTime)
53 : int(Dst::Flags)&RowMajorBit ? int(Dst::ColsAtCompileTime)
54 : int(Dst::RowsAtCompileTime),
55 InnerMaxSize = int(Dst::IsVectorAtCompileTime) ? int(Dst
[all...]
/external/llvm/lib/Target/AArch64/
H A DAArch64SelectionDAGInfo.h27 SDValue Dst, SDValue Src, SDValue Size,

Completed in 611 milliseconds

12345678