Home
last modified time | relevance | path

Searched refs:Dst (Results 1 – 25 of 245) sorted by relevance

12345678910

/openbsd/src/gnu/llvm/llvm/include/llvm/CodeGen/GlobalISel/
DMachineIRBuilder.h228 void validateTruncExt(const LLT Dst, const LLT Src, bool IsExtend);
669 MachineInstrBuilder buildPtrToInt(const DstOp &Dst, const SrcOp &Src) { in buildPtrToInt() argument
670 return buildInstr(TargetOpcode::G_PTRTOINT, {Dst}, {Src}); in buildPtrToInt()
674 MachineInstrBuilder buildIntToPtr(const DstOp &Dst, const SrcOp &Src) { in buildIntToPtr() argument
675 return buildInstr(TargetOpcode::G_INTTOPTR, {Dst}, {Src}); in buildIntToPtr()
679 MachineInstrBuilder buildBitcast(const DstOp &Dst, const SrcOp &Src) { in buildBitcast() argument
680 return buildInstr(TargetOpcode::G_BITCAST, {Dst}, {Src}); in buildBitcast()
684 MachineInstrBuilder buildAddrSpaceCast(const DstOp &Dst, const SrcOp &Src) { in buildAddrSpaceCast() argument
685 return buildInstr(TargetOpcode::G_ADDRSPACE_CAST, {Dst}, {Src}); in buildAddrSpaceCast()
767 MachineInstrBuilder buildCast(const DstOp &Dst, const SrcOp &Src);
[all …]
/openbsd/src/gnu/llvm/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
DExprEngine.h199 ExplodedNodeSet &Dst) { in ExecuteWorkListWithInitialState() argument
200 return Engine.ExecuteWorkListWithInitialState(L, Steps, InitState, Dst); in ExecuteWorkListWithInitialState()
313 ExplodedNode *Pred, ExplodedNodeSet &Dst);
315 ExplodedNode *Pred, ExplodedNodeSet &Dst);
317 ExplodedNode *Pred, ExplodedNodeSet &Dst);
319 ExplodedNode *Pred, ExplodedNodeSet &Dst);
321 ExplodedNode *Pred, ExplodedNodeSet &Dst);
333 ExplodedNodeSet &Dst,
342 ExplodedNode *Pred, ExplodedNodeSet &Dst,
351 ExplodedNodeSet &Dst,
[all …]
/openbsd/src/gnu/llvm/llvm/lib/Transforms/Utils/
DSampleProfileInference.cpp132 void addEdge(uint64_t Src, uint64_t Dst, int64_t Capacity, int64_t Cost) { in addEdge() argument
134 assert(Src != Dst && "loop edge are not supported"); in addEdge()
137 SrcEdge.Dst = Dst; in addEdge()
141 SrcEdge.RevEdgeIndex = Edges[Dst].size(); in addEdge()
144 DstEdge.Dst = Src; in addEdge()
151 Edges[Dst].push_back(DstEdge); in addEdge()
155 void addEdge(uint64_t Src, uint64_t Dst, int64_t Cost) { in addEdge() argument
156 addEdge(Src, Dst, INF, Cost); in addEdge()
165 Flow.push_back(std::make_pair(Edge.Dst, Edge.Flow)); in getFlow()
171 int64_t getFlow(uint64_t Src, uint64_t Dst) const { in getFlow()
[all …]
/openbsd/src/gnu/llvm/llvm/tools/llvm-c-test/
Decho.cpp171 static ValueMap clone_params(LLVMValueRef Src, LLVMValueRef Dst) { in clone_params() argument
173 if (Count != LLVMCountParams(Dst)) in clone_params()
181 LLVMValueRef DstFirst = LLVMGetFirstParam(Dst); in clone_params()
183 LLVMValueRef DstLast = LLVMGetLastParam(Dst); in clone_params()
256 LLVMValueRef Dst = nullptr; in clone_constant_impl() local
260 Dst = LLVMGetIntrinsicDeclaration(M, ID, nullptr, 0); in clone_constant_impl()
263 Dst = LLVMGetNamedFunction(M, Name); in clone_constant_impl()
266 if (Dst) in clone_constant_impl()
267 return Dst; in clone_constant_impl()
274 LLVMValueRef Dst = LLVMGetNamedGlobal(M, Name); in clone_constant_impl() local
[all …]
/openbsd/src/gnu/llvm/llvm/lib/CodeGen/
DMachineBranchProbabilityInfo.cpp52 MachineBasicBlock::const_succ_iterator Dst) const { in getEdgeProbability()
53 return Src->getSuccProbability(Dst); in getEdgeProbability()
57 const MachineBasicBlock *Src, const MachineBasicBlock *Dst) const { in getEdgeProbability()
60 return getEdgeProbability(Src, find(Src->successors(), Dst)); in getEdgeProbability()
64 const MachineBasicBlock *Src, const MachineBasicBlock *Dst) const { in isEdgeHot()
66 return getEdgeProbability(Src, Dst) > HotProb; in isEdgeHot()
71 const MachineBasicBlock *Dst) const { in printEdgeProbability()
73 const BranchProbability Prob = getEdgeProbability(Src, Dst); in printEdgeProbability()
74 OS << "edge " << printMBBReference(*Src) << " -> " << printMBBReference(*Dst) in printEdgeProbability()
76 << (isEdgeHot(Src, Dst) ? " [HOT edge]\n" : "\n"); in printEdgeProbability()
/openbsd/src/gnu/llvm/llvm/lib/Target/SystemZ/
DSystemZSelectionDAGInfo.cpp25 SDValue Chain, SDValue Dst, SDValue Src, in createMemMemNode() argument
31 Ops = { Chain, Dst, LenAdj, Byte }; in createMemMemNode()
33 Ops = { Chain, Dst, Src, LenAdj }; in createMemMemNode()
42 SDValue Chain, SDValue Dst, SDValue Src, in emitMemMemImm() argument
46 SDValue LenAdj = DAG.getConstant(Size - Adj, DL, Dst.getValueType()); in emitMemMemImm()
47 return createMemMemNode(DAG, DL, Op, Chain, Dst, Src, LenAdj, Byte); in emitMemMemImm()
51 SDValue Chain, SDValue Dst, SDValue Src, in emitMemMemReg() argument
57 return createMemMemNode(DAG, DL, Op, Chain, Dst, Src, LenAdj, Byte); in emitMemMemReg()
61 SelectionDAG &DAG, const SDLoc &DL, SDValue Chain, SDValue Dst, SDValue Src, in EmitTargetCodeForMemcpy() argument
68 return emitMemMemImm(DAG, DL, SystemZISD::MVC, Chain, Dst, Src, in EmitTargetCodeForMemcpy()
[all …]
/openbsd/src/gnu/llvm/clang/lib/StaticAnalyzer/Core/
DExprEngine.cpp1121 ExplodedNodeSet Dst; in ProcessStmt() local
1126 Dst.insert(DstI); in ProcessStmt()
1130 Engine.enqueue(Dst, currBldrCtx->getBlock(), currStmtIdx); in ProcessStmt()
1137 ExplodedNodeSet Dst; in ProcessLoopExit() local
1138 Dst.Add(Pred); in ProcessLoopExit()
1139 NodeBuilder Bldr(Pred, Dst, *currBldrCtx); in ProcessLoopExit()
1148 Engine.enqueue(Dst, currBldrCtx->getBlock(), currStmtIdx); in ProcessLoopExit()
1228 ExplodedNodeSet Dst; in ProcessInitializer() local
1229 NodeBuilder Bldr(Tmp, Dst, *currBldrCtx); in ProcessInitializer()
1236 Engine.enqueue(Dst, currBldrCtx->getBlock(), currStmtIdx); in ProcessInitializer()
[all …]
DCheckerManager.cpp110 ExplodedNodeSet &Dst, in expandGraphWithCheckers() argument
119 Dst.insert(Src); in expandGraphWithCheckers()
129 CurrSet = &Dst; in expandGraphWithCheckers()
183 ExplodedNodeSet &Dst, in runCheckersForStmt() argument
190 expandGraphWithCheckers(C, Dst, Src); in runCheckersForStmt()
239 ExplodedNodeSet &Dst, in runCheckersForObjCMessage() argument
246 expandGraphWithCheckers(C, Dst, Src); in runCheckersForObjCMessage()
297 ExplodedNodeSet &Dst, in runCheckersForCallEvent() argument
306 expandGraphWithCheckers(C, Dst, Src); in runCheckersForCallEvent()
348 void CheckerManager::runCheckersForLocation(ExplodedNodeSet &Dst, in runCheckersForLocation() argument
[all …]
DExprEngineObjC.cpp23 ExplodedNodeSet &Dst) { in VisitLvalObjCIvarRefExpr() argument
35 getCheckerManager().runCheckersForPostStmt(Dst, dstIvar, Ex, *this); in VisitLvalObjCIvarRefExpr()
40 ExplodedNodeSet &Dst) { in VisitObjCAtSynchronizedStmt() argument
41 getCheckerManager().runCheckersForPreStmt(Dst, Pred, S, *this); in VisitObjCAtSynchronizedStmt()
85 ExplodedNodeSet &Dst) { in VisitObjCForCollectionStmt() argument
144 getCheckerManager().runCheckersForPostStmt(Dst, Tmp, S, *this); in VisitObjCForCollectionStmt()
149 ExplodedNodeSet &Dst) { in VisitObjCMessage() argument
210 finishArgumentConstruction(Dst, I, *Msg); in VisitObjCMessage()
282 getCheckerManager().runCheckersForPostObjCMessage(Dst, dstPostvisit, in VisitObjCMessage()
/openbsd/src/gnu/llvm/clang/include/clang/StaticAnalyzer/Core/
DCheckerManager.h248 void runCheckersForPreStmt(ExplodedNodeSet &Dst, in runCheckersForPreStmt() argument
252 runCheckersForStmt(/*isPreVisit=*/true, Dst, Src, S, Eng); in runCheckersForPreStmt()
261 void runCheckersForPostStmt(ExplodedNodeSet &Dst,
266 runCheckersForStmt(/*isPreVisit=*/false, Dst, Src, S, Eng, wasInlined);
271 ExplodedNodeSet &Dst, const ExplodedNodeSet &Src,
276 void runCheckersForPreObjCMessage(ExplodedNodeSet &Dst, in runCheckersForPreObjCMessage() argument
280 runCheckersForObjCMessage(ObjCMessageVisitKind::Pre, Dst, Src, msg, Eng); in runCheckersForPreObjCMessage()
284 void runCheckersForPostObjCMessage(ExplodedNodeSet &Dst,
289 runCheckersForObjCMessage(ObjCMessageVisitKind::Post, Dst, Src, msg, Eng,
294 void runCheckersForObjCMessageNil(ExplodedNodeSet &Dst, in runCheckersForObjCMessageNil() argument
[all …]
/openbsd/src/gnu/llvm/llvm/include/llvm/Analysis/
DDependenceAnalysis.h78 : Src(Source), Dst(Destination) {} in Dependence()
112 Instruction *getDst() const { return Dst; } in getDst()
211 Instruction *Src, *Dst;
228 FullDependence(Instruction *Src, Instruction *Dst, bool LoopIndependent,
310 Instruction *Dst,
368 const SCEV *Dst; member
531 const Instruction *Dst);
573 bool checkDstSubscript(const SCEV *Dst,
613 const SCEV *Dst,
623 const SCEV *Dst,
[all …]
/openbsd/src/gnu/llvm/llvm/lib/Target/X86/
DX86SelectionDAGInfo.cpp48 SelectionDAG &DAG, const SDLoc &dl, SDValue Chain, SDValue Dst, SDValue Val, in EmitTargetCodeForMemset() argument
127 Dst, InFlag); in EmitTargetCodeForMemset()
137 EVT AddrVT = Dst.getValueType(); in EmitTargetCodeForMemset()
142 DAG.getNode(ISD::ADD, dl, AddrVT, Dst, in EmitTargetCodeForMemset()
155 const SDLoc &dl, SDValue Chain, SDValue Dst, in emitRepmovs() argument
165 Chain = DAG.getCopyToReg(Chain, dl, DI, Dst, InFlag); in emitRepmovs()
177 const SDLoc &dl, SDValue Chain, SDValue Dst, in emitRepmovsB() argument
179 return emitRepmovs(Subtarget, DAG, dl, Chain, Dst, Src, in emitRepmovsB()
206 SDValue Chain, SDValue Dst, SDValue Src, uint64_t Size, EVT SizeVT, in emitConstantSizeRepmov() argument
217 return emitRepmovsB(Subtarget, DAG, dl, Chain, Dst, Src, Size); in emitConstantSizeRepmov()
[all …]
/openbsd/src/gnu/llvm/llvm/lib/Target/Hexagon/
DHexagonSubtarget.cpp440 SUnit *Dst, int DstOpIdx, in adjustSchedDependency() argument
442 if (!Src->isInstr() || !Dst->isInstr()) in adjustSchedDependency()
446 MachineInstr *DstInst = Dst->getInstr(); in adjustSchedDependency()
453 isBestZeroLatency(Src, Dst, QII, ExclSrc, ExclDst)) { in adjustSchedDependency()
471 for (const auto &DDep : Dst->Succs) { in adjustSchedDependency()
506 isBestZeroLatency(Src, Dst, QII, ExclSrc, ExclDst)) { in adjustSchedDependency()
557 void HexagonSubtarget::restoreLatency(SUnit *Src, SUnit *Dst) const { in restoreLatency()
560 if (!I.isAssignedRegDep() || I.getSUnit() != Dst) in restoreLatency()
579 MachineInstr *DstI = Dst->getInstr(); in restoreLatency()
598 auto F = find(Dst->Preds, T); in restoreLatency()
[all …]
DHexagonPeephole.cpp133 MachineOperand &Dst = MI.getOperand(0); in runOnMachineFunction() local
135 Register DstReg = Dst.getReg(); in runOnMachineFunction()
150 MachineOperand &Dst = MI.getOperand(0); in runOnMachineFunction() local
155 Register DstReg = Dst.getReg(); in runOnMachineFunction()
167 MachineOperand &Dst = MI.getOperand(0); in runOnMachineFunction() local
172 Register DstReg = Dst.getReg(); in runOnMachineFunction()
181 MachineOperand &Dst = MI.getOperand(0); in runOnMachineFunction() local
183 Register DstReg = Dst.getReg(); in runOnMachineFunction()
198 MachineOperand &Dst = MI.getOperand(0); in runOnMachineFunction() local
205 Register DstReg = Dst.getReg(); in runOnMachineFunction()
/openbsd/src/gnu/llvm/clang/lib/Analysis/
DCFGReachabilityAnalysis.cpp27 const CFGBlock *Dst) { in isReachable() argument
28 const unsigned DstBlockID = Dst->getBlockID(); in isReachable()
32 mapReachability(Dst); in isReachable()
42 void CFGReverseBlockReachabilityAnalysis::mapReachability(const CFGBlock *Dst) { in mapReachability() argument
46 ReachableSet &DstReachability = reachable[Dst->getBlockID()]; in mapReachability()
51 worklist.push_back(Dst); in mapReachability()
/openbsd/src/gnu/llvm/llvm/lib/Analysis/
DDependenceAnalysis.cpp231 return Src->mayReadFromMemory() && Dst->mayReadFromMemory(); in isInput()
237 return Src->mayWriteToMemory() && Dst->mayWriteToMemory(); in isOutput()
243 return Src->mayWriteToMemory() && Dst->mayReadFromMemory(); in isFlow()
249 return Src->mayReadFromMemory() && Dst->mayWriteToMemory(); in isAnti()
309 std::swap(Src, Dst); in normalize()
810 const Instruction *Dst) { in establishNestingLevels() argument
812 const BasicBlock *DstBlock = Dst->getParent(); in establishNestingLevels()
896 const SCEV *Dst = Pair->Dst; in unifySubscriptType() local
898 IntegerType *DstTy = dyn_cast<IntegerType>(Dst->getType()); in unifySubscriptType()
921 const SCEV *Dst = Pair->Dst; in unifySubscriptType() local
[all …]
DDependenceGraphBuilder.cpp162 auto createEdgeOfKind = [this](NodeType &Src, NodeType &Dst, in createPiBlocks()
166 createDefUseEdge(Src, Dst); in createPiBlocks()
169 createMemoryEdge(Src, Dst); in createPiBlocks()
172 createRootedEdge(Src, Dst); in createPiBlocks()
179 auto reconnectEdges = [&](NodeType *Src, NodeType *Dst, NodeType *New, in createPiBlocks()
181 if (!Src->hasEdgeTo(*Dst)) in createPiBlocks()
186 << ":\nSrc:" << *Src << "\nDst:" << *Dst << "\nNew:" << *New in createPiBlocks()
192 Src->findEdgesTo(*Dst, EL); in createPiBlocks()
200 createEdgeOfKind(*New, *Dst, Kind); in createPiBlocks()
310 auto createConfusedEdges = [&](NodeType &Src, NodeType &Dst) { in createMemoryDependencyEdges() argument
[all …]
/openbsd/src/gnu/llvm/llvm/lib/Target/ARM/
DARMSelectionDAGInfo.cpp39 SelectionDAG &DAG, const SDLoc &dl, SDValue Chain, SDValue Dst, SDValue Src, in EmitSpecializedLibcall() argument
92 Entry.Node = Dst; in EmitSpecializedLibcall()
170 SelectionDAG &DAG, const SDLoc &dl, SDValue Chain, SDValue Dst, SDValue Src, in EmitTargetCodeForMemcpy() argument
179 return DAG.getNode(ARMISD::MEMCPYLOOP, dl, MVT::Other, Chain, Dst, Src, in EmitTargetCodeForMemcpy()
189 return EmitSpecializedLibcall(DAG, dl, Chain, Dst, Src, Size, in EmitTargetCodeForMemcpy()
193 return EmitSpecializedLibcall(DAG, dl, Chain, Dst, Src, Size, in EmitTargetCodeForMemcpy()
233 Dst = DAG.getNode(ARMISD::MEMCPY, dl, VTs, Chain, Dst, Src, in EmitTargetCodeForMemcpy()
235 Src = Dst.getValue(1); in EmitTargetCodeForMemcpy()
236 Chain = Dst.getValue(2); in EmitTargetCodeForMemcpy()
277 DAG.getNode(ISD::ADD, dl, MVT::i32, Dst, in EmitTargetCodeForMemcpy()
[all …]
/openbsd/src/gnu/llvm/llvm/include/llvm/CodeGen/
DCostTable.h57 MVT::SimpleValueType Dst; member
67 int ISD, MVT Dst, MVT Src) { in ConvertCostTableLookup() argument
70 return ISD == Entry.ISD && Src == Entry.Src && Dst == Entry.Dst; in ConvertCostTableLookup()
82 int ISD, MVT Dst, MVT Src) { in ConvertCostTableLookup() argument
84 return ConvertCostTableLookup<CostType>(Table, ISD, Dst, Src); in ConvertCostTableLookup()
DMachineBranchProbabilityInfo.h44 const MachineBasicBlock *Dst) const;
50 MachineBasicBlock::const_succ_iterator Dst) const;
54 const MachineBasicBlock *Dst) const;
61 const MachineBasicBlock *Dst) const;
/openbsd/src/gnu/llvm/llvm/lib/Support/
DConvertUTFWrapper.cpp117 UTF8 *Dst = reinterpret_cast<UTF8 *>(&Out[0]); in convertUTF16ToUTF8String() local
118 UTF8 *DstEnd = Dst + Out.size(); in convertUTF16ToUTF8String()
121 ConvertUTF16toUTF8(&Src, SrcEnd, &Dst, DstEnd, strictConversion); in convertUTF16ToUTF8String()
129 Out.resize(reinterpret_cast<char *>(Dst) - &Out[0]); in convertUTF16ToUTF8String()
175 UTF8 *Dst = reinterpret_cast<UTF8 *>(&Out[0]); in convertUTF32ToUTF8String() local
176 UTF8 *DstEnd = Dst + Out.size(); in convertUTF32ToUTF8String()
179 ConvertUTF32toUTF8(&Src, SrcEnd, &Dst, DstEnd, strictConversion); in convertUTF32ToUTF8String()
187 Out.resize(reinterpret_cast<char *>(Dst) - &Out[0]); in convertUTF32ToUTF8String()
220 UTF16 *Dst = &DstUTF16[0]; in convertUTF8ToUTF16String() local
221 UTF16 *DstEnd = Dst + DstUTF16.size(); in convertUTF8ToUTF16String()
[all …]
/openbsd/src/gnu/llvm/llvm/lib/Target/AArch64/GISel/
DAArch64PostLegalizerLowering.cpp60 Register Dst; ///< Destination register. member
62 ShuffleVectorPseudo(unsigned Opc, Register Dst, in ShuffleVectorPseudo()
64 : Opc(Opc), Dst(Dst), SrcOps(SrcOps){}; in ShuffleVectorPseudo()
226 Register Dst = MI.getOperand(0).getReg(); in matchREV() local
228 LLT Ty = MRI.getType(Dst); in matchREV()
239 MatchInfo = ShuffleVectorPseudo(AArch64::G_REV64, Dst, {Src}); in matchREV()
256 Register Dst = MI.getOperand(0).getReg(); in matchTRN() local
257 unsigned NumElts = MRI.getType(Dst).getNumElements(); in matchTRN()
263 MatchInfo = ShuffleVectorPseudo(Opc, Dst, {V1, V2}); in matchTRN()
277 Register Dst = MI.getOperand(0).getReg(); in matchUZP() local
[all …]
/openbsd/src/gnu/llvm/llvm/lib/Target/BPF/
DBPFSelectionDAGInfo.cpp21 SelectionDAG &DAG, const SDLoc &dl, SDValue Chain, SDValue Dst, SDValue Src, in EmitTargetCodeForMemcpy() argument
37 Dst = DAG.getNode(BPFISD::MEMCPY, dl, VTs, Chain, Dst, Src, in EmitTargetCodeForMemcpy()
41 return Dst.getValue(0); in EmitTargetCodeForMemcpy()
/openbsd/src/gnu/llvm/llvm/lib/Target/AArch64/
DAArch64SelectionDAGInfo.cpp20 SDValue Chain, SDValue Dst, in EmitMOPS() argument
66 SDValue Ops[] = {Dst, Size, SrcOrValue, Chain}; in EmitMOPS()
72 SDValue Ops[] = {Dst, SrcOrValue, Size, Chain}; in EmitMOPS()
81 SelectionDAG &DAG, const SDLoc &DL, SDValue Chain, SDValue Dst, SDValue Src, in EmitTargetCodeForMemcpy() argument
87 return EmitMOPS(AArch64ISD::MOPS_MEMCOPY, DAG, DL, Chain, Dst, Src, Size, in EmitTargetCodeForMemcpy()
93 SelectionDAG &DAG, const SDLoc &dl, SDValue Chain, SDValue Dst, SDValue Src, in EmitTargetCodeForMemset() argument
100 return EmitMOPS(AArch64ISD::MOPS_MEMSET, DAG, dl, Chain, Dst, Src, Size, in EmitTargetCodeForMemset()
107 SelectionDAG &DAG, const SDLoc &dl, SDValue Chain, SDValue Dst, SDValue Src, in EmitTargetCodeForMemmove() argument
113 return EmitMOPS(AArch64ISD::MOPS_MEMMOVE, DAG, dl, Chain, Dst, Src, Size, in EmitTargetCodeForMemmove()
DAArch64SelectionDAGInfo.h23 const SDLoc &DL, SDValue Chain, SDValue Dst,
29 SDValue Chain, SDValue Dst, SDValue Src,
35 SDValue Chain, SDValue Dst, SDValue Src,
41 SDValue Dst, SDValue Src, SDValue Size,

12345678910