Home
last modified time | relevance | path

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

12345

/external/llvm/include/llvm/
DValue.h144 use_iterator use_begin() { return use_iterator(UseList); } in use_begin() function
145 const_use_iterator use_begin() const { return const_use_iterator(UseList); } in use_begin() function
148 User *use_back() { return *use_begin(); } in use_back()
149 const User *use_back() const { return *use_begin(); } in use_back()
156 const_use_iterator I = use_begin(), E = use_end(); in hasOneUse()
DInstruction.h48 Instruction *use_back() { return cast<Instruction>(*use_begin());} in use_back()
49 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.cpp182 for (Value::const_use_iterator UI = C->use_begin(), E = C->use_end(); UI != E; in SafeToDestroyConstant()
198 for (Value::const_use_iterator UI = V->use_begin(), E = V->use_end(); UI != E; in AnalyzeGlobal()
397 for (Value::use_iterator UI = GV->use_begin(), E = GV->use_end(); in CleanupPointerRootUsers()
469 for (Value::use_iterator UI = V->use_begin(), E = V->use_end(); UI != E;) { in CleanupConstantGlobalUsers()
567 for (Value::use_iterator I = GEPI->use_begin(), E = GEPI->use_end(); in isSafeSROAElementUse()
635 for (Value::use_iterator I = U->use_begin(), E = U->use_end(); I != E; ++I) in IsUserOfGlobalSafeForSRA()
645 for (Value::use_iterator UI = GV->use_begin(), E = GV->use_end(); in GlobalUsersSafeToSRA()
803 for (Value::const_use_iterator UI = V->use_begin(), E = V->use_end(); UI != E; in AllUsesOfValueWillTrapIfNull()
848 for (Value::const_use_iterator UI = GV->use_begin(), E = GV->use_end(); in AllUsesOfLoadedValueWillTrapIfNull()
869 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()
228 for (Value::use_iterator UI = Callee->use_begin(), E = Callee->use_end(); in AllCallersPassInValidPointerForArgument()
377 for (Value::use_iterator UI = Arg->use_begin(), E = Arg->use_end(); in isSafeToPromoteArgument()
408 for (Value::use_iterator UI = GEP->use_begin(), E = GEP->use_end(); in isSafeToPromoteArgument()
549 for (Value::use_iterator UI = I->use_begin(), E = I->use_end(); UI != E; in DoPromotion()
DDeadArgumentElimination.cpp321 for (Function::use_iterator I = Fn.use_begin(), E = Fn.use_end(); in RemoveDeadArgumentsFromCallers()
399 for (Value::const_use_iterator I = IV->use_begin(), in SurveyUse()
447 for (Value::const_use_iterator I = V->use_begin(), in SurveyUses()
496 for (Value::const_use_iterator I = F.use_begin(), E = F.use_end(); in SurveyFunction()
520 for (Value::const_use_iterator I = TheCall->use_begin(), in SurveyFunction()
/external/llvm/lib/Analysis/
DCaptureTracking.cpp83 for (Value::const_use_iterator UI = V->use_begin(), UE = V->use_end(); in PointerMayBeCaptured()
144 for (Instruction::use_iterator UI = I->use_begin(), UE = I->use_end(); in PointerMayBeCaptured()
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/VMCore/
DValue.cpp70 for (use_iterator I = use_begin(), E = use_end(); I != E; ++I) in ~Value()
89 const_use_iterator UI = use_begin(), E = use_end(); in hasNUses()
100 const_use_iterator UI = use_begin(), E = use_end(); in hasNUsesOrMore()
124 for (const_use_iterator I = use_begin(), E = use_end(); I != E; ++I) { in isUsedInBasicBlock()
137 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()
323 for (Value::use_iterator UI = AI->use_begin(), E = AI->use_end(); in AnalyzeAlloca()
365 for (Value::use_iterator UI = AI->use_begin(), UE = AI->use_end(); in removeLifetimeIntrinsicUsers()
376 for (Value::use_iterator UI = I->use_begin(), UE = I->use_end(); in removeLifetimeIntrinsicUsers()
845 for (Value::use_iterator UI = AI->use_begin(), E = AI->use_end(); UI != E; ) { in RewriteSingleStoreAlloca()
936 for (Value::use_iterator UI = AI->use_begin(), E = AI->use_end(); in PromoteSingleBlockAlloca()
943 for (Value::use_iterator UI = AI->use_begin(), E = AI->use_end(); UI != E;) in PromoteSingleBlockAlloca()
960 for (Value::use_iterator UI = AI->use_begin(), E = AI->use_end(); UI != E;) { in PromoteSingleBlockAlloca()
DLocal.cpp323 Value::use_iterator UI = I->use_begin(); in areAllUsesEqual()
345 I = cast<Instruction>(*I->use_begin())) { in RecursivelyDeleteDeadPHINode()
583 for (Value::use_iterator UI = BBI->use_begin(), E = BBI->use_end(); in TryToSimplifyUncondBranchFromEmptyBlock()
871 for (Value::use_iterator UI = AI->use_begin(), E = AI->use_end(); in LowerDbgDeclare()
890 for (Value::use_iterator UI = DebugNode->use_begin(), in FindAllocaDbgDeclare()
DSimplifyInstructions.cpp68 for (Value::use_iterator UI = I->use_begin(), UE = I->use_end(); in runOnFunction()
DCodeExtractor.cpp173 for (Value::use_iterator UI = II->use_begin(), UE = II->use_end(); in findInputsOutputs()
371 std::vector<User*> Users(inputs[i]->use_begin(), inputs[i]->use_end()); in constructFunction()
391 std::vector<User*> Users(header->use_begin(), header->use_end()); in constructFunction()
407 for (Value::use_iterator UI = Used->use_begin(), in FindPhiPredForUseInBlock()
504 std::vector<User*> Users(outputs[i]->use_begin(), outputs[i]->use_end()); in emitCallAndSwitchStatement()
/external/llvm/include/llvm/CodeGen/
DMachineRegisterInfo.h215 use_iterator use_begin(unsigned RegNo) const { in use_begin() function
222 bool use_empty(unsigned RegNo) const { return use_begin(RegNo) == use_end(); } in use_empty()
227 use_iterator UI = use_begin(RegNo); in hasOneUse()
/external/llvm/tools/opt/
DAnalysisWrappers.cpp40 for (Value::use_iterator UI = I->use_begin(), E = I->use_end(); in runOnModule()
/external/llvm/lib/Target/Hexagon/
DHexagonRemoveSZExtArgs.cpp56 for (Instruction::use_iterator UI = Arg->use_begin(); in runOnFunction()
/external/llvm/lib/Transforms/Scalar/
DConstantProp.cpp81 for (Value::use_iterator UI = I->use_begin(), UE = I->use_end(); in runOnFunction()
DCodeGenPrepare.cpp306 for (Value::const_use_iterator UI = PN->use_begin(), E = PN->use_end(); in CanMergeBlocks()
480 for (Value::use_iterator UI = CI->use_begin(), E = CI->use_end(); in OptimizeNoopCopyExpression()
536 for (Value::use_iterator UI = CI->use_begin(), E = CI->use_end(); in OptimizeCmpExpression()
1106 for (Value::use_iterator UI = I->use_begin(), E = I->use_end(); in OptimizeExtUses()
1120 for (Value::use_iterator UI = Src->use_begin(), E = Src->use_end(); in OptimizeExtUses()
1135 for (Value::use_iterator UI = Src->use_begin(), E = Src->use_end(); in OptimizeExtUses()
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.cpp232 for (use_iterator UI = use_begin(Reg), UE = use_end(); UI != UE; ++UI) in clearKillFlags()
302 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