/external/libvpx/vp8/common/ |
D | common.h | 25 #define vp8_copy( Dest, Src) { \ argument 26 assert( sizeof( Dest) == sizeof( Src)); \ 27 vpx_memcpy( Dest, Src, sizeof( Src)); \ 32 #define vp8_copy_array( Dest, Src, N) { \ argument 33 assert( sizeof( *Dest) == sizeof( *Src)); \ 34 vpx_memcpy( Dest, Src, N * sizeof( *Src)); \ 37 #define vp8_zero( Dest) vpx_memset( &Dest, 0, sizeof( Dest)); argument 39 #define vp8_zero_array( Dest, N) vpx_memset( Dest, 0, N * sizeof( *Dest)); argument
|
/external/llvm/lib/ExecutionEngine/Interpreter/ |
D | Execution.cpp | 50 Dest.TY##Val = Src1.TY##Val OP Src2.TY##Val; \ 53 static void executeFAddInst(GenericValue &Dest, GenericValue Src1, in executeFAddInst() argument 64 static void executeFSubInst(GenericValue &Dest, GenericValue Src1, in executeFSubInst() argument 75 static void executeFMulInst(GenericValue &Dest, GenericValue Src1, in executeFMulInst() argument 86 static void executeFDivInst(GenericValue &Dest, GenericValue Src1, in executeFDivInst() argument 97 static void executeFRemInst(GenericValue &Dest, GenericValue Src1, in executeFRemInst() argument 101 Dest.FloatVal = fmod(Src1.FloatVal, Src2.FloatVal); in executeFRemInst() 104 Dest.DoubleVal = fmod(Src1.DoubleVal, Src2.DoubleVal); in executeFRemInst() 114 Dest.IntVal = APInt(1,Src1.IntVal.OP(Src2.IntVal)); \ 123 Dest.IntVal = APInt(1,(void*)(intptr_t)Src1.PointerVal OP \ [all …]
|
/external/llvm/lib/Transforms/Scalar/ |
D | TailDuplication.cpp | 103 BasicBlock *Dest = BI->getSuccessor(0); in shouldEliminateUnconditionalBranch() local 104 if (Dest == BI->getParent()) return false; // Do not loop infinitely! in shouldEliminateUnconditionalBranch() 107 TerminatorInst *DTI = Dest->getTerminator(); in shouldEliminateUnconditionalBranch() 109 if (DBI->isUnconditional() && DBI->getSuccessor(0) == Dest) in shouldEliminateUnconditionalBranch() 120 pred_iterator PI = pred_begin(Dest), PE = pred_end(Dest); in shouldEliminateUnconditionalBranch() 124 BasicBlock::iterator I = Dest->getFirstNonPHI(); in shouldEliminateUnconditionalBranch() 126 for (unsigned Size = 0; I != Dest->end(); ++I) { in shouldEliminateUnconditionalBranch() 161 Function::iterator DestI = Dest; in shouldEliminateUnconditionalBranch() 176 DestI = Dest; in shouldEliminateUnconditionalBranch() 177 if (++DestI != Dest->getParent()->end()) { in shouldEliminateUnconditionalBranch() [all …]
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | AggExprVisitor.cpp | 30 const MemRegion *Dest; member in __anonc811be320111::AggExprVisitor 38 : Dest(dest), Pred(N), DstSet(dst), Eng(eng) {} in AggExprVisitor() 59 Eng.VisitCXXConstructExpr(E, Dest, Pred, DstSet); in VisitCXXConstructExpr() 66 void ExprEngine::VisitAggExpr(const Expr *E, const MemRegion *Dest, in VisitAggExpr() argument 68 AggExprVisitor(Dest, Pred, Dst, *this).Visit(const_cast<Expr *>(E)); in VisitAggExpr()
|
D | CXXExprEngine.cpp | 127 const MemRegion *Dest, in VisitCXXConstructExpr() argument 169 if (!Dest) in VisitCXXConstructExpr() 170 Dest = in VisitCXXConstructExpr() 192 state = state->bindLoc(loc::MemRegionVal(ThisR), loc::MemRegionVal(Dest)); in VisitCXXConstructExpr() 245 const MemRegion *Dest, in VisitCXXDestructor() argument 262 state = state->bindLoc(loc::MemRegionVal(ThisR), loc::MemRegionVal(Dest)); in VisitCXXDestructor()
|
/external/clang/lib/CodeGen/ |
D | CGExprAgg.cpp | 35 AggValueSlot Dest; member in __anon50a70e1b0111::AggExprEmitter 42 if (Dest.requiresGCollection()) return ReturnValueSlot(); in getReturnValueSlot() 44 return ReturnValueSlot(Dest.getAddr(), Dest.isVolatile()); in getReturnValueSlot() 48 if (!Dest.isIgnored()) return Dest; in EnsureSlot() 53 AggExprEmitter(CodeGenFunction &cgf, AggValueSlot Dest, in AggExprEmitter() argument 55 : CGF(cgf), Builder(CGF.Builder), Dest(Dest), in AggExprEmitter() 185 if (Dest.requiresGCollection()) { in EmitGCMove() 189 CGF.CGM.getObjCRuntime().EmitGCMemmoveCollectable(CGF, Dest.getAddr(), in EmitGCMove() 205 if (Dest.isIgnored()) { in EmitFinalDestCopy() 213 Dest = CGF.CreateAggTemp(E->getType(), "agg.tmp"); in EmitFinalDestCopy() [all …]
|
D | CGCleanup.cpp | 881 bool CodeGenFunction::isObviouslyBranchWithoutCleanups(JumpDest Dest) const { in isObviouslyBranchWithoutCleanups() 882 assert(Dest.getScopeDepth().encloses(EHStack.stable_begin()) in isObviouslyBranchWithoutCleanups() 893 TopCleanup.encloses(Dest.getScopeDepth())) // works for invalid in isObviouslyBranchWithoutCleanups() 906 void CodeGenFunction::EmitBranchThroughCleanup(JumpDest Dest) { in EmitBranchThroughCleanup() argument 907 assert(Dest.getScopeDepth().encloses(EHStack.stable_begin()) in EmitBranchThroughCleanup() 914 llvm::BranchInst *BI = Builder.CreateBr(Dest.getBlock()); in EmitBranchThroughCleanup() 924 TopCleanup.encloses(Dest.getScopeDepth())) { // works for invalid in EmitBranchThroughCleanup() 931 if (!Dest.getScopeDepth().isValid()) { in EmitBranchThroughCleanup() 933 Fixup.Destination = Dest.getBlock(); in EmitBranchThroughCleanup() 934 Fixup.DestinationIndex = Dest.getDestIndex(); in EmitBranchThroughCleanup() [all …]
|
D | CGStmt.cpp | 291 JumpDest &Dest = LabelMap[D]; in getJumpDestForLabel() local 292 if (Dest.isValid()) return Dest; in getJumpDestForLabel() 295 Dest = JumpDest(createBasicBlock(D->getName()), in getJumpDestForLabel() 298 return Dest; in getJumpDestForLabel() 302 JumpDest &Dest = LabelMap[D]; in EmitLabel() local 306 if (!Dest.isValid()) { in EmitLabel() 307 Dest = getJumpDestInCurrentScope(D->getName()); in EmitLabel() 312 assert(!Dest.getScopeDepth().isValid() && "already emitted label!"); in EmitLabel() 313 Dest = JumpDest(Dest.getBlock(), in EmitLabel() 315 Dest.getDestIndex()); in EmitLabel() [all …]
|
/external/llvm/lib/Analysis/ |
D | ProfileInfo.cpp | 238 GetPath(const BasicBlock *Src, const BasicBlock *Dest, in GetPath() argument 264 if ((Mode & GetPathToDest) && *Succ == Dest) { in GetPath() 747 const BasicBlock *Dest = 0; in repair() local 755 if (Dest && Dest != P[0]) { in repair() 758 Dest = P[0]; in repair() 776 const BasicBlock *Dest = GetPath(BB, 0, P, GetPathToValue); in repair() local 816 double ow = getExecutionCount(Dest); in repair() 831 double ew = getEdgeWeight(getEdge(P[Dest],Dest)); in repair() 843 Edge e = getEdge(P[Dest],Dest); in repair() 848 Dest = P[Dest]; in repair() [all …]
|
D | SparsePropagation.cpp | 98 void SparseSolver::markEdgeExecutable(BasicBlock *Source, BasicBlock *Dest) { in markEdgeExecutable() argument 99 if (!KnownFeasibleEdges.insert(Edge(Source, Dest)).second) in markEdgeExecutable() 103 << " -> " << Dest->getName() << "\n"); in markEdgeExecutable() 105 if (BBExecutable.count(Dest)) { in markEdgeExecutable() 109 for (BasicBlock::iterator I = Dest->begin(); isa<PHINode>(I); ++I) in markEdgeExecutable() 113 MarkBlockExecutable(Dest); in markEdgeExecutable()
|
D | ProfileEstimatorPass.cpp | 239 const BasicBlock *Dest = GetPath(BB, (*ei).first, p, GetPathToDest); in recurseBasicBlock() local 240 while (Dest != BB) { in recurseBasicBlock() 241 const BasicBlock *Parent = p.find(Dest)->second; in recurseBasicBlock() 242 Edge e = getEdge(Parent, Dest); in recurseBasicBlock() 248 Dest = Parent; in recurseBasicBlock() 378 const BasicBlock *Dest = GetPath(BB, *bbi, P, GetPathToDest); in runOnFunction() local 379 if (Dest != *bbi) { in runOnFunction()
|
D | BasicAliasAnalysis.cpp | 394 static void GetIndexDifference(SmallVectorImpl<VariableGEPIndex> &Dest, in GetIndexDifference() argument 405 for (unsigned j = 0, e = Dest.size(); j != e; ++j) { in GetIndexDifference() 406 if (Dest[j].V != V || Dest[j].Extension != Extension) continue; in GetIndexDifference() 410 if (Dest[j].Scale != Scale) in GetIndexDifference() 411 Dest[j].Scale -= Scale; in GetIndexDifference() 413 Dest.erase(Dest.begin()+j); in GetIndexDifference() 421 Dest.push_back(Entry); in GetIndexDifference() 731 Value *Dest = II->getArgOperand(0); in getModRefInfo() local 734 if (isNoAlias(Location(Dest, Len), Loc)) { in getModRefInfo() 750 Value *Dest = II->getArgOperand(0); in getModRefInfo() local [all …]
|
/external/llvm/utils/TableGen/ |
D | PseudoLoweringEmitter.cpp | 160 CodeGenInstruction &Dest = Expansion.Dest; in emitLoweringEmitter() local 165 << " TmpInst.setOpcode(" << Dest.Namespace << "::" in emitLoweringEmitter() 166 << Dest.TheDef->getName() << ");\n"; in emitLoweringEmitter() 173 for (unsigned OpNo = 0, E = Dest.Operands.size(); OpNo != E; in emitLoweringEmitter() 175 o << " // Operand: " << Dest.Operands[OpNo].Name << "\n"; in emitLoweringEmitter() 176 for (unsigned i = 0, e = Dest.Operands[OpNo].MINumOperands; in emitLoweringEmitter() 205 MIOpNo += Dest.Operands[OpNo].MINumOperands; in emitLoweringEmitter() 207 if (Dest.Operands.isVariadic) { in emitLoweringEmitter()
|
D | PseudoLoweringEmitter.h | 33 CodeGenInstruction Dest; // The destination instruction to lower to. member 38 Source(s), Dest(d), OperandMap(m) {} in PseudoExpansion()
|
/external/llvm/lib/Linker/ |
D | LinkModules.cpp | 353 bool getLinkageResult(GlobalValue *Dest, const GlobalValue *Src, 433 bool ModuleLinker::getLinkageResult(GlobalValue *Dest, const GlobalValue *Src, in getLinkageResult() argument 436 assert(Dest && "Must have two globals being queried"); in getLinkageResult() 441 bool DestIsDeclaration = Dest->isDeclaration(); in getLinkageResult() 452 } else if (Dest->hasExternalWeakLinkage()) { in getLinkageResult() 458 LT = Dest->getLinkage(); in getLinkageResult() 460 } else if (DestIsDeclaration && !Dest->hasDLLImportLinkage()) { in getLinkageResult() 467 if (Dest->hasExternalWeakLinkage() || in getLinkageResult() 468 Dest->hasAvailableExternallyLinkage() || in getLinkageResult() 469 (Dest->hasLinkOnceLinkage() && in getLinkageResult() [all …]
|
/external/llvm/lib/Target/PowerPC/ |
D | PPCBranchSelector.cpp | 113 MachineBasicBlock *Dest = I->getOperand(2).getMBB(); in runOnMachineFunction() local 116 if (Dest->getNumber() <= MBB.getNumber()) { in runOnMachineFunction() 122 for (unsigned i = Dest->getNumber(), e = MBB.getNumber(); i != e; ++i) in runOnMachineFunction() 129 for (unsigned i = MBB.getNumber(), e = Dest->getNumber(); i != e; ++i) in runOnMachineFunction() 155 I = BuildMI(MBB, I, dl, TII->get(PPC::B)).addMBB(Dest); in runOnMachineFunction()
|
/external/llvm/lib/Target/MSP430/ |
D | MSP430BranchSelector.cpp | 113 MachineBasicBlock *Dest = I->getOperand(0).getMBB(); in runOnMachineFunction() local 116 if (Dest->getNumber() <= MBB.getNumber()) { in runOnMachineFunction() 122 for (unsigned i = Dest->getNumber(), e = MBB.getNumber(); i != e; ++i) in runOnMachineFunction() 129 for (unsigned i = MBB.getNumber(), e = Dest->getNumber(); i != e; ++i) in runOnMachineFunction() 161 I = BuildMI(MBB, I, dl, TII->get(MSP430::Bi)).addMBB(Dest); in runOnMachineFunction()
|
/external/chromium/base/ |
D | basictypes.h | 327 template <class Dest, class Source> 328 inline Dest bit_cast(const Source& source) { in bit_cast() 331 typedef char VerifySizesAreEqual [sizeof(Dest) == sizeof(Source) ? 1 : -1]; in bit_cast() 333 Dest dest; in bit_cast()
|
/external/v8/src/ |
D | utils.h | 767 template <class Dest, class Source> 769 STATIC_ASSERT(sizeof(Dest) == sizeof(Source)); 771 INLINE(static Dest cast(const Source& source)) { in INLINE() 772 Dest dest; in INLINE() 778 template <class Dest, class Source> 779 struct BitCastHelper<Dest, Source*> { 780 INLINE(static Dest cast(Source* source)) { 781 return BitCastHelper<Dest, uintptr_t>:: 786 template <class Dest, class Source> 787 INLINE(Dest BitCast(const Source& source)); [all …]
|
/external/llvm/test/Transforms/SimplifyCFG/ |
D | 2003-08-17-BranchFold.ll | 1 ; This test checks to make sure that 'br X, Dest, Dest' is folded into 2 ; 'br Dest'
|
D | 2003-08-17-BranchFoldOrdering.ll | 1 ; This test checks to make sure that 'br X, Dest, Dest' is folded into 2 ; 'br Dest'. This can only happen after the 'Z' block is eliminated. This is
|
/external/llvm/lib/MC/ |
D | MCStreamer.cpp | 215 MachineLocation Dest(MachineLocation::VirtualFP); in EmitCFIDefCfa() local 217 MCCFIInstruction Instruction(Label, Dest, Source); in EmitCFIDefCfa() 226 MachineLocation Dest(MachineLocation::VirtualFP); in EmitCFIDefCfaOffset() local 228 MCCFIInstruction Instruction(Label, Dest, Source); in EmitCFIDefCfaOffset() 237 MachineLocation Dest(MachineLocation::VirtualFP); in EmitCFIAdjustCfaOffset() local 239 MCCFIInstruction Instruction(MCCFIInstruction::RelMove, Label, Dest, Source); in EmitCFIAdjustCfaOffset() 248 MachineLocation Dest(Register); in EmitCFIDefCfaRegister() local 250 MCCFIInstruction Instruction(Label, Dest, Source); in EmitCFIDefCfaRegister() 259 MachineLocation Dest(Register, Offset); in EmitCFIOffset() local 261 MCCFIInstruction Instruction(Label, Dest, Source); in EmitCFIOffset() [all …]
|
/external/llvm/lib/Transforms/Utils/ |
D | CloneFunction.cpp | 270 BasicBlock *Dest = BI->getSuccessor(!Cond->getZExtValue()); in CloneBlock() local 271 VMap[OldTI] = BranchInst::Create(Dest, NewBB); in CloneBlock() 272 ToClone.push_back(Dest); in CloneBlock() 284 BasicBlock *Dest = SI->getSuccessor(SI->findCaseValue(Cond)); in CloneBlock() local 285 VMap[OldTI] = BranchInst::Create(Dest, NewBB); in CloneBlock() 286 ToClone.push_back(Dest); in CloneBlock() 517 BasicBlock *Dest = BI->getSuccessor(0); in CloneAndPruneFunctionInto() local 518 if (!Dest->getSinglePredecessor() || isa<PHINode>(Dest->begin())) { in CloneAndPruneFunctionInto() 527 Dest->replaceAllUsesWith(I); in CloneAndPruneFunctionInto() 530 I->getInstList().splice(I->end(), Dest->getInstList()); in CloneAndPruneFunctionInto() [all …]
|
D | LoopUnroll.cpp | 333 BasicBlock *Dest = Headers[j]; in UnrollLoop() local 339 Dest = LoopExit; in UnrollLoop() 352 Term->setSuccessor(!ContinueOnTrue, Dest); in UnrollLoop() 355 BranchInst::Create(Dest, Term); in UnrollLoop() 364 BasicBlock *Dest = Term->getSuccessor(0); in UnrollLoop() local 365 if (BasicBlock *Fold = FoldBlockIntoPredecessor(Dest, LI)) in UnrollLoop() 366 std::replace(Latches.begin(), Latches.end(), Dest, Fold); in UnrollLoop()
|
/external/clang/test/SemaCXX/ |
D | warn-memset-bad-sizeof.cpp | 18 template <class Dest, class Source> 19 inline Dest bit_cast(const Source& source) { in bit_cast() 20 Dest dest; in bit_cast()
|