/external/llvm/unittests/IR/ |
D | ValueHandleTest.cpp | 38 WeakVH WVH(BitcastV.get()); in TEST_F() 50 WeakVH BitcastWVH(BitcastV.get()); in TEST_F() 51 WeakVH ConstantWVH(ConstantV); in TEST_F() 83 WeakVH WVH(BitcastV.get()); in TEST_F() 84 WeakVH WVH_Copy(WVH); in TEST_F() 85 WeakVH WVH_Recreated(BitcastV.get()); in TEST_F() 93 WeakVH WVH(BitcastV.get()); in TEST_F() 94 WeakVH WVH_Copy(WVH); in TEST_F() 95 WeakVH WVH_Recreated(BitcastV.get()); in TEST_F() 344 std::unique_ptr<WeakVH> ToClear[2]; in TEST_F() [all …]
|
/external/llvm/include/llvm/IR/ |
D | ValueHandle.h | 145 class WeakVH : public ValueHandleBase { 147 WeakVH() : ValueHandleBase(Weak) {} in WeakVH() function 148 WeakVH(Value *P) : ValueHandleBase(Weak, P) {} in WeakVH() function 149 WeakVH(const WeakVH &RHS) in WeakVH() function 152 WeakVH &operator=(const WeakVH &RHS) = default; 168 template <> struct simplify_type<WeakVH> { 170 static SimpleType getSimplifiedValue(WeakVH &WVH) { return WVH; } 172 template <> struct simplify_type<const WeakVH> { 174 static SimpleType getSimplifiedValue(const WeakVH &WVH) { return WVH; }
|
/external/llvm/lib/Target/XCore/ |
D | XCoreLowerThreadLocal.cpp | 131 SmallVector<WeakVH,8> WUsers(CE->user_begin(), CE->user_end()); in replaceConstantExprOp() 135 if (WeakVH WU = WUsers.pop_back_val()) { in replaceConstantExprOp() 162 SmallVector<WeakVH,8> WUsers; in rewriteNonInstructionUses() 165 WUsers.push_back(WeakVH(U)); in rewriteNonInstructionUses() 167 if (WeakVH WU = WUsers.pop_back_val()) { in rewriteNonInstructionUses()
|
/external/llvm/include/llvm/Transforms/Utils/ |
D | SimplifyIndVar.h | 61 LoopInfo *LI, SmallVectorImpl<WeakVH> &Dead, 67 LoopInfo *LI, SmallVectorImpl<WeakVH> &Dead);
|
D | Cloning.h | 80 std::vector<WeakVH> OperandBundleCallSites; 224 SmallVector<WeakVH, 8> InlinedCalls;
|
D | ValueMapper.h | 23 typedef ValueMap<const Value *, WeakVH> ValueToValueMapTy;
|
/external/llvm/include/llvm/Analysis/ |
D | AssumptionCache.h | 51 SmallVector<WeakVH, 4> AssumeHandles; 89 MutableArrayRef<WeakVH> assumptions() { in assumptions()
|
D | MemoryBuiltins.h | 212 typedef std::pair<WeakVH, WeakVH> WeakEvalType;
|
D | IVUsers.h | 82 WeakVH OperandValToReplace;
|
D | ScalarEvolutionExpander.h | 146 SmallVectorImpl<WeakVH> &DeadInsts,
|
D | CallGraph.h | 174 typedef std::pair<WeakVH, CallGraphNode *> CallRecord;
|
/external/llvm/lib/Transforms/Utils/ |
D | SimplifyIndVar.cpp | 52 SmallVectorImpl<WeakVH> &DeadInsts; 58 LoopInfo *LI,SmallVectorImpl<WeakVH> &Dead) in SimplifyIndvar() 598 LoopInfo *LI, SmallVectorImpl<WeakVH> &Dead, in simplifyUsersOfIV() 608 LoopInfo *LI, SmallVectorImpl<WeakVH> &Dead) { in simplifyLoopIVs()
|
D | LoopUnroll.cpp | 495 SmallVector<WeakVH, 16> DeadInsts; in UnrollLoop()
|
D | BasicBlockUtils.cpp | 93 SmallVector<WeakVH, 8> PHIs; in DeleteDeadPHIs()
|
D | CloneFunction.cpp | 304 WeakVH &BBEntry = VMap[BB]; in CloneBlock()
|
/external/llvm/lib/Transforms/IPO/ |
D | MergeFunctions.cpp | 1384 std::vector<WeakVH> Deferred; 1388 bool doSanityCheck(std::vector<WeakVH> &Worklist); 1447 bool MergeFunctions::doSanityCheck(std::vector<WeakVH> &Worklist) { in doSanityCheck() 1455 for (std::vector<WeakVH>::iterator I = Worklist.begin(), E = Worklist.end(); in doSanityCheck() 1458 for (std::vector<WeakVH>::iterator J = I; J != E && j < Max; ++J, ++j) { in doSanityCheck() 1477 for (std::vector<WeakVH>::iterator K = J; K != E && k < Max; in doSanityCheck() 1545 Deferred.push_back(WeakVH(I->second)); in runOnModule() 1550 std::vector<WeakVH> Worklist; in runOnModule() 1560 for (std::vector<WeakVH>::iterator I = Worklist.begin(), in runOnModule() 1574 for (std::vector<WeakVH>::iterator I = Worklist.begin(), in runOnModule()
|
D | FunctionAttrs.cpp | 90 SmallVector<WeakVH,16> Revisit; 1806 SmallVectorImpl<WeakVH> &Revisit) { in addNoRecurseAttrs()
|
/external/llvm/lib/Transforms/Scalar/ |
D | NaryReassociate.cpp | 191 DenseMap<const SCEV *, SmallVector<WeakVH, 2>> SeenExprs; 263 SeenExprs[NewSCEV].push_back(WeakVH(&*I)); in doOneIteration() 283 SeenExprs[OldSCEV].push_back(WeakVH(&*I)); in doOneIteration()
|
D | IndVarSimplify.cpp | 97 SmallVector<WeakVH, 16> DeadInsts; 448 WeakVH WeakPH = PN; in handleFloatingPointIV() 483 SmallVector<WeakVH, 8> PHIs; in rewriteNonIntegerIVs() 867 SmallVectorImpl<WeakVH> &DeadInsts; 875 SmallVectorImpl<WeakVH> &DI) : in WidenIV()
|
D | LoopStrengthReduce.cpp | 816 DeleteTriviallyDeadInstructions(SmallVectorImpl<WeakVH> &DeadInsts) { in DeleteTriviallyDeadInstructions() 1692 SmallVectorImpl<WeakVH> &DeadInsts); 1775 SmallVectorImpl<WeakVH> &DeadInsts) const; 1779 SmallVectorImpl<WeakVH> &DeadInsts) const; 1783 SmallVectorImpl<WeakVH> &DeadInsts) const; 2849 SmallVectorImpl<WeakVH> &DeadInsts) { in GenerateIVChain() 4449 SmallVectorImpl<WeakVH> &DeadInsts) const { in Expand() 4634 SmallVectorImpl<WeakVH> &DeadInsts) const { in RewriteForPHI() 4708 SmallVectorImpl<WeakVH> &DeadInsts) const { in Rewrite() 4746 SmallVector<WeakVH, 16> DeadInsts; in ImplementSolution() [all …]
|
D | DeadStoreElimination.cpp | 510 WeakVH NextInst(&*BBI); in runOnBasicBlock()
|
D | LoopIdiomRecognize.cpp | 367 WeakVH InstPtr(&*I); in runOnLoopBlock()
|
D | Reassociate.cpp | 1084 SmallVectorImpl<WeakVH> &Ops){ in EmitAddTreeOfValues() 1649 SmallVector<WeakVH, 4> NewMulOps; in OptimizeAdd()
|
/external/clang/lib/CodeGen/ |
D | CodeGenModule.h | 340 std::vector<llvm::WeakVH> LLVMUsed; 341 std::vector<llvm::WeakVH> LLVMCompilerUsed; 412 std::vector<std::pair<llvm::WeakVH,llvm::Constant*> > CXXGlobalDtors; 425 llvm::WeakVH CFConstantStringClassRef; 429 llvm::WeakVH ConstantStringClassRef;
|
D | CGDeclCXX.cpp | 556 const std::vector<std::pair<llvm::WeakVH, llvm::Constant*> > in GenerateCXXGlobalDtorsFunc() argument
|