/external/llvm/lib/Transforms/ObjCARC/ |
ProvenanceAnalysis.h | 35 class SelectInst; 58 bool relatedSelect(const SelectInst *A, const Value *B);
|
ProvenanceAnalysis.cpp | 33 bool ProvenanceAnalysis::relatedSelect(const SelectInst *A, 38 if (const SelectInst *SB = dyn_cast<SelectInst>(B)) 154 if (const SelectInst *S = dyn_cast<SelectInst>(A)) 156 if (const SelectInst *S = dyn_cast<SelectInst>(B))
|
/external/llvm/include/llvm/Transforms/Scalar/ |
SROA.h | 99 SetVector<SelectInst *, SmallVector<SelectInst *, 2>> SpeculatableSelects;
|
/external/llvm/lib/Transforms/InstCombine/ |
InstCombineMulDivRem.cpp | 271 if (SelectInst *SI = dyn_cast<SelectInst>(Op0)) 553 if (SelectInst *SI = dyn_cast<SelectInst>(Op0)) 717 SelectInst *SI = cast<SelectInst>(I.getOperand(1)); 800 if (isa<SelectInst>(Op1) && SimplifyDivRemOfSelect(I)) 873 if (SelectInst *SI = dyn_cast<SelectInst>(Op0)) 893 return SelectInst::Create(Cmp, Op1, ConstantInt::get(I.getType(), 0)) [all...] |
InstCombineSelect.cpp | 121 Instruction *InstCombiner::FoldSelectOpOp(SelectInst &SI, Instruction *TI, 208 Instruction *InstCombiner::FoldSelectIntoOp(SelectInst &SI, Value *TrueVal, 298 static Value *foldSelectICmpAndOr(const SelectInst &SI, Value *TrueVal, 403 /// Visit a SelectInst that has an ICmpInst as its first operand. 404 Instruction *InstCombiner::visitSelectInstWithICmp(SelectInst &SI, 613 const SelectInst &SI) { 697 SelectInst *SI = cast<SelectInst>(Inner); 755 static Value *foldSelectICmpAnd(const SelectInst &SI, ConstantInt *TrueVal, 826 Instruction *InstCombiner::visitSelectInst(SelectInst &SI) [all...] |
InstCombineInternal.h | 302 Instruction *FoldSelectOpOp(SelectInst &SI, Instruction *TI, Instruction *FI); 303 Instruction *FoldSelectIntoOp(SelectInst &SI, Value *, Value *); 308 Instruction *visitSelectInst(SelectInst &SI); 309 Instruction *visitSelectInstWithICmp(SelectInst &SI, ICmpInst *ICI); 341 bool replacedSelectWithOperand(SelectInst *SI, const ICmpInst *Icmp, 351 Instruction *FoldOpIntoSelect(Instruction &Op, SelectInst *SI);
|
InstCombineAddSub.cpp | [all...] |
InstCombineShifts.cpp | 34 if (SelectInst *SI = dyn_cast<SelectInst>(Op1)) 168 SelectInst *SI = cast<SelectInst>(I); 362 if (SelectInst *SI = dyn_cast<SelectInst>(Op0)) [all...] |
InstCombineLoadStoreAlloca.cpp | 597 if (SelectInst *SI = dyn_cast<SelectInst>(P)) { [all...] |
InstCombineCasts.cpp | 207 Res = SelectInst::Create(I->getOperand(0), True, False); 303 if (SelectInst *SI = dyn_cast<SelectInst>(Src)) 411 SelectInst *SI = cast<SelectInst>(I); 486 if (SelectInst *SI = dyn_cast<SelectInst>(CI.getOperand(0))) [all...] |
InstCombineAndOrXor.cpp | [all...] |
/external/llvm/lib/Transforms/Utils/ |
LoopUtils.cpp | 248 if (!Cur->isCommutative() && !IsAPhi && !isa<SelectInst>(Cur) && 272 (isa<ICmpInst>(Cur) || isa<SelectInst>(Cur))) 274 if (Kind == RK_FloatMinMax && (isa<FCmpInst>(Cur) || isa<SelectInst>(Cur))) 319 !isa<SelectInst>(UI)) || 368 assert((isa<ICmpInst>(I) || isa<FCmpInst>(I) || isa<SelectInst>(I)) && 371 SelectInst *Select = nullptr; 376 if (!Cmp->hasOneUse() || !(Select = dyn_cast<SelectInst>(*I->user_begin()))) 382 if (!(Select = dyn_cast<SelectInst>(I)))
|
GlobalStatus.cpp | 134 } else if (isa<SelectInst>(I)) {
|
SimplifyIndVar.cpp | 270 SelectInst *Sel = 271 SelectInst::Create(ICmp,
|
/external/llvm/lib/Transforms/Scalar/ |
CorrelatedValuePropagation.cpp | 43 bool processSelect(SelectInst *SI); 81 bool CorrelatedValuePropagation::processSelect(SelectInst *S) { 119 SelectInst *SI = dyn_cast<SelectInst>(Incoming); 374 BBChanged |= processSelect(cast<SelectInst>(II));
|
RewriteStatepointsForGC.cpp | 410 assert((isa<SelectInst>(I) || isa<PHINode>(I)) && 546 assert((isa<SelectInst>(I) || isa<PHINode>(I)) && 579 if (!isa<PHINode>(V) && !isa<SelectInst>(V) && 749 return isa<PHINode>(BDV) || isa<SelectInst>(BDV) || 785 } else if (SelectInst *Sel = dyn_cast<SelectInst>(Current)) { [all...] |
SROA.cpp | 596 static Value *foldSelectInst(SelectInst &SI) { 614 return foldSelectInst(cast<SelectInst>(I)); [all...] |
ScalarReplAggregates.cpp | [all...] |
/external/llvm/include/llvm/Analysis/ |
MemoryBuiltins.h | 198 SizeOffsetType visitSelectInst(SelectInst &I); 261 SizeOffsetEvalType visitSelectInst(SelectInst &I);
|
BasicAliasAnalysis.h | 172 AliasResult aliasSelect(const SelectInst *SI, uint64_t SISize,
|
/external/llvm/lib/Analysis/ |
BasicAliasAnalysis.cpp | 504 if (const SelectInst *SI = dyn_cast<SelectInst>(V)) { [all...] |
InstructionSimplify.cpp | 303 SelectInst *SI; 304 if (isa<SelectInst>(LHS)) { 305 SI = cast<SelectInst>(LHS); 307 assert(isa<SelectInst>(RHS) && "No select instruction operand!"); 308 SI = cast<SelectInst>(RHS); 377 if (!isa<SelectInst>(LHS)) { 381 assert(isa<SelectInst>(LHS) && "Not comparing with a select instruction!"); 382 SelectInst *SI = cast<SelectInst>(LHS); [all...] |
CostModel.cpp | 417 const SelectInst *SI = cast<SelectInst>(I);
|
/external/llvm/lib/CodeGen/ |
StackProtector.cpp | 167 } else if (const SelectInst *SI = dyn_cast<SelectInst>(U)) {
|
/external/llvm/lib/ExecutionEngine/Interpreter/ |
Interpreter.h | 169 void visitSelectInst(SelectInst &I);
|