HomeSort by relevance Sort by last modified time
    Searched refs:Src (Results 1 - 25 of 121) sorted by null

1 2 3 4 5

  /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)); \
  /external/llvm/include/llvm/CodeGen/
MachineBranchProbabilityInfo.h 52 uint32_t getEdgeWeight(const MachineBasicBlock *Src,
61 bool isEdgeHot(MachineBasicBlock *Src, MachineBasicBlock *Dst) const;
69 // only iff SRC block has only one successor.
71 // Src. Querying sequentially for each successor's probability is a quadratic
73 BranchProbability getEdgeProbability(MachineBasicBlock *Src,
77 // however the value is never equal to 0, and can be 1 only iff SRC block
79 raw_ostream &printEdgeProbability(raw_ostream &OS, MachineBasicBlock *Src,
  /external/llvm/lib/CodeGen/
MachineBranchProbabilityInfo.cpp 64 MachineBranchProbabilityInfo::getEdgeWeight(const MachineBasicBlock *Src,
66 uint32_t Weight = Src->getSuccWeight(Dst);
72 bool MachineBranchProbabilityInfo::isEdgeHot(MachineBasicBlock *Src,
76 return getEdgeProbability(Src, Dst) > BranchProbability(4, 5);
99 MachineBranchProbabilityInfo::getEdgeProbability(MachineBasicBlock *Src,
102 uint32_t D = getSumForBlock(Src, Scale);
103 uint32_t N = getEdgeWeight(Src, Dst) / Scale;
109 printEdgeProbability(raw_ostream &OS, MachineBasicBlock *Src,
112 const BranchProbability Prob = getEdgeProbability(Src, Dst);
113 OS << "edge MBB#" << Src->getNumber() << " -> MBB#" << Dst->getNumber(
    [all...]
MachineCopyPropagation.cpp 122 static bool isNopCopy(MachineInstr *CopyMI, unsigned Def, unsigned Src,
132 return SubIdx == TRI->getSubRegIndex(SrcDef, Src);
142 SourceMap SrcMap; // Src -> Def map
151 unsigned Src = MI->getOperand(1).getReg();
154 TargetRegisterInfo::isVirtualRegister(Src))
158 DenseMap<unsigned, MachineInstr*>::iterator CI = AvailCopyMap.find(Src);
162 (!ReservedRegs.test(Src) || NoInterveningSideEffect(CopyMI, MI)) &&
163 isNopCopy(CopyMI, Def, Src, TRI)) {
190 // If Src is defined by a previous copy, it cannot be eliminated.
191 CI = CopyMap.find(Src);
    [all...]
  /external/llvm/lib/Target/Hexagon/
HexagonPeephole.cpp 97 void ChangeOpInto(MachineOperand &Dst, MachineOperand &Src);
130 MachineOperand &Src = MI->getOperand(1);
132 unsigned SrcReg = Src.getReg();
148 MachineOperand &Src = MI->getOperand(1);
150 unsigned SrcReg = Src.getReg();
166 MachineOperand &Src = MI->getOperand(1);
169 if (Src.getSubReg() != Hexagon::subreg_loreg)
173 unsigned SrcReg = Src.getReg();
255 void HexagonPeephole::ChangeOpInto(MachineOperand &Dst, MachineOperand &Src) {
256 assert (&Dst != &Src && "Cannot duplicate into itself")
    [all...]
HexagonSelectionDAGInfo.h 31 SDValue Dst, SDValue Src,
HexagonSelectionDAGInfo.cpp 31 SDValue Dst, SDValue Src, SDValue Size, unsigned Align,
  /external/llvm/include/llvm/Analysis/
BranchProbabilityInfo.h 48 /// \brief Get an edge's probability, relative to other out-edges of the Src.
52 /// leaving the 'Src' block. The returned probability is never zero, and can
54 BranchProbability getEdgeProbability(const BasicBlock *Src,
57 /// \brief Test if an edge is hot relative to other out-edges of the Src.
61 bool isEdgeHot(const BasicBlock *Src, const BasicBlock *Dst) const;
74 raw_ostream &printEdgeProbability(raw_ostream &OS, const BasicBlock *Src,
83 uint32_t getEdgeWeight(const BasicBlock *Src, const BasicBlock *Dst) const;
91 void setEdgeWeight(const BasicBlock *Src, const BasicBlock *Dst,
  /external/skia/include/gpu/
GrTemplates.h 18 template <typename Dst, typename Src> Dst GrTCast(Src src) {
20 Src src; member in union:__anon12199
23 data.src = src;
  /external/llvm/lib/Target/X86/
X86SelectionDAGInfo.h 39 SDValue Dst, SDValue Src,
47 SDValue Dst, SDValue Src,
X86SelectionDAGInfo.cpp 32 SDValue Dst, SDValue Src,
52 ConstantSDNode *V = dyn_cast<ConstantSDNode>(Src);
83 ConstantSDNode *ValC = dyn_cast<ConstantSDNode>(Src);
127 Chain = DAG.getCopyToReg(Chain, dl, X86::AL, Src, InFlag);
166 Src,
177 SDValue Chain, SDValue Dst, SDValue Src,
231 Src, InFlag);
245 EVT SrcVT = Src.getValueType();
250 DAG.getNode(ISD::ADD, dl, SrcVT, Src,
  /external/clang/include/clang/Analysis/Analyses/
CFGReachabilityAnalysis.h 40 /// Returns true if the block 'Dst' can be reached from block 'Src'.
41 bool isReachable(const CFGBlock *Src, const CFGBlock *Dst);
  /external/llvm/lib/CodeGen/AsmPrinter/
AsmPrinterDwarf.cpp 181 const MachineLocation &Src = Move.getSource();
185 if (Src.getReg() == MachineLocation::VirtualFP) {
186 OutStreamer.EmitCFIDefCfaOffset(-Src.getOffset());
189 OutStreamer.EmitCFIDefCfa(RI->getDwarfRegNum(Src.getReg(), true),
190 Src.getOffset());
192 } else if (Src.isReg() && Src.getReg() == MachineLocation::VirtualFP) {
197 OutStreamer.EmitCFIOffset(RI->getDwarfRegNum(Src.getReg(), true),
  /external/llvm/lib/Target/ARM/
ARMSelectionDAGInfo.cpp 31 SDValue Dst, SDValue Src,
67 DAG.getNode(ISD::ADD, dl, MVT::i32, Src,
106 DAG.getNode(ISD::ADD, dl, MVT::i32, Src,
145 SDValue Src, SDValue Size,
170 if (Src.getValueType().bitsGT(MVT::i32))
171 Src = DAG.getNode(ISD::TRUNCATE, dl, MVT::i32, Src);
173 Src = DAG.getNode(ISD::ZERO_EXTEND, dl, MVT::i32, Src);
176 Entry.Node = Src;
    [all...]
  /external/llvm/lib/VMCore/
IRBuilder.cpp 82 CreateMemCpy(Value *Dst, Value *Src, Value *Size, unsigned Align,
85 Src = getCastedInt8PtrValue(Src);
87 Value *Ops[] = { Dst, Src, Size, getInt32(Align), getInt1(isVolatile) };
88 Type *Tys[] = { Dst->getType(), Src->getType(), Size->getType() };
102 CreateMemMove(Value *Dst, Value *Src, Value *Size, unsigned Align,
105 Src = getCastedInt8PtrValue(Src);
107 Value *Ops[] = { Dst, Src, Size, getInt32(Align), getInt1(isVolatile) };
108 Type *Tys[] = { Dst->getType(), Src->getType(), Size->getType() }
    [all...]
Globals.cpp 49 /// create a GlobalValue) from the GlobalValue Src to this one.
50 void GlobalValue::copyAttributesFrom(const GlobalValue *Src) {
51 setAlignment(Src->getAlignment());
52 setSection(Src->getSection());
53 setVisibility(Src->getVisibility());
54 setUnnamedAddr(Src->hasUnnamedAddr());
176 /// create a GlobalVariable) from the GlobalVariable Src to this one.
177 void GlobalVariable::copyAttributesFrom(const GlobalValue *Src) {
178 assert(isa<GlobalVariable>(Src) && "Expected a GlobalVariable!");
179 GlobalValue::copyAttributesFrom(Src);
    [all...]
  /external/llvm/include/llvm/
Linker.h 243 /// This method links the \p Src module into the Linker's Composite module
251 Module* Src, ///< Module linked into \p Dest
254 return LinkModules(Composite, Src, Linker::DestroySource, ErrorMsg );
258 /// control of the \p Src module and link it into the \p Dest module. The
259 /// \p Src module will be destructed or subsumed by this method. In either
261 /// the \p Dest module will remain. The \p Src module is linked into the
268 static bool LinkModules(Module* Dest, Module* Src, unsigned Mode,
  /external/llvm/lib/Target/PTX/
PTXSelectionDAGInfo.h 35 SDValue Dst, SDValue Src,
  /external/llvm/lib/Analysis/
BranchProbabilityInfo.cpp 437 isEdgeHot(const BasicBlock *Src, const BasicBlock *Dst) const {
440 return getEdgeProbability(Src, Dst) > BranchProbability(4, 5);
471 getEdgeWeight(const BasicBlock *Src, const BasicBlock *Dst) const {
472 Edge E(Src, Dst);
482 setEdgeWeight(const BasicBlock *Src, const BasicBlock *Dst, uint32_t Weight) {
483 Weights[std::make_pair(Src, Dst)] = Weight;
484 DEBUG(dbgs() << "set edge " << Src->getName() << " -> "
486 << (isEdgeHot(Src, Dst) ? " [is HOT now]\n" : "\n"));
491 getEdgeProbability(const BasicBlock *Src, const BasicBlock *Dst) const {
493 uint32_t N = getEdgeWeight(Src, Dst)
    [all...]
  /external/clang/include/clang/Analysis/Support/
BlkExprDeclBitVector.h 162 struct Union { void operator()(ValTy& Dst, ValTy& Src) { Dst |= Src; } };
163 struct Intersect { void operator()(ValTy& Dst, ValTy& Src) { Dst &= Src; } };
301 struct Union { void operator()(ValTy& Dst, ValTy& Src) { Dst |= Src; } };
302 struct Intersect { void operator()(ValTy& Dst, ValTy& Src) { Dst &= Src; } };
  /external/clang/lib/Analysis/
CFGReachabilityAnalysis.cpp 25 bool CFGReverseBlockReachabilityAnalysis::isReachable(const CFGBlock *Src,
37 return reachable[DstBlockID][Src->getBlockID()];
  /external/llvm/lib/Target/CellSPU/MCTargetDesc/
SPUMCTargetDesc.cpp 59 MachineLocation Src(SPU::R1, 0);
60 MAI->addInitialFrameState(0, Dst, Src);
  /external/llvm/lib/Target/Hexagon/MCTargetDesc/
HexagonMCTargetDesc.cpp 60 MachineLocation Src(Hexagon::R30, 0);
61 MAI->addInitialFrameState(0, Dst, Src);
  /external/llvm/lib/Target/XCore/MCTargetDesc/
XCoreMCTargetDesc.cpp 58 MachineLocation Src(XCore::SP, 0);
59 MAI->addInitialFrameState(0, Dst, Src);
  /external/llvm/lib/Transforms/InstCombine/
InstCombineCasts.cpp 283 Value *Src = CI.getOperand(0);
287 if (CastInst *CSrc = dyn_cast<CastInst>(Src)) { // A->B->C cast
297 if (SelectInst *SI = dyn_cast<SelectInst>(Src))
302 if (isa<PHINode>(Src)) {
305 if (!Src->getType()->isIntegerTy() ||
307 ShouldChangeType(CI.getType(), Src->getType()))
436 Value *Src = CI.getOperand(0);
437 Type *DestTy = CI.getType(), *SrcTy = Src->getType();
444 CanEvaluateTruncated(Src, DestTy)) {
450 Value *Res = EvaluateInDifferentType(Src, DestTy, false)
    [all...]

Completed in 594 milliseconds

1 2 3 4 5