Home
last modified time | relevance | path

Searched refs:use_begin (Results 1 – 25 of 122) sorted by relevance

12345

/external/llvm/include/llvm/IR/
DValue.h145 use_iterator use_begin() { return use_iterator(UseList); } in use_begin() function
146 const_use_iterator use_begin() const { return const_use_iterator(UseList); } in use_begin() function
149 User *use_back() { return *use_begin(); } in use_back()
150 const User *use_back() const { return *use_begin(); } in use_back()
157 const_use_iterator I = use_begin(), E = use_end(); in hasOneUse()
DInstruction.h49 Instruction *use_back() { return cast<Instruction>(*use_begin());} in use_back()
50 const Instruction *use_back() const { return cast<Instruction>(*use_begin());} in use_back()
/external/llvm/include/llvm/Support/
DDataFlow.h35 return N->use_begin();
52 return N->use_begin();
/external/llvm/lib/Transforms/IPO/
DIPConstantPropagation.cpp89 for (Value::use_iterator UI = F.use_begin(), E = F.use_end(); UI != E; ++UI) { in PropagateConstantsIntoArguments()
223 for (Value::use_iterator UI = F.use_begin(), E = F.use_end(); UI != E; ++UI) { in PropagateConstantReturn()
248 for (Value::use_iterator I = Call->use_begin(), E = Call->use_end(); in PropagateConstantReturn()
DGlobalOpt.cpp178 for (Value::const_use_iterator UI = C->use_begin(), E = C->use_end(); UI != E; in SafeToDestroyConstant()
194 for (Value::const_use_iterator UI = V->use_begin(), E = V->use_end(); UI != E; in AnalyzeGlobal()
401 for (Value::use_iterator UI = GV->use_begin(), E = GV->use_end(); in CleanupPointerRootUsers()
473 for (Value::use_iterator UI = V->use_begin(), E = V->use_end(); UI != E;) { in CleanupConstantGlobalUsers()
571 for (Value::use_iterator I = GEPI->use_begin(), E = GEPI->use_end(); in isSafeSROAElementUse()
639 for (Value::use_iterator I = U->use_begin(), E = U->use_end(); I != E; ++I) in IsUserOfGlobalSafeForSRA()
649 for (Value::use_iterator UI = GV->use_begin(), E = GV->use_end(); in GlobalUsersSafeToSRA()
807 for (Value::const_use_iterator UI = V->use_begin(), E = V->use_end(); UI != E; in AllUsesOfValueWillTrapIfNull()
852 for (Value::const_use_iterator UI = GV->use_begin(), E = GV->use_end(); in AllUsesOfLoadedValueWillTrapIfNull()
873 for (Value::use_iterator UI = V->use_begin(), E = V->use_end(); UI != E; ) { in OptimizeAwayTrappingUsesOfValue()
[all …]
DPartialInlining.cpp131 std::vector<User*> Users(duplicateFunction->use_begin(), in unswitchFunction()
165 for (Function::use_iterator UI = currFunc->use_begin(), in runOnModule()
DArgumentPromotion.cpp141 for (Value::use_iterator UI = F->use_begin(), E = F->use_end(); in PromoteArguments()
229 for (Value::use_iterator UI = Callee->use_begin(), E = Callee->use_end(); in AllCallersPassInValidPointerForArgument()
378 for (Value::use_iterator UI = Arg->use_begin(), E = Arg->use_end(); in isSafeToPromoteArgument()
409 for (Value::use_iterator UI = GEP->use_begin(), E = GEP->use_end(); in isSafeToPromoteArgument()
555 for (Value::use_iterator UI = I->use_begin(), E = I->use_end(); UI != E; in DoPromotion()
DDeadArgumentElimination.cpp367 for (Function::use_iterator I = Fn.use_begin(), E = Fn.use_end(); in RemoveDeadArgumentsFromCallers()
445 for (Value::const_use_iterator I = IV->use_begin(), in SurveyUse()
493 for (Value::const_use_iterator I = V->use_begin(), in SurveyUses()
542 for (Value::const_use_iterator I = F.use_begin(), E = F.use_end(); in SurveyFunction()
566 for (Value::const_use_iterator I = TheCall->use_begin(), in SurveyFunction()
/external/llvm/lib/Analysis/
DCaptureTracking.cpp88 for (Value::const_use_iterator UI = V->use_begin(), UE = V->use_end(); in PointerMayBeCaptured()
149 for (Instruction::use_iterator UI = I->use_begin(), UE = I->use_end(); in PointerMayBeCaptured()
DPtrUseVisitor.cpp19 for (Value::use_iterator UI = I.use_begin(), UE = I.use_end(); in enqueueUsers()
DPHITransAddr.cpp205 for (Value::use_iterator UI = PHIIn->use_begin(), E = PHIIn->use_end(); in PHITranslateSubExpr()
241 for (Value::use_iterator UI = APHIOp->use_begin(), E = APHIOp->use_end(); in PHITranslateSubExpr()
300 for (Value::use_iterator UI = LHS->use_begin(), E = LHS->use_end(); in PHITranslateSubExpr()
/external/llvm/lib/IR/
DValue.cpp74 for (use_iterator I = use_begin(), E = use_end(); I != E; ++I) in ~Value()
93 const_use_iterator UI = use_begin(), E = use_end(); in hasNUses()
104 const_use_iterator UI = use_begin(), E = use_end(); in hasNUsesOrMore()
128 for (const_use_iterator I = use_begin(), E = use_end(); I != E; ++I) { in isUsedInBasicBlock()
141 return (unsigned)std::distance(use_begin(), use_end()); in getNumUses()
/external/llvm/lib/Transforms/Utils/
DPromoteMemoryToRegister.cpp87 for (Value::const_use_iterator UI = AI->use_begin(), UE = AI->use_end(); in isAllocaPromotable()
327 for (Value::use_iterator UI = AI->use_begin(), E = AI->use_end(); in AnalyzeAlloca()
369 for (Value::use_iterator UI = AI->use_begin(), UE = AI->use_end(); in removeLifetimeIntrinsicUsers()
380 for (Value::use_iterator UI = I->use_begin(), UE = I->use_end(); in removeLifetimeIntrinsicUsers()
853 for (Value::use_iterator UI = AI->use_begin(), E = AI->use_end(); UI != E; ) { in RewriteSingleStoreAlloca()
944 for (Value::use_iterator UI = AI->use_begin(), E = AI->use_end(); in PromoteSingleBlockAlloca()
951 for (Value::use_iterator UI = AI->use_begin(), E = AI->use_end(); UI != E;) in PromoteSingleBlockAlloca()
968 for (Value::use_iterator UI = AI->use_begin(), E = AI->use_end(); UI != E;) { in PromoteSingleBlockAlloca()
DSimplifyInstructions.cpp68 for (Value::use_iterator UI = I->use_begin(), UE = I->use_end(); in runOnFunction()
DLocal.cpp358 Value::use_iterator UI = I->use_begin(); in areAllUsesEqual()
380 I = cast<Instruction>(*I->use_begin())) { in RecursivelyDeleteDeadPHINode()
618 for (Value::use_iterator UI = BBI->use_begin(), E = BBI->use_end(); in TryToSimplifyUncondBranchFromEmptyBlock()
906 for (Value::use_iterator UI = AI->use_begin(), E = AI->use_end(); in LowerDbgDeclare()
925 for (Value::use_iterator UI = DebugNode->use_begin(), in FindAllocaDbgDeclare()
DCodeExtractor.cpp174 for (Value::use_iterator UI = II->use_begin(), UE = II->use_end(); in findInputsOutputs()
372 std::vector<User*> Users(inputs[i]->use_begin(), inputs[i]->use_end()); in constructFunction()
392 std::vector<User*> Users(header->use_begin(), header->use_end()); in constructFunction()
408 for (Value::use_iterator UI = Used->use_begin(), in FindPhiPredForUseInBlock()
505 std::vector<User*> Users(outputs[i]->use_begin(), outputs[i]->use_end()); in emitCallAndSwitchStatement()
/external/llvm/include/llvm/CodeGen/
DMachineRegisterInfo.h217 use_iterator use_begin(unsigned RegNo) const { in use_begin() function
224 bool use_empty(unsigned RegNo) const { return use_begin(RegNo) == use_end(); } in use_empty()
229 use_iterator UI = use_begin(RegNo); in hasOneUse()
/external/llvm/lib/Target/Hexagon/
DHexagonRemoveSZExtArgs.cpp57 for (Instruction::use_iterator UI = Arg->use_begin(); in runOnFunction()
/external/llvm/tools/opt/
DAnalysisWrappers.cpp40 for (Value::use_iterator UI = I->use_begin(), E = I->use_end(); in runOnModule()
/external/llvm/lib/Transforms/Scalar/
DConstantProp.cpp81 for (Value::use_iterator UI = I->use_begin(), UE = I->use_end(); in runOnFunction()
DReg2Mem.cpp50 for (Value::const_use_iterator UI = Inst->use_begin(),E = Inst->use_end(); in valueEscapes()
/external/llvm/lib/Target/NVPTX/
DNVPTXLowerAggrCopies.cpp130 User *use = *(load->use_begin()); in runOnFunction()
169 StoreInst *store = dyn_cast<StoreInst>(*load->use_begin()); in runOnFunction()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineWorklist.h88 for (Value::use_iterator UI = I.use_begin(), UE = I.use_end(); in AddUsersToWorkList()
/external/llvm/lib/CodeGen/
DMachineRegisterInfo.cpp276 for (use_iterator UI = use_begin(Reg), UE = use_end(); UI != UE; ++UI) in clearKillFlags()
339 for (use_iterator I = use_begin(Reg), E = use_end(); I != E; ++I) in dumpUses()
/external/llvm/lib/Bitcode/Writer/
DValueEnumerator.cpp156 OS << " Uses(" << std::distance(V->use_begin(),V->use_end()) << "):"; in print()
157 for (Value::const_use_iterator UI = V->use_begin(), UE = V->use_end(); in print()
159 if (UI != V->use_begin()) in print()

12345