/external/llvm/unittests/IR/ |
D | PatternMatch.cpp | 80 Value *Select = Builder.CreateSelect(Cmp, L, R); in TEST() 85 Select = Builder.CreateSelect(Cmp, L, R); in TEST() 90 Select = Builder.CreateSelect(Cmp, L, R); in TEST() 95 Select = Builder.CreateSelect(Cmp, L, R); in TEST() 100 Select = Builder.CreateSelect(Cmp, R, L); in TEST() 105 Select = Builder.CreateSelect(Cmp, R, L); in TEST() 119 Value *Select = Builder.CreateSelect(Cmp, L, R); in TEST() 124 Select = Builder.CreateSelect(Cmp, L, R); in TEST() 129 Select = Builder.CreateSelect(Cmp, L, R); in TEST() 134 Select = Builder.CreateSelect(Cmp, L, R); in TEST() [all …]
|
/external/llvm/lib/Transforms/Scalar/ |
D | LowerAtomic.cpp | 31 Value *Res = Builder.CreateSelect(Equal, Val, Orig); in LowerAtomicCmpXchgInst() 71 Res = Builder.CreateSelect(Builder.CreateICmpSLT(Orig, Val), in LowerAtomicRMWInst() 75 Res = Builder.CreateSelect(Builder.CreateICmpSLT(Orig, Val), in LowerAtomicRMWInst() 79 Res = Builder.CreateSelect(Builder.CreateICmpULT(Orig, Val), in LowerAtomicRMWInst() 83 Res = Builder.CreateSelect(Builder.CreateICmpULT(Orig, Val), in LowerAtomicRMWInst()
|
D | SROA.cpp | 1146 Value *V = IRB.CreateSelect(SI.getCondition(), TL, FL, in speculateSelectInstLoads() 1824 V = IRB.CreateSelect(ConstantVector::get(Mask), V, Old, Name + "blend"); in insertVector()
|
D | ScalarReplAggregates.cpp | 1345 Value *V = Builder.CreateSelect(SI->getCondition(), TrueLoad, FalseLoad); in tryToMakeAllocaBePromotable()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineSelect.cpp | 144 Value *NewSI = Builder->CreateSelect(SI.getCondition(), TI->getOperand(0), in FoldSelectOpOp() 184 Value *NewSI = Builder->CreateSelect(SI.getCondition(), OtherOpT, in FoldSelectOpOp() 232 Value *NewSel = Builder->CreateSelect(SI.getCondition(), OOp, C); in FoldSelectIntoOp() 267 Value *NewSel = Builder->CreateSelect(SI.getCondition(), C, OOp); in FoldSelectIntoOp() 913 Builder->CreateSelect(CondVal, NewTrueOp, in visitSelectInst()
|
D | InstructionCombining.cpp | 705 InV = Builder->CreateSelect(PN->getIncomingValue(i), in FoldOpIntoPhi()
|
/external/llvm/include/llvm/Support/ |
D | ConstantFolder.h | 207 Constant *CreateSelect(Constant *C, Constant *True, Constant *False) const { in CreateSelect() function
|
D | TargetFolder.h | 231 Constant *CreateSelect(Constant *C, Constant *True, Constant *False) const { in CreateSelect() function
|
D | NoFolder.h | 266 Instruction *CreateSelect(Constant *C, in CreateSelect() function
|
/external/llvm/lib/Analysis/ |
D | MemoryBuiltins.cpp | 781 Value *Size = Builder.CreateSelect(I.getCondition(), TrueSide.first, in visitSelectInst() 783 Value *Offset = Builder.CreateSelect(I.getCondition(), TrueSide.second, in visitSelectInst()
|
D | ScalarEvolutionExpander.cpp | 1442 Value *Sel = Builder.CreateSelect(ICmp, LHS, RHS, "smax"); in visitSMaxExpr() 1466 Value *Sel = Builder.CreateSelect(ICmp, LHS, RHS, "umax"); in visitUMaxExpr()
|
/external/llvm/lib/Target/NVPTX/ |
D | NVPTXGenericToNVVM.cpp | 348 return Builder.CreateSelect(NewOperands[0], NewOperands[1], NewOperands[2]); in remapConstantExpr()
|
/external/llvm/lib/Transforms/Utils/ |
D | IntegerDivision.cpp | 218 Value *RetVal = Builder.CreateSelect(Ret0, Zero, Dividend); in generateUnsignedDivisionCode()
|
D | SimplifyCFG.cpp | 1105 (Builder.CreateSelect(BI->getCondition(), BB1V, BB2V, in HoistThenElseCodeToIf() 1521 Value *S = Builder.CreateSelect(BrCond, TrueV, FalseV, TrueV->getName() + in SpeculativelyExecuteBB() 1549 Value *V = Builder.CreateSelect(BrCond, TrueV, FalseV, in SpeculativelyExecuteBB() 1803 cast<SelectInst>(Builder.CreateSelect(IfCond, TrueVal, FalseVal, "")); in FoldTwoEntryPHINode() 1888 TrueValue = Builder.CreateSelect(BrCond, TrueValue, in SimplifyCondBranchToTwoReturns() 2448 (Builder.CreateSelect(PBICond, PBIV, BIV, PBIV->getName()+".mux")); in SimplifyCondBranchToCondBranch()
|
D | SimplifyLibCalls.cpp | 1161 Value *Sel = B.CreateSelect(FCmp, Inf, FAbs); in callOptimizer() 1265 return B.CreateSelect(Cond, V, B.getInt32(0)); in callOptimizer() 1283 return B.CreateSelect(Pos, Op, Neg); in callOptimizer()
|
/external/llvm/lib/Transforms/Instrumentation/ |
D | MemorySanitizer.cpp | 1061 Origin = IRB.CreateSelect(Cond, OpOrigin, Origin); in Add() 1746 setShadow(&I, IRB.CreateSelect(I.getCondition(), in visitSelectInst() 1758 setOrigin(&I, IRB.CreateSelect(Cond, in visitSelectInst()
|
D | GCOVProfiling.cpp | 531 Value *Sel = Builder.CreateSelect(BI->getCondition(), in emitProfileArcs()
|
/external/llvm/lib/Transforms/Vectorize/ |
D | LoopVectorize.cpp | 1924 Value *Select = Builder.CreateSelect(Cmp, Left, Right, "rdx.minmax.select"); in createMinMaxOp() 2253 Entry[part] = Builder.CreateSelect(Cond[part], In0[part], in vectorizeBlockInLoop() 2258 Entry[part] = Builder.CreateSelect(Cond[part], In0[part], in vectorizeBlockInLoop() 2419 Entry[Part] = Builder.CreateSelect( in vectorizeBlockInLoop()
|
D | SLPVectorizer.cpp | 1292 Value *V = Builder.CreateSelect(Cond, True, False); in vectorizeTree()
|
/external/llvm/include/llvm/IR/ |
D | IRBuilder.h | 1290 Value *CreateSelect(Value *C, Value *True, Value *False, 1295 return Insert(Folder.CreateSelect(CC, TC, FC), Name);
|
/external/clang/lib/CodeGen/ |
D | MicrosoftCXXABI.cpp | 1125 return Builder.CreateSelect(IsNotNull, Src, DstNull); in EmitMemberPointerConversion()
|
D | CGBuiltin.cpp | 250 Builder.CreateSelect(CmpResult, ArgValue, NegOp, "abs"); in EmitBuiltinExpr() 338 Value *Result = Builder.CreateSelect(IsZero, Zero, Tmp, "ffs"); in EmitBuiltinExpr() 594 Builder.CreateSelect(IsNormal, EmitScalarExpr(E->getArg(2)), in EmitBuiltinExpr()
|
D | ItaniumCXXABI.cpp | 434 return Builder.CreateSelect(isNull, src, dst); in EmitMemberPointerConversion()
|
D | CGExprCXX.cpp | 798 size = CGF.Builder.CreateSelect(hasOverflow, in EmitCXXNewAllocSize()
|
D | CGCall.cpp | 1950 finalArgument = CGF.Builder.CreateSelect(isNull, in emitWritebackArg()
|