/external/libvpx/vp8/common/ |
common.h | 25 #define vp8_copy( Dest, Src) { \ 26 assert( sizeof( Dest) == sizeof( Src)); \ 27 vpx_memcpy( Dest, Src, sizeof( Src)); \ 32 #define vp8_copy_array( Dest, Src, N) { \ 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)); 39 #define vp8_zero_array( Dest, N) vpx_memset( Dest, 0, N * sizeof( *Dest)) [all...] |
blockd.h | 64 #define VP8_COMBINEENTROPYCONTEXTS( Dest, A, B) \ 65 Dest = ((A)!=0) + ((B)!=0);
|
/frameworks/ex/variablespeed/jni/ |
macros.h | 55 template <class Dest, class Source> 56 inline Dest bit_cast(const Source& source) { 57 // Compile time assertion: sizeof(Dest) == sizeof(Source) 58 // A compile error here means your Dest and Source have different sizes. 59 typedef char VerifySizesAreEqual [sizeof(Dest) == sizeof(Source) ? 1 : -1]; // NOLINT 61 Dest dest; local 62 memcpy(&dest, &source, sizeof(dest)); 63 return dest; [all...] |
/external/llvm/lib/ExecutionEngine/Interpreter/ |
Execution.cpp | 50 Dest.TY##Val = Src1.TY##Val OP Src2.TY##Val; \ 53 static void executeFAddInst(GenericValue &Dest, GenericValue Src1, 64 static void executeFSubInst(GenericValue &Dest, GenericValue Src1, 75 static void executeFMulInst(GenericValue &Dest, GenericValue Src1, 86 static void executeFDivInst(GenericValue &Dest, GenericValue Src1, 97 static void executeFRemInst(GenericValue &Dest, GenericValue Src1, 101 Dest.FloatVal = fmod(Src1.FloatVal, Src2.FloatVal); 104 Dest.DoubleVal = fmod(Src1.DoubleVal, Src2.DoubleVal); 114 Dest.IntVal = APInt(1,Src1.IntVal.OP(Src2.IntVal)); \ 123 Dest.IntVal = APInt(1,(void*)(intptr_t)Src1.PointerVal OP [all...] |
/external/clang/lib/StaticAnalyzer/Core/ |
AggExprVisitor.cpp | 30 const MemRegion *Dest; 36 AggExprVisitor(const MemRegion *dest, ExplodedNode *N, ExplodedNodeSet &dst, 38 : Dest(dest), Pred(N), DstSet(dst), Eng(eng) {} 59 Eng.VisitCXXConstructExpr(E, Dest, Pred, DstSet); 66 void ExprEngine::VisitAggExpr(const Expr *E, const MemRegion *Dest, 68 AggExprVisitor(Dest, Pred, Dst, *this).Visit(const_cast<Expr *>(E));
|
ExprEngineCXX.cpp | 68 ExplodedNodeSet &dest) { 91 Visit(callee, *i, dest); 126 const MemRegion *Dest, 168 if (!Dest) 169 Dest = 190 // by 'Dest'. 191 state = state->bindLoc(loc::MemRegionVal(ThisR), loc::MemRegionVal(Dest)); 218 const MemRegion *Dest, 235 state = state->bindLoc(loc::MemRegionVal(ThisR), loc::MemRegionVal(Dest));
|
/external/llvm/utils/TableGen/ |
PseudoLoweringEmitter.h | 33 CodeGenInstruction Dest; // The destination instruction to lower to. 38 Source(s), Dest(d), OperandMap(m) {}
|
PseudoLoweringEmitter.cpp | 160 CodeGenInstruction &Dest = Expansion.Dest; 165 << " TmpInst.setOpcode(" << Dest.Namespace << "::" 166 << Dest.TheDef->getName() << ");\n"; 173 for (unsigned OpNo = 0, E = Dest.Operands.size(); OpNo != E; 175 o << " // Operand: " << Dest.Operands[OpNo].Name << "\n"; 176 for (unsigned i = 0, e = Dest.Operands[OpNo].MINumOperands; 205 MIOpNo += Dest.Operands[OpNo].MINumOperands; 207 if (Dest.Operands.isVariadic) {
|
/external/llvm/lib/Target/MSP430/ |
MSP430BranchSelector.cpp | 113 MachineBasicBlock *Dest = I->getOperand(0).getMBB(); 116 if (Dest->getNumber() <= MBB.getNumber()) { 119 // from this block to the dest. 122 for (unsigned i = Dest->getNumber(), e = MBB.getNumber(); i != e; ++i) 126 // dest to the number of bytes left in this block. 129 for (unsigned i = MBB.getNumber(), e = Dest->getNumber(); i != e; ++i) 161 I = BuildMI(MBB, I, dl, TII->get(MSP430::Bi)).addMBB(Dest);
|
/external/llvm/lib/Target/PowerPC/ |
PPCBranchSelector.cpp | 113 MachineBasicBlock *Dest = I->getOperand(2).getMBB(); 116 if (Dest->getNumber() <= MBB.getNumber()) { 119 // from this block to the dest. 122 for (unsigned i = Dest->getNumber(), e = MBB.getNumber(); i != e; ++i) 126 // dest to the number of bytes left in this block. 129 for (unsigned i = MBB.getNumber(), e = Dest->getNumber(); i != e; ++i) 155 I = BuildMI(MBB, I, dl, TII->get(PPC::B)).addMBB(Dest);
|
/external/chromium/base/ |
basictypes.h | 273 // bit_cast<Dest,Source> is a template function that implements the 274 // equivalent of "*reinterpret_cast<Dest*>(&source)". We need this in 324 // WARNING: if Dest or Source is a non-POD type, the result of the memcpy 327 template <class Dest, class Source> 328 inline Dest bit_cast(const Source& source) { 329 // Compile time assertion: sizeof(Dest) == sizeof(Source) 330 // A compile error here means your Dest and Source have different sizes. 331 typedef char VerifySizesAreEqual [sizeof(Dest) == sizeof(Source) ? 1 : -1]; 333 Dest dest; local [all...] |
/external/clang/lib/CodeGen/ |
CGExprAgg.cpp | 35 AggValueSlot Dest; 38 /// We want to use 'dest' as the return slot except under two 44 return !(Dest.requiresGCollection() || Dest.isPotentiallyAliased()); 51 return ReturnValueSlot(Dest.getAddr(), Dest.isVolatile()); 55 if (!Dest.isIgnored()) return Dest; 60 AggExprEmitter(CodeGenFunction &cgf, AggValueSlot Dest, 62 : CGF(cgf), Builder(CGF.Builder), Dest(Dest) [all...] |
CGCleanup.cpp | 321 new llvm::LoadInst(CGF.getNormalCleanupDestSlot(), "cleanup.dest", Term); 511 // The switch operand is a load from the cleanup-dest alloca. 687 // Compute the branch-through dest if we need it: 710 // TODO: clean up the possibly dead stores to the cleanup dest slot. 730 new llvm::LoadInst(getNormalCleanupDestSlot(), "cleanup.dest"); 850 bool CodeGenFunction::isObviouslyBranchWithoutCleanups(JumpDest Dest) const { 851 assert(Dest.getScopeDepth().encloses(EHStack.stable_begin()) 862 TopCleanup.encloses(Dest.getScopeDepth())) // works for invalid [all...] |
/external/llvm/lib/Analysis/ |
ProfileInfo.cpp | 238 GetPath(const BasicBlock *Src, const BasicBlock *Dest, 264 if ((Mode & GetPathToDest) && *Succ == Dest) { 747 const BasicBlock *Dest = 0; 755 if (Dest && Dest != P[0]) { 758 Dest = P[0]; 776 const BasicBlock *Dest = GetPath(BB, 0, P, GetPathToValue); 816 double ow = getExecutionCount(Dest); 831 double ew = getEdgeWeight(getEdge(P[Dest],Dest)); [all...] |
SparsePropagation.cpp | 98 void SparseSolver::markEdgeExecutable(BasicBlock *Source, BasicBlock *Dest) { 99 if (!KnownFeasibleEdges.insert(Edge(Source, Dest)).second) 103 << " -> " << Dest->getName() << "\n"); 105 if (BBExecutable.count(Dest)) { 109 for (BasicBlock::iterator I = Dest->begin(); isa<PHINode>(I); ++I) 113 MarkBlockExecutable(Dest);
|
ProfileEstimatorPass.cpp | 239 const BasicBlock *Dest = GetPath(BB, (*ei).first, p, GetPathToDest); 240 while (Dest != BB) { 241 const BasicBlock *Parent = p.find(Dest)->second; 242 Edge e = getEdge(Parent, Dest); 248 Dest = Parent; 378 const BasicBlock *Dest = GetPath(BB, *bbi, P, GetPathToDest); 379 if (Dest != *bbi) {
|
BasicAliasAnalysis.cpp | 392 /// GetIndexDifference - Dest and Src are the variable indices from two 396 static void GetIndexDifference(SmallVectorImpl<VariableGEPIndex> &Dest, 405 // Find V in Dest. This is N^2, but pointer indices almost never have more 407 for (unsigned j = 0, e = Dest.size(); j != e; ++j) { 408 if (Dest[j].V != V || Dest[j].Extension != Extension) continue; 410 // If we found it, subtract off Scale V's from the entry in Dest. If it 412 if (Dest[j].Scale != Scale) 413 Dest[j].Scale -= Scale; 415 Dest.erase(Dest.begin()+j) [all...] |
/external/llvm/lib/Linker/ |
LinkModules.cpp | 51 /// linkDefinedTypeBodies - Produce a body for an opaque type in the dest 114 // Mapping an opaque type to any struct, just keep the dest struct. 121 // Mapping a non-opaque source type to an opaque dest. Keep the dest, but 170 /// linkDefinedTypeBodies - Produce a body for an opaque type in the dest 188 // Map the body of the source type over to a new body for the dest type. 332 GlobalVariable *NewGV; // New aggregate global in dest module. 333 Constant *DstInit; // Old initializer from dest module. 362 bool getLinkageResult(GlobalValue *Dest, const GlobalValue *Src, 377 // If we found a global with the same name in the dest module, but it ha [all...] |
/external/v8/src/ |
utils.h | 767 template <class Dest, class Source> 769 STATIC_ASSERT(sizeof(Dest) == sizeof(Source)); 771 INLINE(static Dest cast(const Source& source)) { 772 Dest dest; 773 memcpy(&dest, &source, sizeof(dest)); 774 return dest; 778 template <class Dest, class Source> 779 struct BitCastHelper<Dest, Source*> [all...] |
/external/clang/test/SemaCXX/ |
warn-memset-bad-sizeof.cpp | 19 template <class Dest, class Source> 20 inline Dest bit_cast(const Source& source) { 21 Dest dest; local 22 memcpy(&dest, &source, sizeof(dest)); 23 return dest;
|
/external/llvm/lib/MC/ |
MCStreamer.cpp | 309 MachineLocation Dest(MachineLocation::VirtualFP); 311 MCCFIInstruction Instruction(Label, Dest, Source); 320 MachineLocation Dest(MachineLocation::VirtualFP); 322 MCCFIInstruction Instruction(Label, Dest, Source); 331 MachineLocation Dest(MachineLocation::VirtualFP); 333 MCCFIInstruction Instruction(MCCFIInstruction::RelMove, Label, Dest, Source); 342 MachineLocation Dest(Register); 344 MCCFIInstruction Instruction(Label, Dest, Source); 353 MachineLocation Dest(Register, Offset); 355 MCCFIInstruction Instruction(Label, Dest, Source) [all...] |
/external/llvm/lib/Transforms/Utils/ |
CloneFunction.cpp | 270 BasicBlock *Dest = BI->getSuccessor(!Cond->getZExtValue()); 271 VMap[OldTI] = BranchInst::Create(Dest, NewBB); 272 ToClone.push_back(Dest); 284 BasicBlock *Dest = SI->getSuccessor(SI->findCaseValue(Cond)); 285 VMap[OldTI] = BranchInst::Create(Dest, NewBB); 286 ToClone.push_back(Dest); 513 BasicBlock *Dest = BI->getSuccessor(0); 514 if (!Dest->getSinglePredecessor() || isa<PHINode>(Dest->begin())) { 522 // Make all PHI nodes that referred to Dest now refer to I as their source [all...] |
LoopUnroll.cpp | 332 BasicBlock *Dest = Headers[j]; 338 Dest = LoopExit; 351 Term->setSuccessor(!ContinueOnTrue, Dest); 354 if (Dest != LoopExit) { 367 BranchInst::Create(Dest, Term); 376 BasicBlock *Dest = Term->getSuccessor(0); 377 if (BasicBlock *Fold = FoldBlockIntoPredecessor(Dest, LI, LPM)) 378 std::replace(Latches.begin(), Latches.end(), Dest, Fold);
|
/external/llvm/lib/VMCore/ |
SymbolTableListTraitsImpl.h | 30 ::setSymTabObject(TPtr *Dest, TPtr Src) { 35 *Dest = Src;
|
/external/llvm/include/llvm/Analysis/ |
AliasSetTracker.h | 242 AliasSet *Dest = Forward->getForwardedTarget(AST); 243 if (Dest != Forward) { 244 Dest->addRef(); 246 Forward = Dest; 248 return Dest;
|