/freebsd-10.1-release/contrib/llvm/lib/CodeGen/ |
H A D | MachineBranchProbabilityInfo.cpp | 64 getEdgeWeight(const MachineBasicBlock *Src, argument 66 uint32_t Weight = Src->getSuccWeight(Dst); 73 getEdgeWeight(const MachineBasicBlock *Src, argument 77 return getEdgeWeight(Src, std::find(Src->succ_begin(), Src->succ_end(), Dst)); 80 bool MachineBranchProbabilityInfo::isEdgeHot(MachineBasicBlock *Src, argument 84 return getEdgeProbability(Src, Dst) > BranchProbability(4, 5); 107 MachineBranchProbabilityInfo::getEdgeProbability(MachineBasicBlock *Src, argument 110 uint32_t D = getSumForBlock(Src, Scal 117 printEdgeProbability(raw_ostream &OS, MachineBasicBlock *Src, MachineBasicBlock *Dst) const argument [all...] |
H A D | MachineCopyPropagation.cpp | 113 static bool isNopCopy(MachineInstr *CopyMI, unsigned Def, unsigned Src, argument 123 return SubIdx == TRI->getSubRegIndex(SrcDef, Src); 143 SourceMap SrcMap; // Src -> Def map 152 unsigned Src = MI->getOperand(1).getReg(); local 155 TargetRegisterInfo::isVirtualRegister(Src)) 159 DenseMap<unsigned, MachineInstr*>::iterator CI = AvailCopyMap.find(Src); 163 (!MRI->isReserved(Src) || NoInterveningSideEffect(CopyMI, MI)) && 164 isNopCopy(CopyMI, Def, Src, TRI)) { 191 // If Src is defined by a previous copy, it cannot be eliminated. 192 for (MCRegAliasIterator AI(Src, TR [all...] |
/freebsd-10.1-release/contrib/llvm/include/llvm/CodeGen/ |
H A D | MachineBranchProbabilityInfo.h | 49 uint32_t getEdgeWeight(const MachineBasicBlock *Src, 52 // Same thing, but using a const_succ_iterator from Src. This is faster when 54 uint32_t getEdgeWeight(const MachineBasicBlock *Src, 63 bool isEdgeHot(MachineBasicBlock *Src, MachineBasicBlock *Dst) const; 73 // Src. Querying sequentially for each successor's probability is a quadratic 75 BranchProbability getEdgeProbability(MachineBasicBlock *Src, 81 raw_ostream &printEdgeProbability(raw_ostream &OS, MachineBasicBlock *Src,
|
/freebsd-10.1-release/contrib/llvm/include/llvm/Analysis/ |
H A D | BranchProbabilityInfo.h | 36 /// identify an edge, since we can have multiple edges from Src to Dst. 51 /// \brief Get an edge's probability, relative to other out-edges of the Src. 55 /// leaving the 'Src' block. The returned probability is never zero, and can 57 BranchProbability getEdgeProbability(const BasicBlock *Src, 60 /// \brief Get the probability of going from Src to Dst. 62 /// It returns the sum of all probabilities for edges from Src to Dst. 63 BranchProbability getEdgeProbability(const BasicBlock *Src, 66 /// \brief Test if an edge is hot relative to other out-edges of the Src. 70 bool isEdgeHot(const BasicBlock *Src, const BasicBlock *Dst) const; 83 raw_ostream &printEdgeProbability(raw_ostream &OS, const BasicBlock *Src, [all...] |
H A D | DependenceAnalysis.h | 74 Src(Source), 104 Instruction *getSrc() const { return Src; } 204 Instruction *Src, *Dst; member in class:llvm::Dependence 220 FullDependence(Instruction *Src, 284 /// depends - Tests for a dependence between the Src and Dst instructions. 288 /// if it appears that control flow can reach from Src to Dst 290 Dependence *depends(Instruction *Src, 346 const SCEV *Src; member in struct:llvm::DependenceAnalysis::Subscript 459 /// establishNestingLevels - Examines the loop nesting of the Src and Dst 476 /// ... - loops containing Src bu [all...] |
/freebsd-10.1-release/contrib/llvm/include/llvm/ |
H A D | Linker.h | 39 /// \brief Link \p Src into the composite. The source is destroyed if 44 bool linkInModule(Module *Src, unsigned Mode, std::string *ErrorMsg); 45 bool linkInModule(Module *Src, std::string *ErrorMsg) { argument 46 return linkInModule(Src, Linker::DestroySource, ErrorMsg); 49 static bool LinkModules(Module *Dest, Module *Src, unsigned Mode,
|
/freebsd-10.1-release/contrib/llvm/include/llvm-c/ |
H A D | Linker.h | 35 LLVMBool LLVMLinkModules(LLVMModuleRef Dest, LLVMModuleRef Src,
|
/freebsd-10.1-release/contrib/llvm/include/llvm/Target/ |
H A D | CostTable.h | 52 TypeTy Src; member in struct:llvm::TypeConversionCostTblEntry 61 CompareTy Src) { 63 if (ISD == Tbl[i].ISD && Src == Tbl[i].Src && Dst == Tbl[i].Dst) 74 int ISD, CompareTy Dst, CompareTy Src) { 75 return ConvertCostTableLookup(Tbl, N, ISD, Dst, Src); 59 ConvertCostTableLookup(const TypeConversionCostTblEntry<TypeTy> *Tbl, unsigned len, int ISD, CompareTy Dst, CompareTy Src) argument
|
/freebsd-10.1-release/contrib/llvm/lib/Target/Hexagon/ |
H A D | HexagonPeephole.cpp | 103 void ChangeOpInto(MachineOperand &Dst, MachineOperand &Src); 140 MachineOperand &Src = MI->getOperand(1); local 142 unsigned SrcReg = Src.getReg(); 191 MachineOperand &Src = MI->getOperand(1); local 193 unsigned SrcReg = Src.getReg(); 209 MachineOperand &Src = MI->getOperand(1); local 212 if (Src.getSubReg() != Hexagon::subreg_loreg) 216 unsigned SrcReg = Src.getReg(); 313 void HexagonPeephole::ChangeOpInto(MachineOperand &Dst, MachineOperand &Src) { argument 314 assert (&Dst != &Src [all...] |
H A D | HexagonSelectionDAGInfo.h | 31 SDValue Dst, SDValue Src,
|
H A D | HexagonSelectionDAGInfo.cpp | 31 SDValue Dst, SDValue Src, SDValue Size, unsigned Align, 30 EmitTargetCodeForMemcpy(SelectionDAG &DAG, SDLoc dl, SDValue Chain, SDValue Dst, SDValue Src, SDValue Size, unsigned Align, bool isVolatile, bool AlwaysInline, MachinePointerInfo DstPtrInfo, MachinePointerInfo SrcPtrInfo) const argument
|
/freebsd-10.1-release/gnu/usr.bin/grep/ |
H A D | xalloc.h | 80 # define CCLONE(Src, Num) \ 81 (memcpy (xmalloc (sizeof (*Src) * (Num)), (Src), sizeof (*Src) * (Num))) 84 # define CLONE(Src) CCLONE (Src, 1)
|
/freebsd-10.1-release/contrib/llvm/lib/Target/SystemZ/ |
H A D | SystemZSelectionDAGInfo.cpp | 29 // a block operation of Size bytes with source address Src and destination 35 SDValue Src, uint64_t Size) { 36 EVT PtrVT = Src.getValueType(); 49 return DAG.getNode(Loop, DL, MVT::Other, Chain, Dst, Src, 52 return DAG.getNode(Sequence, DL, MVT::Other, Chain, Dst, Src, 58 SDValue Dst, SDValue Src, SDValue Size, unsigned Align, 67 Chain, Dst, Src, CSize->getZExtValue()); 209 SDValue Src, SDValue Char, SDValue Length, 212 EVT PtrVT = Src.getValueType(); 218 SDValue Limit = DAG.getNode(ISD::ADD, DL, PtrVT, Src, Lengt 33 emitMemMem(SelectionDAG &DAG, SDLoc DL, unsigned Sequence, unsigned Loop, SDValue Chain, SDValue Dst, SDValue Src, uint64_t Size) argument 57 EmitTargetCodeForMemcpy(SelectionDAG &DAG, SDLoc DL, SDValue Chain, SDValue Dst, SDValue Src, SDValue Size, unsigned Align, bool IsVolatile, bool AlwaysInline, MachinePointerInfo DstPtrInfo, MachinePointerInfo SrcPtrInfo) const argument 208 EmitTargetCodeForMemchr(SelectionDAG &DAG, SDLoc DL, SDValue Chain, SDValue Src, SDValue Char, SDValue Length, MachinePointerInfo SrcPtrInfo) const argument 238 EmitTargetCodeForStrcpy(SelectionDAG &DAG, SDLoc DL, SDValue Chain, SDValue Dest, SDValue Src, MachinePointerInfo DestPtrInfo, MachinePointerInfo SrcPtrInfo, bool isStpcpy) const argument 266 getBoundedStrlen(SelectionDAG &DAG, SDLoc DL, SDValue Chain, SDValue Src, SDValue Limit) argument 279 EmitTargetCodeForStrlen(SelectionDAG &DAG, SDLoc DL, SDValue Chain, SDValue Src, MachinePointerInfo SrcPtrInfo) const argument 286 EmitTargetCodeForStrnlen(SelectionDAG &DAG, SDLoc DL, SDValue Chain, SDValue Src, SDValue MaxLength, MachinePointerInfo SrcPtrInfo) const argument [all...] |
H A D | SystemZSelectionDAGInfo.h | 30 SDValue Dst, SDValue Src, 51 SDValue Src, SDValue Char, SDValue Length, 56 SDValue Dest, SDValue Src, 69 SDValue Src, MachinePointerInfo SrcPtrInfo) const 74 SDValue Src, SDValue MaxLength,
|
/freebsd-10.1-release/contrib/llvm/lib/Target/X86/ |
H A D | X86SelectionDAGInfo.h | 39 SDValue Dst, SDValue Src, 47 SDValue Dst, SDValue Src,
|
/freebsd-10.1-release/contrib/llvm/tools/clang/include/clang/Analysis/Analyses/ |
H A D | CFGReachabilityAnalysis.h | 40 /// Returns true if the block 'Dst' can be reached from block 'Src'. 41 bool isReachable(const CFGBlock *Src, const CFGBlock *Dst);
|
/freebsd-10.1-release/contrib/llvm/lib/Support/ |
H A D | ConvertUTFWrapper.cpp | 95 const UTF16 *Src = reinterpret_cast<const UTF16 *>(SrcBytes.begin()); local 100 if (Src[0] == UNI_UTF16_BYTE_ORDER_MARK_SWAPPED) { 101 ByteSwapped.insert(ByteSwapped.end(), Src, SrcEnd); 104 Src = &ByteSwapped[0]; 109 if (Src[0] == UNI_UTF16_BYTE_ORDER_MARK_NATIVE) 110 Src++; 118 ConvertUTF16toUTF8(&Src, SrcEnd, &Dst, DstEnd, strictConversion);
|
/freebsd-10.1-release/contrib/llvm/lib/IR/ |
H A D | IRBuilder.cpp | 82 CreateMemCpy(Value *Dst, Value *Src, Value *Size, unsigned Align, argument 85 Src = getCastedInt8PtrValue(Src); 87 Value *Ops[] = { Dst, Src, Size, getInt32(Align), getInt1(isVolatile) }; 88 Type *Tys[] = { Dst->getType(), Src->getType(), Size->getType() }; 106 CreateMemMove(Value *Dst, Value *Src, Value *Size, unsigned Align, argument 109 Src = getCastedInt8PtrValue(Src); 111 Value *Ops[] = { Dst, Src, Size, getInt32(Align), getInt1(isVolatile) }; 112 Type *Tys[] = { Dst->getType(), Src [all...] |
H A D | Globals.cpp | 50 /// create a GlobalValue) from the GlobalValue Src to this one. 51 void GlobalValue::copyAttributesFrom(const GlobalValue *Src) { argument 52 setAlignment(Src->getAlignment()); 53 setSection(Src->getSection()); 54 setVisibility(Src->getVisibility()); 55 setUnnamedAddr(Src->hasUnnamedAddr()); 182 /// create a GlobalVariable) from the GlobalVariable Src to this one. 183 void GlobalVariable::copyAttributesFrom(const GlobalValue *Src) { argument 184 assert(isa<GlobalVariable>(Src) && "Expected a GlobalVariable!"); 185 GlobalValue::copyAttributesFrom(Src); [all...] |
/freebsd-10.1-release/contrib/llvm/lib/Target/ARM/ |
H A D | 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; 29 EmitTargetCodeForMemcpy(SelectionDAG &DAG, SDLoc dl, SDValue Chain, SDValue Dst, SDValue Src, SDValue Size, unsigned Align, bool isVolatile, bool AlwaysInline, MachinePointerInfo DstPtrInfo, MachinePointerInfo SrcPtrInfo) const argument 143 EmitTargetCodeForMemset(SelectionDAG &DAG, SDLoc dl, SDValue Chain, SDValue Dst, SDValue Src, SDValue Size, unsigned Align, bool isVolatile, MachinePointerInfo DstPtrInfo) const argument [all...] |
/freebsd-10.1-release/contrib/llvm/lib/Target/PowerPC/ |
H A D | PPCTargetTransformInfo.cpp | 96 Type *Src) const; 101 virtual unsigned getMemoryOpCost(unsigned Opcode, Type *Src, 195 unsigned PPCTTI::getCastInstrCost(unsigned Opcode, Type *Dst, Type *Src) const { 198 return TargetTransformInfo::getCastInstrCost(Opcode, Dst, Src); 231 unsigned PPCTTI::getMemoryOpCost(unsigned Opcode, Type *Src, unsigned Alignment, argument 234 std::pair<unsigned, MVT> LT = TLI->getTypeLegalizationCost(Src);
|
/freebsd-10.1-release/contrib/llvm/lib/Analysis/ |
H A D | DependenceAnalysis.cpp | 195 return Src->mayReadFromMemory() && Dst->mayReadFromMemory(); 201 return Src->mayWriteToMemory() && Dst->mayWriteToMemory(); 207 return Src->mayWriteToMemory() && Dst->mayReadFromMemory(); 213 return Src->mayReadFromMemory() && Dst->mayWriteToMemory(); 665 // Examines the loop nesting of the Src and Dst 682 // ... - loops containing Src but not Dst 683 // SrcLevels - innermost loop containing Src but not Dst 684 // ... - loops containing Dst but not Src 685 // MaxLevels - innermost loops containing Dst but not Src 704 // to A (the Src) an 715 establishNestingLevels(const Instruction *Src, const Instruction *Dst) argument 791 const SCEV *Src = Pair->Src; local 807 checkSrcSubscript(const SCEV *Src, const Loop *LoopNest, SmallBitVector &Loops) argument 844 classifyPair(const SCEV *Src, const Loop *SrcLoopNest, const SCEV *Dst, const Loop *DstLoopNest, SmallBitVector &Loops) argument 960 testZIV(const SCEV *Src, const SCEV *Dst, FullDependence &Result) const argument 2039 testSIV(const SCEV *Src, const SCEV *Dst, unsigned &Level, FullDependence &Result, Constraint &NewConstraint, const SCEV *&SplitIter) const argument 2110 testRDIV(const SCEV *Src, const SCEV *Dst, FullDependence &Result) const argument 2177 testMIV(const SCEV *Src, const SCEV *Dst, const SmallBitVector &Loops, FullDependence &Result) const argument 2219 gcdMIVtest(const SCEV *Src, const SCEV *Dst, FullDependence &Result) const argument 2433 banerjeeMIVtest(const SCEV *Src, const SCEV *Dst, const SmallBitVector &Loops, FullDependence &Result) const argument 2982 propagate(const SCEV *&Src, const SCEV *&Dst, SmallBitVector &Loops, SmallVectorImpl<Constraint> &Constraints, bool &Consistent) argument 3007 propagateDistance(const SCEV *&Src, const SCEV *&Dst, Constraint &CurConstraint, bool &Consistent) argument 3034 propagateLine(const SCEV *&Src, const SCEV *&Dst, Constraint &CurConstraint, bool &Consistent) argument 3109 propagatePoint(const SCEV *&Src, const SCEV *&Dst, Constraint &CurConstraint) argument 3256 depends(Instruction *Src, Instruction *Dst, bool PossiblyLoopIndependent) argument 3713 Instruction *Src = Dep->getSrc(); local [all...] |
H A D | BranchProbabilityInfo.cpp | 548 isEdgeHot(const BasicBlock *Src, const BasicBlock *Dst) const { argument 551 return getEdgeProbability(Src, Dst) > BranchProbability(4, 5); 584 getEdgeWeight(const BasicBlock *Src, unsigned IndexInSuccessors) const { argument 586 Weights.find(std::make_pair(Src, IndexInSuccessors)); 595 /// of all raw edge weights from Src to Dst. 597 getEdgeWeight(const BasicBlock *Src, const BasicBlock *Dst) const { argument 600 for (succ_const_iterator I = succ_begin(Src), E = succ_end(Src); I != E; ++I) 602 MapI = Weights.find(std::make_pair(Src, I.getSuccessorIndex())); 612 setEdgeWeight(const BasicBlock *Src, unsigne argument 622 getEdgeProbability(const BasicBlock *Src, unsigned IndexInSuccessors) const argument 632 getEdgeProbability(const BasicBlock *Src, const BasicBlock *Dst) const argument 641 printEdgeProbability(raw_ostream &OS, const BasicBlock *Src, const BasicBlock *Dst) const argument [all...] |
/freebsd-10.1-release/contrib/llvm/tools/clang/lib/Analysis/ |
H A D | CFGReachabilityAnalysis.cpp | 25 bool CFGReverseBlockReachabilityAnalysis::isReachable(const CFGBlock *Src, argument 37 return reachable[DstBlockID][Src->getBlockID()];
|
/freebsd-10.1-release/contrib/llvm/tools/clang/include/clang/StaticAnalyzer/Core/ |
H A D | CheckerManager.h | 215 const ExplodedNodeSet &Src, 218 runCheckersForStmt(/*isPreVisit=*/true, Dst, Src, S, Eng); 228 const ExplodedNodeSet &Src, 232 runCheckersForStmt(/*isPreVisit=*/false, Dst, Src, S, Eng, wasInlined); 237 ExplodedNodeSet &Dst, const ExplodedNodeSet &Src, 243 const ExplodedNodeSet &Src, 246 runCheckersForObjCMessage(/*isPreVisit=*/true, Dst, Src, msg, Eng); 251 const ExplodedNodeSet &Src, 255 runCheckersForObjCMessage(/*isPreVisit=*/false, Dst, Src, msg, Eng, 262 const ExplodedNodeSet &Src, 214 runCheckersForPreStmt(ExplodedNodeSet &Dst, const ExplodedNodeSet &Src, const Stmt *S, ExprEngine &Eng) argument 227 runCheckersForPostStmt(ExplodedNodeSet &Dst, const ExplodedNodeSet &Src, const Stmt *S, ExprEngine &Eng, bool wasInlined = false) argument 242 runCheckersForPreObjCMessage(ExplodedNodeSet &Dst, const ExplodedNodeSet &Src, const ObjCMethodCall &msg, ExprEngine &Eng) argument 250 runCheckersForPostObjCMessage(ExplodedNodeSet &Dst, const ExplodedNodeSet &Src, const ObjCMethodCall &msg, ExprEngine &Eng, bool wasInlined = false) argument 267 runCheckersForPreCall(ExplodedNodeSet &Dst, const ExplodedNodeSet &Src, const CallEvent &Call, ExprEngine &Eng) argument 273 runCheckersForPostCall(ExplodedNodeSet &Dst, const ExplodedNodeSet &Src, const CallEvent &Call, ExprEngine &Eng, bool wasInlined = false) argument [all...] |