Home
last modified time | relevance | path

Searched refs:WeakVH (Results 1 – 25 of 34) 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.h141 class WeakVH : public ValueHandleBase {
143 WeakVH() : ValueHandleBase(Weak) {} in WeakVH() function
144 WeakVH(Value *P) : ValueHandleBase(Weak, P) {} in WeakVH() function
145 WeakVH(const WeakVH &RHS) in WeakVH() function
162 template<> struct simplify_type<WeakVH> {
164 static SimpleType getSimplifiedValue(WeakVH &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 SmallVectorImpl<WeakVH> &Dead, IVVisitor *V = nullptr);
66 SmallVectorImpl<WeakVH> &Dead);
DValueMapper.h23 typedef ValueMap<const Value *, WeakVH> ValueToValueMapTy;
DCloning.h211 SmallVector<WeakVH, 8> InlinedCalls;
/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.h81 WeakVH OperandValToReplace;
DScalarEvolutionExpander.h141 SmallVectorImpl<WeakVH> &DeadInsts,
DCallGraph.h169 typedef std::pair<WeakVH, CallGraphNode *> CallRecord;
/external/llvm/lib/Transforms/IPO/
DMergeFunctions.cpp1079 std::vector<WeakVH> Deferred;
1083 bool doSanityCheck(std::vector<WeakVH> &Worklist);
1133 bool MergeFunctions::doSanityCheck(std::vector<WeakVH> &Worklist) { in doSanityCheck()
1141 for (std::vector<WeakVH>::iterator I = Worklist.begin(), E = Worklist.end(); in doSanityCheck()
1144 for (std::vector<WeakVH>::iterator J = I; J != E && j < Max; ++J, ++j) { in doSanityCheck()
1163 for (std::vector<WeakVH>::iterator K = J; K != E && k < Max; in doSanityCheck()
1210 Deferred.push_back(WeakVH(I)); in runOnModule()
1214 std::vector<WeakVH> Worklist; in runOnModule()
1224 for (std::vector<WeakVH>::iterator I = Worklist.begin(), in runOnModule()
1238 for (std::vector<WeakVH>::iterator I = Worklist.begin(), in runOnModule()
/external/llvm/lib/Transforms/Utils/
DSimplifyIndVar.cpp52 SmallVectorImpl<WeakVH> &DeadInsts;
58 SmallVectorImpl<WeakVH> &Dead, IVUsers *IVU = nullptr) in SimplifyIndvar()
518 SmallVectorImpl<WeakVH> &Dead, IVVisitor *V) in simplifyUsersOfIV()
529 SmallVectorImpl<WeakVH> &Dead) { in simplifyLoopIVs()
DLocal.cpp436 WeakVH BIHandle(BI); in SimplifyInstructionsInBlock()
477 WeakVH PhiIt = &BB->front(); in RemovePredecessorAndSimplify()
DLoopUnroll.cpp498 SmallVector<WeakVH, 16> DeadInsts; in UnrollLoop()
DCloneFunction.cpp297 WeakVH &BBEntry = VMap[BB]; in CloneBlock()
DBasicBlockUtils.cpp95 SmallVector<WeakVH, 8> PHIs; in DeleteDeadPHIs()
/external/clang/lib/CodeGen/
DCodeGenModule.h348 std::vector<llvm::WeakVH> LLVMUsed;
349 std::vector<llvm::WeakVH> LLVMCompilerUsed;
421 std::vector<std::pair<llvm::WeakVH,llvm::Constant*> > CXXGlobalDtors;
434 llvm::WeakVH CFConstantStringClassRef;
438 llvm::WeakVH ConstantStringClassRef;
DCGDeclCXX.cpp546 const std::vector<std::pair<llvm::WeakVH, llvm::Constant*> > in GenerateCXXGlobalDtorsFunc() argument
/external/llvm/lib/Transforms/Scalar/
DIndVarSimplify.cpp79 SmallVector<WeakVH, 16> DeadInsts;
416 WeakVH WeakPH = PN; in HandleFloatingPointIV()
451 SmallVector<WeakVH, 8> PHIs; in RewriteNonIntegerIVs()
739 SmallVectorImpl<WeakVH> &DeadInsts;
747 SmallVectorImpl<WeakVH> &DI) : in WidenIV()
DLoopStrengthReduce.cpp811 DeleteTriviallyDeadInstructions(SmallVectorImpl<WeakVH> &DeadInsts) { in DeleteTriviallyDeadInstructions()
1703 SmallVectorImpl<WeakVH> &DeadInsts);
1787 SmallVectorImpl<WeakVH> &DeadInsts) const;
1791 SmallVectorImpl<WeakVH> &DeadInsts,
1796 SmallVectorImpl<WeakVH> &DeadInsts,
2871 SmallVectorImpl<WeakVH> &DeadInsts) { in GenerateIVChain()
4522 SmallVectorImpl<WeakVH> &DeadInsts) const { in Expand()
4709 SmallVectorImpl<WeakVH> &DeadInsts, in RewriteForPHI()
4784 SmallVectorImpl<WeakVH> &DeadInsts, in Rewrite()
4823 SmallVector<WeakVH, 16> DeadInsts; in ImplementSolution()
[all …]
DLoopIdiomRecognize.cpp698 WeakVH InstPtr(I); in runOnLoopBlock()
711 WeakVH InstPtr(I); in runOnLoopBlock()
DDeadStoreElimination.cpp512 WeakVH NextInst(BBI); in runOnBasicBlock()
DReassociate.cpp1100 SmallVectorImpl<WeakVH> &Ops){ in EmitAddTreeOfValues()
1666 SmallVector<WeakVH, 4> NewMulOps; in OptimizeAdd()
DLoopUnswitch.cpp911 WeakVH LICHandle(LIC); in UnswitchNontrivialCondition()

12