Searched defs:Old (Results 1 - 25 of 66) sorted by relevance

123

/external/clang/test/CXX/temp/temp.type/
H A Dp1-0x.cpp3 namespace Old { namespace
/external/llvm/lib/Transforms/Utils/
H A DValueMapper.cpp215 MDNode *Old = MI->second; local
216 MDNode *New = MapValue(Old, VMap, Flags, TypeMapper, Materializer);
217 if (New != Old)
/external/clang/include/clang/AST/
H A DASTUnresolvedSet.h57 bool replace(const NamedDecl *Old, NamedDecl *New, AccessSpecifier AS) { argument
59 if (I->getDecl() == Old) {
H A DUnresolvedSet.h126 bool replace(const NamedDecl* Old, NamedDecl *New) { argument
128 if (I->getDecl() == Old)
/external/llvm/lib/Target/MSP430/
H A DMSP430FrameLowering.cpp237 MachineInstr *Old = I; local
238 uint64_t Amount = Old->getOperand(0).getImm();
246 if (Old->getOpcode() == TII.getCallFrameSetupOpcode()) {
247 New = BuildMI(MF, Old->getDebugLoc(),
251 assert(Old->getOpcode() == TII.getCallFrameDestroyOpcode());
253 uint64_t CalleeAmt = Old->getOperand(1).getImm();
256 New = BuildMI(MF, Old->getDebugLoc(),
273 MachineInstr *Old = I; local
275 BuildMI(MF, Old->getDebugLoc(), TII.get(MSP430::SUB16ri),
/external/llvm/tools/bugpoint/
H A DBugDriver.h149 AbstractInterpreter *Old = Interpreter; local
151 return Old;
/external/llvm/unittests/IR/
H A DValueMapTest.cpp187 static void onRAUW(const ExtraData &Data, KeyT Old, KeyT New) { argument
191 static void onDelete(const ExtraData &Data, KeyT Old) { argument
241 static void onRAUW(const ExtraData &Data, KeyT Old, KeyT New) { argument
244 static void onDelete(const ExtraData &Data, KeyT Old) { argument
273 static void onRAUW(ExtraData Map, KeyT Old, KeyT New) { argument
274 (*Map)->erase(Old);
276 static void onDelete(ExtraData Map, KeyT Old) { argument
277 (*Map)->erase(Old);
/external/clang/lib/StaticAnalyzer/Core/
H A DExplodedGraph.cpp250 ExplodedNode *Old = Storage.get<ExplodedNode *>(); local
255 V->push_back(Old, Ctx);
/external/llvm/include/llvm/ADT/
H A DSCCIterator.h132 /// This informs the \c scc_iterator that the specified \c Old node
134 void ReplaceNode(NodeType *Old, NodeType *New) { argument
135 assert(nodeVisitNumbers.count(Old) && "Old not in scc_iterator?");
136 nodeVisitNumbers[New] = nodeVisitNumbers[Old];
137 nodeVisitNumbers.erase(Old);
H A DImmutableMap.h110 ImmutableMap add(ImmutableMap Old, key_type_ref K, data_type_ref D) { argument
111 TreeTy *T = F.add(Old.Root, std::pair<key_type,data_type>(K,D));
115 ImmutableMap remove(ImmutableMap Old, key_type_ref K) { argument
116 TreeTy *T = F.remove(Old.Root,K);
/external/llvm/include/llvm/CodeGen/
H A DLiveRangeEdit.h53 /// This is used for new registers representing connected components of Old.
54 virtual void LRE_DidCloneVirtReg(unsigned New, unsigned Old) {} argument
/external/llvm/include/llvm/Support/
H A DAllocator.h150 BumpPtrAllocatorImpl(BumpPtrAllocatorImpl &&Old) argument
151 : CurPtr(Old.CurPtr), End(Old.End), Slabs(std::move(Old.Slabs)),
152 CustomSizedSlabs(std::move(Old.CustomSizedSlabs)),
153 BytesAllocated(Old.BytesAllocated),
154 Allocator(std::move(Old.Allocator)) {
155 Old.CurPtr = Old.End = nullptr;
156 Old
362 SpecificBumpPtrAllocator(SpecificBumpPtrAllocator &&Old) argument
[all...]
/external/llvm/lib/Analysis/IPA/
H A DCallGraphSCCPass.cpp516 /// Old node has been deleted, and New is to be used in its place.
517 void CallGraphSCC::ReplaceNode(CallGraphNode *Old, CallGraphNode *New) { argument
518 assert(Old != New && "Should not replace node with self");
521 if (Nodes[i] != Old) continue;
529 CGI->ReplaceNode(Old, New);
/external/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeTypes.h134 void NoteDeletion(SDNode *Old, SDNode *New) { argument
135 ExpungeNode(Old);
137 for (unsigned i = 0, e = Old->getNumValues(); i != e; ++i)
138 ReplacedValues[SDValue(Old, i)] = SDValue(New, i);
H A DScheduleDAGSDNodes.cpp90 SUnit *ScheduleDAGSDNodes::Clone(SUnit *Old) { argument
91 SUnit *SU = newSUnit(Old->getNode());
92 SU->OrigNode = Old->OrigNode;
93 SU->Latency = Old->Latency;
94 SU->isVRegCycle = Old->isVRegCycle;
95 SU->isCall = Old->isCall;
96 SU->isCallOp = Old->isCallOp;
97 SU->isTwoAddress = Old->isTwoAddress;
98 SU->isCommutable = Old->isCommutable;
99 SU->hasPhysRegDefs = Old
[all...]
/external/llvm/lib/Target/ARM/
H A DARMJITInfo.cpp30 void ARMJITInfo::replaceMachineCodeForFunction(void *Old, void *New) { argument
H A DThumb1FrameLowering.cpp62 MachineInstr *Old = I; local
63 DebugLoc dl = Old->getDebugLoc();
64 unsigned Amount = Old->getOperand(0).getImm();
73 unsigned Opc = Old->getOpcode();
/external/llvm/lib/Target/Mips/
H A DMipsJITInfo.cpp30 void MipsJITInfo::replaceMachineCodeForFunction(void *Old, void *New) { argument
32 unsigned OldAddr = (intptr_t)Old;
37 unsigned *OldInstruction = (unsigned *)Old;
48 sys::Memory::InvalidateInstructionCache(Old, 2 * 4);
52 unsigned* CurrentInstr = (unsigned*)Old;
71 sys::Memory::InvalidateInstructionCache(Old, 4 * 4);
/external/llvm/lib/Target/PowerPC/
H A DPPCJITInfo.cpp479 void PPCJITInfo::replaceMachineCodeForFunction(void *Old, void *New) { argument
480 EmitBranchToAt((intptr_t)Old, (intptr_t)New, false, is64Bit);
481 sys::Memory::InvalidateInstructionCache(Old, 7*4);
/external/llvm/lib/Target/Sparc/
H A DSparcJITInfo.cpp215 void SparcJITInfo::replaceMachineCodeForFunction(void *Old, void *New) { argument
/external/llvm/lib/Target/X86/
H A DX86JITInfo.cpp35 void X86JITInfo::replaceMachineCodeForFunction(void *Old, void *New) { argument
36 unsigned char *OldByte = (unsigned char *)Old;
45 sys::ValgrindDiscardTranslations(Old, 5);
/external/llvm/lib/Target/XCore/
H A DXCoreISelDAGToDAG.cpp207 /// Given a chain return a new chain where any appearance of Old is replaced
208 /// by New. There must be at most one instruction between Old and Chain and
212 replaceInChain(SelectionDAG *CurDAG, SDValue Chain, SDValue Old, SDValue New) argument
214 if (Chain == Old)
221 if (Chain->getOperand(i) == Old) {
/external/llvm/lib/Transforms/InstCombine/
H A DInstCombine.h256 // InsertNewInstBefore - insert an instruction New before instruction Old
259 Instruction *InsertNewInstBefore(Instruction *New, Instruction &Old) { argument
262 BasicBlock *BB = Old.getParent();
263 BB->getInstList().insert(&Old, New); // Insert inst
271 Instruction *InsertNewInstWith(Instruction *New, Instruction &Old) { argument
272 New->setDebugLoc(Old.getDebugLoc());
273 return InsertNewInstBefore(New, Old);
/external/llvm/include/llvm/Analysis/
H A DAliasAnalysis.h559 void replaceWithNewValue(Value *Old, Value *New) { argument
560 copyValue(Old, New);
561 deleteValue(Old);
/external/llvm/lib/IR/
H A DValue.cpp729 void ValueHandleBase::ValueIsRAUWd(Value *Old, Value *New) { argument
730 assert(Old->HasValueHandle &&"Should only be called if ValueHandles present");
731 assert(Old != New && "Changing value into itself!");
735 LLVMContextImpl *pImpl = Old->getContext().pImpl;
736 ValueHandleBase *Entry = pImpl->ValueHandles[Old];
761 // Weak goes to the new value, which will unlink it from Old's list.
774 if (Old->HasValueHandle)
775 for (Entry = pImpl->ValueHandles[Old]; Entry; Entry = Entry->Next)
779 dbgs() << "After RAUW from " << *Old->getType() << " %"
780 << Old
[all...]

Completed in 8351 milliseconds

123