Home
last modified time | relevance | path

Searched refs:WeakVH (Results 1 – 25 of 31) sorted by relevance

12

/external/llvm/unittests/Support/
DValueHandleTest.cpp42 WeakVH WVH(BitcastV.get()); in TEST_F()
54 WeakVH BitcastWVH(BitcastV.get()); in TEST_F()
55 WeakVH ConstantWVH(ConstantV); in TEST_F()
87 WeakVH WVH(BitcastV.get()); in TEST_F()
88 WeakVH WVH_Copy(WVH); in TEST_F()
89 WeakVH WVH_Recreated(BitcastV.get()); in TEST_F()
97 WeakVH WVH(BitcastV.get()); in TEST_F()
98 WeakVH WVH_Copy(WVH); in TEST_F()
99 WeakVH WVH_Recreated(BitcastV.get()); in TEST_F()
342 OwningPtr<WeakVH> ToClear[2]; in TEST_F()
[all …]
/external/llvm/include/llvm/Support/
DValueHandle.h143 class WeakVH : public ValueHandleBase {
145 WeakVH() : ValueHandleBase(Weak) {} in WeakVH() function
146 WeakVH(Value *P) : ValueHandleBase(Weak, P) {} in WeakVH() function
147 WeakVH(const WeakVH &RHS) in WeakVH() function
165 template<> struct simplify_type<const WeakVH> {
167 static SimpleType getSimplifiedValue(const WeakVH &WVH) {
171 template<> struct simplify_type<WeakVH> : public simplify_type<const WeakVH> {};
/external/clang/lib/CodeGen/
DCGDebugInfo.h54 llvm::DenseMap<void *, llvm::WeakVH> TypeCache;
57 llvm::DenseMap<void *, llvm::WeakVH> CompletedTypeCache;
61 std::vector<std::pair<void *, llvm::WeakVH> >ReplaceMap;
68 llvm::DenseMap<const Decl *, llvm::WeakVH> RegionMap;
79 llvm::DenseMap<const char *, llvm::WeakVH> DIFileCache;
80 llvm::DenseMap<const FunctionDecl *, llvm::WeakVH> SPCache;
81 llvm::DenseMap<const NamespaceDecl *, llvm::WeakVH> NameSpaceCache;
DCGDebugInfo.cpp95 llvm::DenseMap<const Decl *, llvm::WeakVH>::iterator in getContextDescriptor()
225 llvm::DenseMap<const char *, llvm::WeakVH>::iterator it = in getOrCreateFile()
527 llvm::DenseMap<const Decl *, llvm::WeakVH>::iterator in createContextChain()
973 SPCache[Method->getCanonicalDecl()] = llvm::WeakVH(SP); in CreateCXXMemberFunction()
1216 RegionMap[Ty->getDecl()] = llvm::WeakVH(FwdDecl); in CreateType()
1261 RegionMap[Ty->getDecl()] = llvm::WeakVH(FwdDeclNode); in CreateType()
1317 RegionMap[Ty->getDecl()] = llvm::WeakVH(RealDecl); in CreateType()
1650 llvm::DenseMap<void *, llvm::WeakVH>::iterator it = in getTypeOrNull()
1669 llvm::DenseMap<void *, llvm::WeakVH>::iterator it = in getCompletedTypeOrNull()
1858 RegionMap[Ty->getDecl()] = llvm::WeakVH(RealDecl); in CreateLimitedType()
[all …]
DCodeGenModule.h260 std::vector<llvm::WeakVH> LLVMUsed;
306 std::vector<std::pair<llvm::WeakVH,llvm::Constant*> > CXXGlobalDtors;
DCGDeclCXX.cpp418 const std::vector<std::pair<llvm::WeakVH, llvm::Constant*> > in GenerateCXXGlobalDtorsFunc() argument
/external/llvm/include/llvm/Transforms/Utils/
DSimplifyIndVar.h45 SmallVectorImpl<WeakVH> &Dead, IVVisitor *V = NULL);
50 SmallVectorImpl<WeakVH> &Dead);
DValueMapper.h23 typedef ValueMap<const Value *, WeakVH> ValueToValueMapTy;
DCloning.h182 SmallVector<WeakVH, 8> InlinedCalls;
/external/llvm/lib/Transforms/Utils/
DSimplifyIndVar.cpp51 SmallVectorImpl<WeakVH> &DeadInsts;
57 SmallVectorImpl<WeakVH> &Dead, IVUsers *IVU = NULL) : in SimplifyIndvar()
376 SmallVectorImpl<WeakVH> &Dead, IVVisitor *V) in simplifyUsersOfIV()
387 SmallVectorImpl<WeakVH> &Dead) { in simplifyLoopIVs()
DLocal.cpp371 WeakVH BIHandle(BI); in SimplifyInstructionsInBlock()
413 WeakVH PhiIt = &BB->front(); in RemovePredecessorAndSimplify()
DLoopUnroll.cpp415 SmallVector<WeakVH, 16> DeadInsts; in UnrollLoop()
DCloneFunction.cpp229 WeakVH &BBEntry = VMap[BB]; in CloneBlock()
/external/llvm/lib/Bitcode/Reader/
DBitcodeReader.h36 std::vector<WeakVH> ValuePtrs;
95 std::vector<WeakVH> MDValuePtrs;
/external/llvm/lib/Transforms/IPO/
DMergeFunctions.cpp557 std::vector<WeakVH> Deferred;
616 Deferred.push_back(WeakVH(I)); in runOnModule()
621 std::vector<WeakVH> Worklist; in runOnModule()
629 for (std::vector<WeakVH>::iterator I = Worklist.begin(), in runOnModule()
644 for (std::vector<WeakVH>::iterator I = Worklist.begin(), in runOnModule()
/external/llvm/include/llvm/Analysis/
DIVUsers.h82 WeakVH OperandValToReplace;
DScalarEvolutionExpander.h127 SmallVectorImpl<WeakVH> &DeadInsts,
DCallGraph.h180 typedef std::pair<WeakVH, CallGraphNode*> CallRecord;
/external/llvm/unittests/VMCore/
DMetadataTest.cpp123 WeakVH wvh = n; in TEST_F()
/external/llvm/lib/Transforms/Scalar/
DIndVarSimplify.cpp72 SmallVector<WeakVH, 16> DeadInsts;
411 WeakVH WeakPH = PN; in HandleFloatingPointIV()
446 SmallVector<WeakVH, 8> PHIs; in RewriteNonIntegerIVs()
676 SmallVectorImpl<WeakVH> &DeadInsts;
684 SmallVectorImpl<WeakVH> &DI) : in WidenIV()
DLoopIdiomRecognize.cpp239 WeakVH InstPtr(I); in runOnLoopBlock()
252 WeakVH InstPtr(I); in runOnLoopBlock()
DLoopStrengthReduce.cpp737 DeleteTriviallyDeadInstructions(SmallVectorImpl<WeakVH> &DeadInsts) { in DeleteTriviallyDeadInstructions()
1505 SmallVectorImpl<WeakVH> &DeadInsts);
1580 SmallVectorImpl<WeakVH> &DeadInsts) const;
1584 SmallVectorImpl<WeakVH> &DeadInsts,
1589 SmallVectorImpl<WeakVH> &DeadInsts,
2659 SmallVectorImpl<WeakVH> &DeadInsts) { in GenerateIVChain()
4197 SmallVectorImpl<WeakVH> &DeadInsts) const { in Expand()
4367 SmallVectorImpl<WeakVH> &DeadInsts, in RewriteForPHI()
4436 SmallVectorImpl<WeakVH> &DeadInsts, in Rewrite()
4475 SmallVector<WeakVH, 16> DeadInsts; in ImplementSolution()
[all …]
DCodeGenPrepare.cpp568 WeakVH IterHandle(CurInstIterator); in OptimizeCallInst()
934 WeakVH IterHandle(CurInstIterator); in OptimizeMemoryInst()
DReassociate.cpp78 SmallVector<WeakVH, 8> RedoInsts;
79 SmallVector<WeakVH, 8> DeadInsts;
DDeadStoreElimination.cpp508 WeakVH NextInst(BBI); in runOnBasicBlock()

12