Searched refs:Src (Results 1 - 25 of 192) sorted by relevance

12345678

/freebsd-11.0-release/contrib/llvm/lib/CodeGen/
H A DMachineBranchProbabilityInfo.cpp32 const MachineBasicBlock *Src,
34 return Src->getSuccProbability(Dst);
38 const MachineBasicBlock *Src, const MachineBasicBlock *Dst) const {
41 return getEdgeProbability(Src,
42 std::find(Src->succ_begin(), Src->succ_end(), Dst));
46 MachineBranchProbabilityInfo::isEdgeHot(const MachineBasicBlock *Src, argument
50 return getEdgeProbability(Src, Dst) > HotProb;
74 raw_ostream &OS, const MachineBasicBlock *Src,
77 const BranchProbability Prob = getEdgeProbability(Src, Ds
31 getEdgeProbability( const MachineBasicBlock *Src, MachineBasicBlock::const_succ_iterator Dst) const argument
37 getEdgeProbability( const MachineBasicBlock *Src, const MachineBasicBlock *Dst) const argument
73 printEdgeProbability( raw_ostream &OS, const MachineBasicBlock *Src, const MachineBasicBlock *Dst) const argument
[all...]
H A DMachineCopyPropagation.cpp113 static bool isNopCopy(MachineInstr *CopyMI, unsigned Def, unsigned Src, argument
123 return SubIdx == TRI->getSubRegIndex(SrcDef, Src);
133 SourceMap SrcMap; // Src -> Def map
144 unsigned Src = MI->getOperand(1).getReg(); local
147 TargetRegisterInfo::isVirtualRegister(Src))
151 DenseMap<unsigned, MachineInstr*>::iterator CI = AvailCopyMap.find(Src);
155 (!MRI->isReserved(Src) || NoInterveningSideEffect(CopyMI, MI)) &&
156 isNopCopy(CopyMI, Def, Src, TRI)) {
185 // If Src is defined by a previous copy, it cannot be eliminated.
186 for (MCRegAliasIterator AI(Src, TR
[all...]
/freebsd-11.0-release/contrib/llvm/include/llvm-c/
H A DLinker.h41 LLVMBool LLVMLinkModules(LLVMModuleRef Dest, LLVMModuleRef Src,
49 LLVMBool LLVMLinkModules2(LLVMModuleRef Dest, LLVMModuleRef Src);
/freebsd-11.0-release/contrib/llvm/lib/CodeGen/MIRParser/
H A DMIParser.h52 bool parseMachineBasicBlockDefinitions(MachineFunction &MF, StringRef Src,
67 bool parseMachineInstructions(MachineFunction &MF, StringRef Src,
72 MachineFunction &MF, StringRef Src,
77 MachineFunction &MF, StringRef Src,
83 MachineFunction &MF, StringRef Src,
89 StringRef Src,
94 StringRef Src, const PerFunctionMIParsingState &PFS,
/freebsd-11.0-release/contrib/llvm/include/llvm/Linker/
H A DLinker.h38 /// \brief Link \p Src into the composite.
40 /// Passing OverrideSymbols as true will have symbols from Src
49 bool linkInModule(std::unique_ptr<Module> Src, unsigned Flags = Flags::None,
56 bool linkInModuleForCAPI(Module &Src);
58 static bool linkModules(Module &Dest, std::unique_ptr<Module> Src,
61 /// \brief Link metadata from \p Src into the composite. The source is
65 /// importing from \p Src.
66 bool linkInMetadata(Module &Src,
/freebsd-11.0-release/contrib/llvm/include/llvm/Target/
H A DCostTable.h47 MVT::SimpleValueType Src; member in struct:llvm::TypeConversionCostTblEntry
55 int ISD, MVT Dst, MVT Src) {
58 return ISD == Entry.ISD && Src == Entry.Src &&
54 ConvertCostTableLookup(ArrayRef<TypeConversionCostTblEntry> Tbl, int ISD, MVT Dst, MVT Src) argument
H A DTargetSelectionDAGInfo.h109 SDValue Src, SDValue Char, SDValue Length,
122 SDValue Dest, SDValue Src,
144 SDValue Src, MachinePointerInfo SrcPtrInfo) const {
150 SDValue Src, SDValue MaxLength,
108 EmitTargetCodeForMemchr(SelectionDAG &DAG, SDLoc dl, SDValue Chain, SDValue Src, SDValue Char, SDValue Length, MachinePointerInfo SrcPtrInfo) const argument
121 EmitTargetCodeForStrcpy(SelectionDAG &DAG, SDLoc DL, SDValue Chain, SDValue Dest, SDValue Src, MachinePointerInfo DestPtrInfo, MachinePointerInfo SrcPtrInfo, bool isStpcpy) const argument
143 EmitTargetCodeForStrlen(SelectionDAG &DAG, SDLoc DL, SDValue Chain, SDValue Src, MachinePointerInfo SrcPtrInfo) const argument
149 EmitTargetCodeForStrnlen(SelectionDAG &DAG, SDLoc DL, SDValue Chain, SDValue Src, SDValue MaxLength, MachinePointerInfo SrcPtrInfo) const argument
/freebsd-11.0-release/contrib/llvm/include/llvm/CodeGen/
H A DMachineBranchProbabilityInfo.h49 BranchProbability getEdgeProbability(const MachineBasicBlock *Src,
52 // Same as above, but using a const_succ_iterator from Src. This is faster
55 getEdgeProbability(const MachineBasicBlock *Src,
59 bool isEdgeHot(const MachineBasicBlock *Src,
70 const MachineBasicBlock *Src,
/freebsd-11.0-release/gnu/usr.bin/grep/
H A Dxalloc.h80 # define CCLONE(Src, Num) \
81 (memcpy (xmalloc (sizeof (*Src) * (Num)), (Src), sizeof (*Src) * (Num)))
84 # define CLONE(Src) CCLONE (Src, 1)
/freebsd-11.0-release/contrib/llvm/lib/Target/Hexagon/
H A DHexagonPeephole.cpp105 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();
305 void HexagonPeephole::ChangeOpInto(MachineOperand &Dst, MachineOperand &Src) { argument
306 assert (&Dst != &Src
[all...]
H A DHexagonSelectionDAGInfo.h26 SDValue Dst, SDValue Src,
/freebsd-11.0-release/contrib/llvm/include/llvm/Analysis/
H A DBranchProbabilityInfo.h37 /// identify an edge, since we can have multiple edges from Src to Dst.
49 /// \brief Get an edge's probability, relative to other out-edges of the Src.
53 /// leaving the 'Src' block. The returned probability is never zero, and can
55 BranchProbability getEdgeProbability(const BasicBlock *Src,
58 /// \brief Get the probability of going from Src to Dst.
60 /// It returns the sum of all probabilities for edges from Src to Dst.
61 BranchProbability getEdgeProbability(const BasicBlock *Src,
64 BranchProbability getEdgeProbability(const BasicBlock *Src,
67 /// \brief Test if an edge is hot relative to other out-edges of the Src.
71 bool isEdgeHot(const BasicBlock *Src, cons
[all...]
H A DDependenceAnalysis.h84 Src(Source),
114 Instruction *getSrc() const { return Src; }
207 Instruction *Src, *Dst; member in class:llvm::Dependence
222 FullDependence(Instruction *Src, Instruction *Dst, bool LoopIndependent,
287 /// depends - Tests for a dependence between the Src and Dst instructions.
291 /// if it appears that control flow can reach from Src to Dst
293 std::unique_ptr<Dependence> depends(Instruction *Src,
349 const SCEV *Src; member in struct:llvm::DependenceAnalysis::Subscript
462 /// establishNestingLevels - Examines the loop nesting of the Src and Dst
479 /// ... - loops containing Src bu
[all...]
/freebsd-11.0-release/contrib/llvm/lib/Target/AArch64/
H A DAArch64SelectionDAGInfo.h25 SDValue Dst, SDValue Src, SDValue Size,
/freebsd-11.0-release/contrib/llvm/lib/Target/ARM/
H A DARMSelectionDAGInfo.cpp27 SDValue Dst, SDValue Src,
57 if (ConstantSDNode *ConstantSrc = dyn_cast<ConstantSDNode>(Src))
94 if (Src.getValueType().bitsGT(MVT::i32))
95 Src = DAG.getNode(ISD::TRUNCATE, dl, MVT::i32, Src);
96 else if (Src.getValueType().bitsLT(MVT::i32))
97 Src = DAG.getNode(ISD::ZERO_EXTEND, dl, MVT::i32, Src);
99 Entry.Node = Src;
104 Entry.Node = Src;
25 EmitSpecializedLibcall(SelectionDAG &DAG, SDLoc dl, SDValue Chain, SDValue Dst, SDValue Src, SDValue Size, unsigned Align, RTLIB::Libcall LC) const argument
132 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
251 EmitTargetCodeForMemmove(SelectionDAG &DAG, SDLoc dl, SDValue Chain, SDValue Dst, SDValue Src, SDValue Size, unsigned Align, bool isVolatile, MachinePointerInfo DstPtrInfo, MachinePointerInfo SrcPtrInfo) const argument
264 EmitTargetCodeForMemset(SelectionDAG &DAG, SDLoc dl, SDValue Chain, SDValue Dst, SDValue Src, SDValue Size, unsigned Align, bool isVolatile, MachinePointerInfo DstPtrInfo) const argument
[all...]
H A DARMSelectionDAGInfo.h43 SDValue Dst, SDValue Src,
51 SDValue Dst, SDValue Src,
66 SDValue Dst, SDValue Src,
/freebsd-11.0-release/contrib/llvm/lib/Support/
H A DConvertUTFWrapper.cpp95 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++;
119 ConvertUTF16toUTF8(&Src, SrcEnd, &Dst, DstEnd, strictConversion);
144 const UTF8 *Src = reinterpret_cast<const UTF8 *>(SrcUTF8.begin()); local
157 ConvertUTF8toUTF16(&Src, SrcEnd, &Dst, DstEnd, strictConversion);
/freebsd-11.0-release/contrib/llvm/lib/Target/SystemZ/
H A DSystemZSelectionDAGInfo.cpp22 // a block operation of Size bytes with source address Src and destination
28 SDValue Src, uint64_t Size) {
29 EVT PtrVT = Src.getValueType();
42 return DAG.getNode(Loop, DL, MVT::Other, Chain, Dst, Src,
45 return DAG.getNode(Sequence, DL, MVT::Other, Chain, Dst, Src,
51 SDValue Dst, SDValue Src, SDValue Size, unsigned Align,
60 Chain, Dst, Src, CSize->getZExtValue());
203 SDValue Src, SDValue Char, SDValue Length,
206 EVT PtrVT = Src.getValueType();
212 SDValue Limit = DAG.getNode(ISD::ADD, DL, PtrVT, Src, Lengt
26 emitMemMem(SelectionDAG &DAG, SDLoc DL, unsigned Sequence, unsigned Loop, SDValue Chain, SDValue Dst, SDValue Src, uint64_t Size) argument
50 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
202 EmitTargetCodeForMemchr(SelectionDAG &DAG, SDLoc DL, SDValue Chain, SDValue Src, SDValue Char, SDValue Length, MachinePointerInfo SrcPtrInfo) const argument
230 EmitTargetCodeForStrcpy(SelectionDAG &DAG, SDLoc DL, SDValue Chain, SDValue Dest, SDValue Src, MachinePointerInfo DestPtrInfo, MachinePointerInfo SrcPtrInfo, bool isStpcpy) const argument
258 getBoundedStrlen(SelectionDAG &DAG, SDLoc DL, SDValue Chain, SDValue Src, SDValue Limit) argument
271 EmitTargetCodeForStrlen(SelectionDAG &DAG, SDLoc DL, SDValue Chain, SDValue Src, MachinePointerInfo SrcPtrInfo) const argument
278 EmitTargetCodeForStrnlen(SelectionDAG &DAG, SDLoc DL, SDValue Chain, SDValue Src, SDValue MaxLength, MachinePointerInfo SrcPtrInfo) const argument
[all...]
H A DSystemZSelectionDAGInfo.h28 SDValue Dst, SDValue Src,
47 SDValue Src, SDValue Char, SDValue Length,
52 SDValue Dest, SDValue Src,
65 SDValue Src,
70 SDValue Src, SDValue MaxLength,
/freebsd-11.0-release/contrib/llvm/lib/Target/X86/
H A DX86SelectionDAGInfo.h36 SDValue Dst, SDValue Src,
43 SDValue Dst, SDValue Src,
/freebsd-11.0-release/contrib/llvm/tools/clang/include/clang/Analysis/Analyses/
H A DCFGReachabilityAnalysis.h40 /// Returns true if the block 'Dst' can be reached from block 'Src'.
41 bool isReachable(const CFGBlock *Src, const CFGBlock *Dst);
/freebsd-11.0-release/contrib/llvm/lib/IR/
H A DGlobals.cpp51 /// create a GlobalValue) from the GlobalValue Src to this one.
52 void GlobalValue::copyAttributesFrom(const GlobalValue *Src) { argument
53 setVisibility(Src->getVisibility());
54 setUnnamedAddr(Src->hasUnnamedAddr());
55 setDLLStorageClass(Src->getDLLStorageClass());
94 void GlobalObject::copyAttributesFrom(const GlobalValue *Src) { argument
95 GlobalValue::copyAttributesFrom(Src);
96 if (const auto *GV = dyn_cast<GlobalObject>(Src)) {
257 /// from the GlobalVariable Src to this one.
258 void GlobalVariable::copyAttributesFrom(const GlobalValue *Src) { argument
[all...]
/freebsd-11.0-release/contrib/llvm/lib/Analysis/
H A DDependenceAnalysis.cpp196 return Src->mayReadFromMemory() && Dst->mayReadFromMemory();
202 return Src->mayWriteToMemory() && Dst->mayWriteToMemory();
208 return Src->mayWriteToMemory() && Dst->mayReadFromMemory();
214 return Src->mayReadFromMemory() && Dst->mayWriteToMemory();
662 // Examines the loop nesting of the Src and Dst
679 // ... - loops containing Src but not Dst
680 // SrcLevels - innermost loop containing Src but not Dst
681 // ... - loops containing Dst but not Src
682 // MaxLevels - innermost loops containing Dst but not Src
701 // to A (the Src) an
712 establishNestingLevels(const Instruction *Src, const Instruction *Dst) argument
790 const SCEV *Src = Pairs[i]->Src; local
815 const SCEV *Src = Pairs[i]->Src; local
840 const SCEV *Src = Pair->Src; local
858 checkSrcSubscript(const SCEV *Src, const Loop *LoopNest, SmallBitVector &Loops) argument
911 classifyPair(const SCEV *Src, const Loop *SrcLoopNest, const SCEV *Dst, const Loop *DstLoopNest, SmallBitVector &Loops) argument
1029 testZIV(const SCEV *Src, const SCEV *Dst, FullDependence &Result) const argument
2106 testSIV(const SCEV *Src, const SCEV *Dst, unsigned &Level, FullDependence &Result, Constraint &NewConstraint, const SCEV *&SplitIter) const argument
2177 testRDIV(const SCEV *Src, const SCEV *Dst, FullDependence &Result) const argument
2244 testMIV(const SCEV *Src, const SCEV *Dst, const SmallBitVector &Loops, FullDependence &Result) const argument
2286 gcdMIVtest(const SCEV *Src, const SCEV *Dst, FullDependence &Result) const argument
2500 banerjeeMIVtest(const SCEV *Src, const SCEV *Dst, const SmallBitVector &Loops, FullDependence &Result) const argument
3043 propagate(const SCEV *&Src, const SCEV *&Dst, SmallBitVector &Loops, SmallVectorImpl<Constraint> &Constraints, bool &Consistent) argument
3068 propagateDistance(const SCEV *&Src, const SCEV *&Dst, Constraint &CurConstraint, bool &Consistent) argument
3095 propagateLine(const SCEV *&Src, const SCEV *&Dst, Constraint &CurConstraint, bool &Consistent) argument
3170 propagatePoint(const SCEV *&Src, const SCEV *&Dst, Constraint &CurConstraint) argument
3244 tryDelinearize(Instruction *Src, Instruction *Dst, SmallVectorImpl<Subscript> &Pair) argument
3358 depends(Instruction *Src, Instruction *Dst, bool PossiblyLoopIndependent) argument
3818 Instruction *Src = Dep.getSrc(); local
[all...]
/freebsd-11.0-release/contrib/llvm/lib/Target/AMDGPU/
H A DSILowerI1Copies.cpp101 const MachineOperand &Src = MI.getOperand(1); local
103 if (!TargetRegisterInfo::isVirtualRegister(Src.getReg()) ||
108 const TargetRegisterClass *SrcRC = MRI.getRegClass(Src.getReg());
115 MachineInstr *DefInst = MRI.getUniqueVRegDef(Src.getReg());
135 .addOperand(Src);
141 .addOperand(Src)
/freebsd-11.0-release/contrib/llvm/tools/clang/lib/Frontend/
H A DModuleDependencyCollector.cpp29 std::error_code copyToRoot(StringRef Src);
60 std::error_code ModuleDependencyListener::copyToRoot(StringRef Src) { argument
64 SmallString<256> AbsoluteSrc = Src;

Completed in 139 milliseconds

12345678