Home
last modified time | relevance | path

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

12

/external/llvm/unittests/IR/
DValueHandleTest.cpp38 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/
DValueHandle.h145 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/
DXCoreLowerThreadLocal.cpp131 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/
DSimplifyIndVar.h61 LoopInfo *LI, SmallVectorImpl<WeakVH> &Dead,
67 LoopInfo *LI, SmallVectorImpl<WeakVH> &Dead);
DCloning.h80 std::vector<WeakVH> OperandBundleCallSites;
224 SmallVector<WeakVH, 8> InlinedCalls;
DValueMapper.h23 typedef ValueMap<const Value *, WeakVH> ValueToValueMapTy;
/external/llvm/include/llvm/Analysis/
DAssumptionCache.h51 SmallVector<WeakVH, 4> AssumeHandles;
89 MutableArrayRef<WeakVH> assumptions() { in assumptions()
DMemoryBuiltins.h212 typedef std::pair<WeakVH, WeakVH> WeakEvalType;
DIVUsers.h82 WeakVH OperandValToReplace;
DScalarEvolutionExpander.h146 SmallVectorImpl<WeakVH> &DeadInsts,
DCallGraph.h174 typedef std::pair<WeakVH, CallGraphNode *> CallRecord;
/external/llvm/lib/Transforms/Utils/
DSimplifyIndVar.cpp52 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()
DLoopUnroll.cpp495 SmallVector<WeakVH, 16> DeadInsts; in UnrollLoop()
DBasicBlockUtils.cpp93 SmallVector<WeakVH, 8> PHIs; in DeleteDeadPHIs()
DCloneFunction.cpp304 WeakVH &BBEntry = VMap[BB]; in CloneBlock()
/external/llvm/lib/Transforms/IPO/
DMergeFunctions.cpp1384 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()
DFunctionAttrs.cpp90 SmallVector<WeakVH,16> Revisit;
1806 SmallVectorImpl<WeakVH> &Revisit) { in addNoRecurseAttrs()
/external/llvm/lib/Transforms/Scalar/
DNaryReassociate.cpp191 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()
DIndVarSimplify.cpp97 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()
DLoopStrengthReduce.cpp816 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 …]
DDeadStoreElimination.cpp510 WeakVH NextInst(&*BBI); in runOnBasicBlock()
DLoopIdiomRecognize.cpp367 WeakVH InstPtr(&*I); in runOnLoopBlock()
DReassociate.cpp1084 SmallVectorImpl<WeakVH> &Ops){ in EmitAddTreeOfValues()
1649 SmallVector<WeakVH, 4> NewMulOps; in OptimizeAdd()
/external/clang/lib/CodeGen/
DCodeGenModule.h340 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;
DCGDeclCXX.cpp556 const std::vector<std::pair<llvm::WeakVH, llvm::Constant*> > in GenerateCXXGlobalDtorsFunc() argument

12