Home
last modified time | relevance | path

Searched refs:Src (Results 1 – 25 of 157) sorted by relevance

1234567

/external/llvm/lib/Target/Hexagon/
DHexagonPeephole.cpp97 void ChangeOpInto(MachineOperand &Dst, MachineOperand &Src);
132 MachineOperand &Src = MI->getOperand(1); in runOnMachineFunction() local
134 unsigned SrcReg = Src.getReg(); in runOnMachineFunction()
168 MachineOperand &Src = MI->getOperand(1); in runOnMachineFunction() local
170 unsigned SrcReg = Src.getReg(); in runOnMachineFunction()
186 MachineOperand &Src = MI->getOperand(1); in runOnMachineFunction() local
189 if (Src.getSubReg() != Hexagon::subreg_loreg) in runOnMachineFunction()
193 unsigned SrcReg = Src.getReg(); in runOnMachineFunction()
290 void HexagonPeephole::ChangeOpInto(MachineOperand &Dst, MachineOperand &Src) { in ChangeOpInto() argument
291 assert (&Dst != &Src && "Cannot duplicate into itself"); in ChangeOpInto()
[all …]
/external/llvm/lib/CodeGen/
DMachineBranchProbabilityInfo.cpp64 getEdgeWeight(const MachineBasicBlock *Src, in getEdgeWeight() argument
66 uint32_t Weight = Src->getSuccWeight(Dst); in getEdgeWeight()
73 getEdgeWeight(const MachineBasicBlock *Src, in getEdgeWeight() argument
77 return getEdgeWeight(Src, std::find(Src->succ_begin(), Src->succ_end(), Dst)); in getEdgeWeight()
80 bool MachineBranchProbabilityInfo::isEdgeHot(MachineBasicBlock *Src, in isEdgeHot() argument
84 return getEdgeProbability(Src, Dst) > BranchProbability(4, 5); in isEdgeHot()
107 MachineBranchProbabilityInfo::getEdgeProbability(MachineBasicBlock *Src, in getEdgeProbability() argument
110 uint32_t D = getSumForBlock(Src, Scale); in getEdgeProbability()
111 uint32_t N = getEdgeWeight(Src, Dst) / Scale; in getEdgeProbability()
117 printEdgeProbability(raw_ostream &OS, MachineBasicBlock *Src, in printEdgeProbability() argument
[all …]
DMachineCopyPropagation.cpp113 static bool isNopCopy(MachineInstr *CopyMI, unsigned Def, unsigned Src, in isNopCopy() argument
123 return SubIdx == TRI->getSubRegIndex(SrcDef, Src); in isNopCopy()
152 unsigned Src = MI->getOperand(1).getReg(); in CopyPropagateBlock() local
155 TargetRegisterInfo::isVirtualRegister(Src)) in CopyPropagateBlock()
159 DenseMap<unsigned, MachineInstr*>::iterator CI = AvailCopyMap.find(Src); in CopyPropagateBlock()
163 (!MRI->isReserved(Src) || NoInterveningSideEffect(CopyMI, MI)) && in CopyPropagateBlock()
164 isNopCopy(CopyMI, Def, Src, TRI)) { in CopyPropagateBlock()
192 for (MCRegAliasIterator AI(Src, TRI, true); AI.isValid(); ++AI) { in CopyPropagateBlock()
225 if (std::find(SrcMap[Src].begin(), SrcMap[Src].end(), Def) == in CopyPropagateBlock()
226 SrcMap[Src].end()) { in CopyPropagateBlock()
[all …]
DMachineRegisterInfo.cpp186 MachineOperand *Src, in moveOperands() argument
188 assert(Src != Dst && NumOps && "Noop moveOperands"); in moveOperands()
192 if (Dst >= Src && Dst < Src + NumOps) { in moveOperands()
195 Src += NumOps - 1; in moveOperands()
200 new (Dst) MachineOperand(*Src); in moveOperands()
203 if (Src->isReg()) { in moveOperands()
204 MachineOperand *&Head = getRegUseDefListHead(Src->getReg()); in moveOperands()
205 MachineOperand *Prev = Src->Contents.Reg.Prev; in moveOperands()
206 MachineOperand *Next = Src->Contents.Reg.Next; in moveOperands()
212 if (Src == Head) in moveOperands()
[all …]
DBasicTargetTransformInfo.cpp92 Type *Src) const;
98 virtual unsigned getMemoryOpCost(unsigned Opcode, Type *Src,
238 Type *Src) const { in getCastInstrCost()
242 std::pair<unsigned, MVT> SrcLT = TLI->getTypeLegalizationCost(Src); in getCastInstrCost()
267 if (!Src->isVectorTy() && !Dst->isVectorTy()) { in getCastInstrCost()
282 if (Dst->isVectorTy() && Src->isVectorTy()) { in getCastInstrCost()
307 Src->getScalarType()); in getCastInstrCost()
319 return (Src->isVectorTy()? getScalarizationOverhead(Src, false, true):0) + in getCastInstrCost()
372 unsigned BasicTTI::getMemoryOpCost(unsigned Opcode, Type *Src, in getMemoryOpCost() argument
375 assert(!Src->isVoidTy() && "Invalid type"); in getMemoryOpCost()
[all …]
/external/libvpx/libvpx/vp8/common/
Dcommon.h23 #define vp8_copy( Dest, Src) { \ argument
24 assert( sizeof( Dest) == sizeof( Src)); \
25 vpx_memcpy( Dest, Src, sizeof( Src)); \
30 #define vp8_copy_array( Dest, Src, N) { \ argument
31 assert( sizeof( *Dest) == sizeof( *Src)); \
32 vpx_memcpy( Dest, Src, N * sizeof( *Src)); \
/external/llvm/include/llvm/Analysis/
DDependenceAnalysis.h68 Src(Source), Dst(Destination) {} in Dependence()
95 Instruction *getSrc() const { return Src; } in getSrc()
171 Instruction *Src, *Dst;
186 FullDependence(Instruction *Src,
256 Dependence *depends(Instruction *Src,
312 const SCEV *Src; member
475 void establishNestingLevels(const Instruction *Src,
506 bool checkSrcSubscript(const SCEV *Src,
539 Subscript::ClassificationKind classifyPair(const SCEV *Src,
550 bool testZIV(const SCEV *Src,
[all …]
DBranchProbabilityInfo.h57 BranchProbability getEdgeProbability(const BasicBlock *Src,
63 BranchProbability getEdgeProbability(const BasicBlock *Src,
70 bool isEdgeHot(const BasicBlock *Src, const BasicBlock *Dst) const;
83 raw_ostream &printEdgeProbability(raw_ostream &OS, const BasicBlock *Src,
92 uint32_t getEdgeWeight(const BasicBlock *Src,
99 uint32_t getEdgeWeight(const BasicBlock *Src, const BasicBlock *Dst) const;
107 void setEdgeWeight(const BasicBlock *Src, unsigned IndexInSuccessors,
/external/llvm/lib/Analysis/
DBranchProbabilityInfo.cpp455 isEdgeHot(const BasicBlock *Src, const BasicBlock *Dst) const { in isEdgeHot() argument
458 return getEdgeProbability(Src, Dst) > BranchProbability(4, 5); in isEdgeHot()
491 getEdgeWeight(const BasicBlock *Src, unsigned IndexInSuccessors) const { in getEdgeWeight() argument
493 Weights.find(std::make_pair(Src, IndexInSuccessors)); in getEdgeWeight()
504 getEdgeWeight(const BasicBlock *Src, const BasicBlock *Dst) const { in getEdgeWeight() argument
507 for (succ_const_iterator I = succ_begin(Src), E = succ_end(Src); I != E; ++I) in getEdgeWeight()
509 MapI = Weights.find(std::make_pair(Src, I.getSuccessorIndex())); in getEdgeWeight()
519 setEdgeWeight(const BasicBlock *Src, unsigned IndexInSuccessors, in setEdgeWeight() argument
521 Weights[std::make_pair(Src, IndexInSuccessors)] = Weight; in setEdgeWeight()
522 DEBUG(dbgs() << "set edge " << Src->getName() << " -> " in setEdgeWeight()
[all …]
DDependenceAnalysis.cpp190 return Src->mayReadFromMemory() && Dst->mayReadFromMemory(); in isInput()
196 return Src->mayWriteToMemory() && Dst->mayWriteToMemory(); in isOutput()
202 return Src->mayWriteToMemory() && Dst->mayReadFromMemory(); in isFlow()
208 return Src->mayReadFromMemory() && Dst->mayWriteToMemory(); in isAnti()
710 void DependenceAnalysis::establishNestingLevels(const Instruction *Src, in establishNestingLevels() argument
712 const BasicBlock *SrcBlock = Src->getParent(); in establishNestingLevels()
786 const SCEV *Src = Pair->Src; in removeMatchingExtensions() local
788 if ((isa<SCEVZeroExtendExpr>(Src) && isa<SCEVZeroExtendExpr>(Dst)) || in removeMatchingExtensions()
789 (isa<SCEVSignExtendExpr>(Src) && isa<SCEVSignExtendExpr>(Dst))) { in removeMatchingExtensions()
790 const SCEVCastExpr *SrcCast = cast<SCEVCastExpr>(Src); in removeMatchingExtensions()
[all …]
/external/llvm/lib/IR/
DIRBuilder.cpp82 CreateMemCpy(Value *Dst, Value *Src, Value *Size, unsigned Align, in CreateMemCpy() argument
85 Src = getCastedInt8PtrValue(Src); in CreateMemCpy()
87 Value *Ops[] = { Dst, Src, Size, getInt32(Align), getInt1(isVolatile) }; in CreateMemCpy()
88 Type *Tys[] = { Dst->getType(), Src->getType(), Size->getType() }; in CreateMemCpy()
106 CreateMemMove(Value *Dst, Value *Src, Value *Size, unsigned Align, in CreateMemMove() argument
109 Src = getCastedInt8PtrValue(Src); in CreateMemMove()
111 Value *Ops[] = { Dst, Src, Size, getInt32(Align), getInt1(isVolatile) }; in CreateMemMove()
112 Type *Tys[] = { Dst->getType(), Src->getType(), Size->getType() }; in CreateMemMove()
DGlobals.cpp51 void GlobalValue::copyAttributesFrom(const GlobalValue *Src) { in copyAttributesFrom() argument
52 setAlignment(Src->getAlignment()); in copyAttributesFrom()
53 setSection(Src->getSection()); in copyAttributesFrom()
54 setVisibility(Src->getVisibility()); in copyAttributesFrom()
55 setUnnamedAddr(Src->hasUnnamedAddr()); in copyAttributesFrom()
183 void GlobalVariable::copyAttributesFrom(const GlobalValue *Src) { in copyAttributesFrom() argument
184 assert(isa<GlobalVariable>(Src) && "Expected a GlobalVariable!"); in copyAttributesFrom()
185 GlobalValue::copyAttributesFrom(Src); in copyAttributesFrom()
186 const GlobalVariable *SrcVar = cast<GlobalVariable>(Src); in copyAttributesFrom()
/external/llvm/include/llvm/CodeGen/
DMachineBranchProbabilityInfo.h50 uint32_t getEdgeWeight(const MachineBasicBlock *Src,
55 uint32_t getEdgeWeight(const MachineBasicBlock *Src,
64 bool isEdgeHot(MachineBasicBlock *Src, MachineBasicBlock *Dst) const;
76 BranchProbability getEdgeProbability(MachineBasicBlock *Src,
82 raw_ostream &printEdgeProbability(raw_ostream &OS, MachineBasicBlock *Src,
/external/eigen/test/
Dvectorization_logic.cpp31 template<typename Dst, typename Src>
32 bool test_assign(const Dst&, const Src&, int traversal, int unrolling) in test_assign() argument
34 internal::assign_traits<Dst,Src>::debug(); in test_assign()
35 bool res = internal::assign_traits<Dst,Src>::Traversal==traversal in test_assign()
36 && internal::assign_traits<Dst,Src>::Unrolling==unrolling; in test_assign()
40 << " got " << demangle_traversal(internal::assign_traits<Dst,Src>::Traversal) << "\n"; in test_assign()
42 << " got " << demangle_unrolling(internal::assign_traits<Dst,Src>::Unrolling) << "\n"; in test_assign()
47 template<typename Dst, typename Src>
50 internal::assign_traits<Dst,Src>::debug(); in test_assign()
51 bool res = internal::assign_traits<Dst,Src>::Traversal==traversal in test_assign()
[all …]
/external/llvm/lib/CodeGen/AsmPrinter/
DAsmPrinterDwarf.cpp177 const MachineLocation &Src = Move.getSource(); in EmitCFIFrameMove() local
181 if (Src.getReg() == MachineLocation::VirtualFP) { in EmitCFIFrameMove()
182 OutStreamer.EmitCFIDefCfaOffset(-Src.getOffset()); in EmitCFIFrameMove()
185 OutStreamer.EmitCFIDefCfa(RI->getDwarfRegNum(Src.getReg(), true), in EmitCFIFrameMove()
186 Src.getOffset()); in EmitCFIFrameMove()
188 } else if (Src.isReg() && Src.getReg() == MachineLocation::VirtualFP) { in EmitCFIFrameMove()
193 OutStreamer.EmitCFIOffset(RI->getDwarfRegNum(Src.getReg(), true), in EmitCFIFrameMove()
/external/libpcap/
DFILES116 Win32/Src/ffs.c
117 Win32/Src/getaddrinfo.c
118 Win32/Src/getnetbynm.c
119 Win32/Src/getnetent.c
120 Win32/Src/getopt.c
121 Win32/Src/getservent.c
122 Win32/Src/inet_aton.c
123 Win32/Src/inet_net.c
124 Win32/Src/inet_pton.c
/external/llvm/lib/Target/ARM/
DARMSelectionDAGInfo.cpp31 SDValue Dst, SDValue Src, in EmitTargetCodeForMemcpy() argument
67 DAG.getNode(ISD::ADD, dl, MVT::i32, Src, in EmitTargetCodeForMemcpy()
106 DAG.getNode(ISD::ADD, dl, MVT::i32, Src, in EmitTargetCodeForMemcpy()
145 SDValue Src, SDValue Size, in EmitTargetCodeForMemset() argument
170 if (Src.getValueType().bitsGT(MVT::i32)) in EmitTargetCodeForMemset()
171 Src = DAG.getNode(ISD::TRUNCATE, dl, MVT::i32, Src); in EmitTargetCodeForMemset()
173 Src = DAG.getNode(ISD::ZERO_EXTEND, dl, MVT::i32, Src); in EmitTargetCodeForMemset()
176 Entry.Node = Src; in EmitTargetCodeForMemset()
/external/llvm/lib/Linker/
DLinkModules.cpp397 bool getLinkageResult(GlobalValue *Dest, const GlobalValue *Src,
433 void linkFunctionBody(Function *Dst, Function *Src);
489 bool ModuleLinker::getLinkageResult(GlobalValue *Dest, const GlobalValue *Src, in getLinkageResult() argument
494 assert(!Src->hasLocalLinkage() && in getLinkageResult()
497 bool SrcIsDeclaration = Src->isDeclaration() && !Src->isMaterializable(); in getLinkageResult()
503 if (Src->hasDLLImportLinkage()) { in getLinkageResult()
507 LT = Src->getLinkage(); in getLinkageResult()
512 LT = Src->getLinkage(); in getLinkageResult()
520 LT = Src->getLinkage(); in getLinkageResult()
521 } else if (Src->isWeakForLinker()) { in getLinkageResult()
[all …]
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCasts.cpp292 Value *Src = CI.getOperand(0); in commonCastTransforms() local
296 if (CastInst *CSrc = dyn_cast<CastInst>(Src)) { // A->B->C cast in commonCastTransforms()
306 if (SelectInst *SI = dyn_cast<SelectInst>(Src)) in commonCastTransforms()
311 if (isa<PHINode>(Src)) { in commonCastTransforms()
314 if (!Src->getType()->isIntegerTy() || in commonCastTransforms()
316 ShouldChangeType(CI.getType(), Src->getType())) in commonCastTransforms()
445 Value *Src = CI.getOperand(0); in visitTrunc() local
446 Type *DestTy = CI.getType(), *SrcTy = Src->getType(); in visitTrunc()
453 CanEvaluateTruncated(Src, DestTy)) { in visitTrunc()
459 Value *Res = EvaluateInDifferentType(Src, DestTy, false); in visitTrunc()
[all …]
/external/clang/include/clang/StaticAnalyzer/Core/
DCheckerManager.h196 const ExplodedNodeSet &Src, in runCheckersForPreStmt() argument
199 runCheckersForStmt(/*isPreVisit=*/true, Dst, Src, S, Eng); in runCheckersForPreStmt()
209 const ExplodedNodeSet &Src,
213 runCheckersForStmt(/*isPreVisit=*/false, Dst, Src, S, Eng, wasInlined);
218 ExplodedNodeSet &Dst, const ExplodedNodeSet &Src,
224 const ExplodedNodeSet &Src, in runCheckersForPreObjCMessage() argument
227 runCheckersForObjCMessage(/*isPreVisit=*/true, Dst, Src, msg, Eng); in runCheckersForPreObjCMessage()
232 const ExplodedNodeSet &Src,
236 runCheckersForObjCMessage(/*isPreVisit=*/false, Dst, Src, msg, Eng,
243 const ExplodedNodeSet &Src,
[all …]
/external/llvm/include/llvm/Target/
DCostTable.h45 TypeTy Src; member
52 unsigned len, int ISD, TypeTy Dst, TypeTy Src) { in ConvertCostTableLookup() argument
54 if (Tbl[i].ISD == ISD && Tbl[i].Src == Src && Tbl[i].Dst == Dst) in ConvertCostTableLookup()
/external/clang/lib/StaticAnalyzer/Core/
DCheckerManager.cpp96 const ExplodedNodeSet &Src) { in expandGraphWithCheckers() argument
98 if (Src.empty()) in expandGraphWithCheckers()
104 Dst.insert(Src); in expandGraphWithCheckers()
109 const ExplodedNodeSet *PrevSet = &Src; in expandGraphWithCheckers()
168 const ExplodedNodeSet &Src, in runCheckersForStmt() argument
174 expandGraphWithCheckers(C, Dst, Src); in runCheckersForStmt()
207 const ExplodedNodeSet &Src, in runCheckersForObjCMessage() argument
215 expandGraphWithCheckers(C, Dst, Src); in runCheckersForObjCMessage()
250 const ExplodedNodeSet &Src, in runCheckersForCallEvent() argument
258 expandGraphWithCheckers(C, Dst, Src); in runCheckersForCallEvent()
[all …]
/external/llvm/lib/Target/PowerPC/
DPPCTargetTransformInfo.cpp93 Type *Src) const;
98 virtual unsigned getMemoryOpCost(unsigned Opcode, Type *Src,
182 unsigned PPCTTI::getCastInstrCost(unsigned Opcode, Type *Dst, Type *Src) const { in getCastInstrCost()
185 return TargetTransformInfo::getCastInstrCost(Opcode, Dst, Src); in getCastInstrCost()
218 unsigned PPCTTI::getMemoryOpCost(unsigned Opcode, Type *Src, unsigned Alignment, in getMemoryOpCost() argument
221 std::pair<unsigned, MVT> LT = TLI->getTypeLegalizationCost(Src); in getMemoryOpCost()
/external/llvm/lib/ExecutionEngine/Interpreter/
DExecution.cpp946 GenericValue Dest, Src = getOperandValue(SrcVal, SF); in executeTruncInst() local
949 Dest.IntVal = Src.IntVal.trunc(DBitWidth); in executeTruncInst()
955 GenericValue Dest, Src = getOperandValue(SrcVal, SF); in executeSExtInst() local
958 Dest.IntVal = Src.IntVal.sext(DBitWidth); in executeSExtInst()
964 GenericValue Dest, Src = getOperandValue(SrcVal, SF); in executeZExtInst() local
967 Dest.IntVal = Src.IntVal.zext(DBitWidth); in executeZExtInst()
973 GenericValue Dest, Src = getOperandValue(SrcVal, SF); in executeFPTruncInst() local
976 Dest.FloatVal = (float) Src.DoubleVal; in executeFPTruncInst()
982 GenericValue Dest, Src = getOperandValue(SrcVal, SF); in executeFPExtInst() local
985 Dest.DoubleVal = (double) Src.FloatVal; in executeFPExtInst()
[all …]
/external/clang/include/clang/Analysis/Support/
DBlkExprDeclBitVector.h162 struct Union { void operator()(ValTy& Dst, ValTy& Src) { Dst |= Src; } }; in operator()
163 struct Intersect { void operator()(ValTy& Dst, ValTy& Src) { Dst &= Src; } }; in operator()
301 struct Union { void operator()(ValTy& Dst, ValTy& Src) { Dst |= Src; } }; in operator()
302 struct Intersect { void operator()(ValTy& Dst, ValTy& Src) { Dst &= Src; } }; in operator()

1234567