Home
last modified time | relevance | path

Searched refs:InsertPos (Results 1 – 25 of 62) sorted by relevance

123

/external/clang/lib/StaticAnalyzer/Core/
DSymbolManager.cpp155 void *InsertPos; in getRegionValueSymbol() local
156 SymExpr *SD = DataSet.FindNodeOrInsertPos(profile, InsertPos); in getRegionValueSymbol()
160 DataSet.InsertNode(SD, InsertPos); in getRegionValueSymbol()
174 void *InsertPos; in conjureSymbol() local
175 SymExpr *SD = DataSet.FindNodeOrInsertPos(profile, InsertPos); in conjureSymbol()
179 DataSet.InsertNode(SD, InsertPos); in conjureSymbol()
192 void *InsertPos; in getDerivedSymbol() local
193 SymExpr *SD = DataSet.FindNodeOrInsertPos(profile, InsertPos); in getDerivedSymbol()
197 DataSet.InsertNode(SD, InsertPos); in getDerivedSymbol()
208 void *InsertPos; in getExtentSymbol() local
[all …]
DBasicValueFactory.cpp74 void *InsertPos; in getValue() local
78 FoldNodeTy* P = APSIntSet.FindNodeOrInsertPos(ID, InsertPos); in getValue()
83 APSIntSet.InsertNode(P, InsertPos); in getValue()
113 void *InsertPos; in getCompoundValData() local
115 CompoundValData* D = CompoundValDataSet.FindNodeOrInsertPos(ID, InsertPos); in getCompoundValData()
120 CompoundValDataSet.InsertNode(D, InsertPos); in getCompoundValData()
131 void *InsertPos; in getLazyCompoundValData() local
134 LazyCompoundValDataSet.FindNodeOrInsertPos(ID, InsertPos); in getLazyCompoundValData()
139 LazyCompoundValDataSet.InsertNode(D, InsertPos); in getLazyCompoundValData()
243 void *InsertPos; in getPersistentSValWithData() local
[all …]
DMemRegion.cpp44 void *InsertPos; in getRegion() local
46 InsertPos)); in getRegion()
51 Regions.InsertNode(R, InsertPos); in getRegion()
62 void *InsertPos; in getSubRegion() local
64 InsertPos)); in getSubRegion()
69 Regions.InsertNode(R, InsertPos); in getSubRegion()
83 void *InsertPos; in getRegion() local
85 InsertPos)); in getRegion()
90 Regions.InsertNode(R, InsertPos); in getRegion()
102 void *InsertPos; in getSubRegion() local
[all …]
/external/llvm/lib/Transforms/Instrumentation/
DProfilingUtils.cpp47 BasicBlock::iterator InsertPos = Entry->begin(); in InsertProfilingInitCall() local
48 while (isa<AllocaInst>(InsertPos)) ++InsertPos; in InsertProfilingInitCall()
64 CallInst *InitCall = CallInst::Create(InitFn, Args, "newargc", InsertPos); in InsertProfilingInitCall()
91 CastInst::Create(opcode, InitCall, AI->getType(), "", InsertPos)); in InsertProfilingInitCall()
110 BasicBlock::iterator InsertPos = beginning ? BB->getFirstInsertionPt() : in IncrementCounterInBlock() local
112 while (isa<AllocaInst>(InsertPos)) in IncrementCounterInBlock()
113 ++InsertPos; in IncrementCounterInBlock()
125 Value *OldVal = new LoadInst(ElementPtr, "OldFuncCounter", InsertPos); in IncrementCounterInBlock()
128 "NewFuncCounter", InsertPos); in IncrementCounterInBlock()
129 new StoreInst(NewVal, ElementPtr, InsertPos); in IncrementCounterInBlock()
/external/llvm/lib/Transforms/Scalar/
DBasicBlockPlacement.cpp70 Function::iterator InsertPos; member
91 InsertPos = F.begin(); in runOnFunction()
109 if (&*InsertPos != BB) { in PlaceBlocks()
114 Blocks.splice(InsertPos, Blocks, BB); in PlaceBlocks()
119 ++InsertPos; in PlaceBlocks()
143 (Count == MaxExecutionCount && *SI == &*InsertPos)) { in PlaceBlocks()
/external/clang/lib/AST/
DDeclTemplate.cpp167 void *&InsertPos) { in findSpecializationImpl() argument
171 EntryType *Entry = Specs.FindNodeOrInsertPos(ID, InsertPos); in findSpecializationImpl()
267 unsigned NumArgs, void *&InsertPos) { in findSpecialization() argument
268 return findSpecializationImpl(getSpecializations(), Args, NumArgs, InsertPos); in findSpecialization()
272 FunctionTemplateSpecializationInfo *Info, void *InsertPos) { in addSpecialization() argument
273 if (InsertPos) in addSpecialization()
274 getSpecializations().InsertNode(Info, InsertPos); in addSpecialization()
353 unsigned NumArgs, void *&InsertPos) { in findSpecialization() argument
354 return findSpecializationImpl(getSpecializations(), Args, NumArgs, InsertPos); in findSpecialization()
358 void *InsertPos) { in AddSpecialization() argument
[all …]
DASTContext.cpp577 void *InsertPos = 0; in getCanonicalTemplateTemplateParmDecl() local
579 = CanonTemplateTemplateParms.FindNodeOrInsertPos(ID, InsertPos); in getCanonicalTemplateTemplateParmDecl()
652 Canonical = CanonTemplateTemplateParms.FindNodeOrInsertPos(ID, InsertPos); in getCanonicalTemplateTemplateParmDecl()
658 CanonTemplateTemplateParms.InsertNode(Canonical, InsertPos); in getCanonicalTemplateTemplateParmDecl()
2094 void *InsertPos = 0; in getComplexType() local
2095 if (ComplexType *CT = ComplexTypes.FindNodeOrInsertPos(ID, InsertPos)) in getComplexType()
2105 ComplexType *NewIP = ComplexTypes.FindNodeOrInsertPos(ID, InsertPos); in getComplexType()
2110 ComplexTypes.InsertNode(New, InsertPos); in getComplexType()
2122 void *InsertPos = 0; in getPointerType() local
2123 if (PointerType *PT = PointerTypes.FindNodeOrInsertPos(ID, InsertPos)) in getPointerType()
[all …]
DDeclarationName.cpp402 void *InsertPos = 0; in getCXXSpecialName() local
403 if (CXXSpecialName *Name = SpecialNames->FindNodeOrInsertPos(ID, InsertPos)) in getCXXSpecialName()
411 SpecialNames->InsertNode(SpecialName, InsertPos); in getCXXSpecialName()
429 void *InsertPos = 0; in getCXXLiteralOperatorName() local
431 LiteralNames->FindNodeOrInsertPos(ID, InsertPos)) in getCXXLiteralOperatorName()
439 LiteralNames->InsertNode(LiteralName, InsertPos); in getCXXLiteralOperatorName()
/external/llvm/lib/Support/
DFoldingSet.cpp283 void *&InsertPos) { in FindNodeOrInsertPos() argument
288 InsertPos = 0; in FindNodeOrInsertPos()
300 InsertPos = Bucket; in FindNodeOrInsertPos()
307 void FoldingSetImpl::InsertNode(Node *N, void *InsertPos) { in InsertNode() argument
313 InsertPos = GetBucketFor(ComputeNodeHash(N, TempID), Buckets, NumBuckets); in InsertNode()
319 void **Bucket = static_cast<void**>(InsertPos); in InsertNode()
/external/llvm/include/llvm/ADT/
DFoldingSet.h162 Node *FindNodeOrInsertPos(const FoldingSetNodeID &ID, void *&InsertPos);
167 void InsertNode(Node *N, void *InsertPos);
445 T *FindNodeOrInsertPos(const FoldingSetNodeID &ID, void *&InsertPos) { in FindNodeOrInsertPos() argument
446 return static_cast<T *>(FoldingSetImpl::FindNodeOrInsertPos(ID, InsertPos)); in FindNodeOrInsertPos()
525 T *FindNodeOrInsertPos(const FoldingSetNodeID &ID, void *&InsertPos) { in FindNodeOrInsertPos() argument
526 return static_cast<T *>(FoldingSetImpl::FindNodeOrInsertPos(ID, InsertPos)); in FindNodeOrInsertPos()
600 T *FindNodeOrInsertPos(const FoldingSetNodeID &ID, void *&InsertPos) { in FindNodeOrInsertPos() argument
601 return Set.FindNodeOrInsertPos(ID, InsertPos); in FindNodeOrInsertPos()
616 void InsertNode(T *N, void *InsertPos) { in InsertNode() argument
617 Set.InsertNode(N, InsertPos); in InsertNode()
DImmutableList.h169 void* InsertPos; in concat() local
173 ListTy* L = Cache.FindNodeOrInsertPos(ID, InsertPos); in concat()
182 Cache.InsertNode(L, InsertPos); in concat()
/external/llvm/lib/Target/R600/
DR600ControlFlowFinalizer.cpp201 MachineBasicBlock::iterator InsertPos, in insertLiterals() argument
203 MachineBasicBlock *MBB = InsertPos->getParent(); in insertLiterals()
207 InsertPos = BuildMI(MBB, InsertPos->getDebugLoc(), in insertLiterals()
212 return InsertPos; in insertLiterals()
265 EmitFetchClause(MachineBasicBlock::iterator InsertPos, ClauseFile &Clause, in EmitFetchClause() argument
269 BuildMI(BB, InsertPos->getDebugLoc(), TII->get(AMDGPU::FETCH_CLAUSE)) in EmitFetchClause()
272 BB->splice(InsertPos, BB, Clause.second[i]); in EmitFetchClause()
278 EmitALUClause(MachineBasicBlock::iterator InsertPos, ClauseFile &Clause, in EmitALUClause() argument
283 BuildMI(BB, InsertPos->getDebugLoc(), TII->get(AMDGPU::ALU_CLAUSE)) in EmitALUClause()
286 BB->splice(InsertPos, BB, Clause.second[i]); in EmitALUClause()
/external/clang/lib/Analysis/
DAnalysisDeclContext.cpp330 void *InsertPos; in getLocationContext() local
332 LOC *L = cast_or_null<LOC>(Contexts.FindNodeOrInsertPos(ID, InsertPos)); in getLocationContext()
336 Contexts.InsertNode(L, InsertPos); in getLocationContext()
348 void *InsertPos; in getStackFrame() local
350 cast_or_null<StackFrameContext>(Contexts.FindNodeOrInsertPos(ID, InsertPos)); in getStackFrame()
353 Contexts.InsertNode(L, InsertPos); in getStackFrame()
372 void *InsertPos; in getBlockInvocationContext() local
375 InsertPos)); in getBlockInvocationContext()
378 Contexts.InsertNode(L, InsertPos); in getBlockInvocationContext()
/external/llvm/lib/CodeGen/SelectionDAG/
DInstrEmitter.cpp176 BuildMI(*MBB, InsertPos, Node->getDebugLoc(), TII->get(TargetOpcode::COPY), in EmitCopyFromReg()
280 BuildMI(*MBB, InsertPos, Op.getDebugLoc(), in getVR()
322 BuildMI(*MBB, InsertPos, Op.getNode()->getDebugLoc(), in AddRegisterOperand()
443 BuildMI(*MBB, InsertPos, DL, TII->get(TargetOpcode::COPY), NewReg) in ConstrainForSubReg()
492 BuildMI(*MBB, InsertPos, Node->getDebugLoc(), in EmitSubregNode()
508 BuildMI(*MBB, InsertPos, Node->getDebugLoc(), in EmitSubregNode()
555 MBB->insert(InsertPos, MIB); in EmitSubregNode()
579 BuildMI(*MBB, InsertPos, Node->getDebugLoc(), TII->get(TargetOpcode::COPY), in EmitCopyToRegClassNode()
623 MBB->insert(InsertPos, MIB); in EmitRegSequence()
766 MBB->insert(InsertPos, MIB); in EmitMachineNode()
[all …]
DScheduleDAGSDNodes.cpp713 MachineBasicBlock::iterator InsertPos = Emitter.getInsertPos(); in ProcessSDDbgValues() local
723 BB->insert(InsertPos, DbgMI); in ProcessSDDbgValues()
759 MachineBasicBlock::iterator InsertPos) { in EmitPhysRegCopy() argument
777 BuildMI(*BB, InsertPos, DebugLoc(), TII->get(TargetOpcode::COPY), Reg) in EmitPhysRegCopy()
786 BuildMI(*BB, InsertPos, DebugLoc(), TII->get(TargetOpcode::COPY), VRBase) in EmitPhysRegCopy()
798 EmitSchedule(MachineBasicBlock::iterator &InsertPos) { in EmitSchedule() argument
799 InstrEmitter Emitter(BB, InsertPos); in EmitSchedule()
813 BB->insert(InsertPos, DbgMI); in EmitSchedule()
821 TII->insertNoop(*Emitter.getBlock(), InsertPos); in EmitSchedule()
829 EmitPhysRegCopy(SU, CopyVRBaseMap, InsertPos); in EmitSchedule()
[all …]
DInstrEmitter.h38 MachineBasicBlock::iterator InsertPos; variable
131 MachineBasicBlock::iterator getInsertPos() { return InsertPos; } in getInsertPos()
DScheduleDAGSDNodes.h118 EmitSchedule(MachineBasicBlock::iterator &InsertPos);
181 MachineBasicBlock::iterator InsertPos);
/external/llvm/lib/CodeGen/
DMachineSink.cpp687 MachineBasicBlock::iterator InsertPos = SuccToSinkTo->begin(); in SinkInstruction() local
688 while (InsertPos != SuccToSinkTo->end() && InsertPos->isPHI()) in SinkInstruction()
689 ++InsertPos; in SinkInstruction()
696 SuccToSinkTo->splice(InsertPos, ParentBlock, MI, in SinkInstruction()
703 SuccToSinkTo->splice(InsertPos, ParentBlock, DbgMI, in SinkInstruction()
DPHIElimination.cpp377 MachineBasicBlock::iterator InsertPos = in LowerPHINode() local
387 NewSrcInstr = BuildMI(opBlock, InsertPos, MPhi->getDebugLoc(), in LowerPHINode()
396 NewSrcInstr = BuildMI(opBlock, InsertPos, MPhi->getDebugLoc(), in LowerPHINode()
447 KillInst = prior(InsertPos); in LowerPHINode()
507 KillInst = prior(InsertPos); in LowerPHINode()
/external/llvm/lib/Target/Hexagon/
DHexagonHardwareLoops.cpp703 MachineBasicBlock::iterator InsertPos = PH->getFirstTerminator(); in computeCount() local
704 DebugLoc DL = (InsertPos != PH->end()) ? InsertPos->getDebugLoc() in computeCount()
786 BuildMI(*PH, InsertPos, DL, SubD, SubR); in computeCount()
812 BuildMI(*PH, InsertPos, DL, AddD, AddR) in computeCount()
833 BuildMI(*PH, InsertPos, DL, LsrD, LsrR) in computeCount()
1034 MachineBasicBlock::iterator InsertPos = Preheader->getFirstTerminator(); in convertToHardwareLoop() local
1077 if (InsertPos != Preheader->end()) in convertToHardwareLoop()
1078 DL = InsertPos->getDebugLoc(); in convertToHardwareLoop()
1083 BuildMI(*Preheader, InsertPos, DL, TII->get(TargetOpcode::COPY), CountReg) in convertToHardwareLoop()
1086 BuildMI(*Preheader, InsertPos, DL, TII->get(Hexagon::LOOP0_r)) in convertToHardwareLoop()
[all …]
/external/llvm/tools/llvm-ar/
Dllvm-ar.cpp515 int InsertPos = -1; in computeNewArchiveMembers() local
527 InsertPos = Pos; in computeNewArchiveMembers()
529 InsertPos = Pos + 1; in computeNewArchiveMembers()
558 if (!RelPos.empty() && InsertPos == -1) in computeNewArchiveMembers()
562 InsertPos = Ret.size(); in computeNewArchiveMembers()
564 assert(unsigned(InsertPos) <= Ret.size()); in computeNewArchiveMembers()
565 Ret.insert(Ret.begin() + InsertPos, Moved.begin(), Moved.end()); in computeNewArchiveMembers()
567 Ret.insert(Ret.begin() + InsertPos, Members.size(), NewArchiveIterator()); in computeNewArchiveMembers()
568 int Pos = InsertPos; in computeNewArchiveMembers()
/external/llvm/lib/IR/
DInstruction.cpp78 void Instruction::insertBefore(Instruction *InsertPos) { in insertBefore() argument
79 InsertPos->getParent()->getInstList().insert(InsertPos, this); in insertBefore()
84 void Instruction::insertAfter(Instruction *InsertPos) { in insertAfter() argument
85 InsertPos->getParent()->getInstList().insertAfter(InsertPos, this); in insertAfter()
/external/llvm/lib/Target/ARM/
DThumb2ITBlockPass.cpp189 MachineBasicBlock::iterator InsertPos = MIB; in InsertITInstructions() local
218 MBB.insert(InsertPos, NMI); in InsertITInstructions()
239 finalizeBundle(MBB, InsertPos.getInstrIterator(), llvm::next(LI)); in InsertITInstructions()
/external/llvm/include/llvm/Analysis/
DScalarEvolutionExpander.h124 Instruction *getIVIncOperand(Instruction *IncV, Instruction *InsertPos,
128 bool hoistIVInc(Instruction *IncV, Instruction *InsertPos);
/external/clang/lib/Rewrite/Frontend/
DRewriteMacros.cpp195 unsigned InsertPos = PPOffs; in RewriteMacrosInInput() local
204 RB.InsertTextBefore(InsertPos, Expansion); in RewriteMacrosInInput()

123