/external/llvm/unittests/IR/ |
D | PatternMatch.cpp | 76 .match(IRB.CreateSelect(IRB.CreateFCmpOLT(L, R), L, R))); in TEST_F() 82 .match(IRB.CreateSelect(IRB.CreateFCmpOLE(L, R), L, R))); in TEST_F() 88 .match(IRB.CreateSelect(IRB.CreateFCmpOGE(L, R), L, R))); in TEST_F() 92 .match(IRB.CreateSelect(IRB.CreateFCmpOGT(L, R), L, R))); in TEST_F() 96 .match(IRB.CreateSelect(IRB.CreateFCmpOGE(L, R), R, L))); in TEST_F() 102 .match(IRB.CreateSelect(IRB.CreateFCmpOGT(L, R), R, L))); in TEST_F() 115 .match(IRB.CreateSelect(IRB.CreateFCmpOGT(L, R), L, R))); in TEST_F() 121 .match(IRB.CreateSelect(IRB.CreateFCmpOGE(L, R), L, R))); in TEST_F() 127 .match(IRB.CreateSelect(IRB.CreateFCmpOLE(L, R), L, R))); in TEST_F() 131 .match(IRB.CreateSelect(IRB.CreateFCmpOLT(L, R), L, R))); in TEST_F() [all …]
|
/external/llvm/lib/Transforms/Scalar/ |
D | LowerAtomic.cpp | 32 Value *Res = Builder.CreateSelect(Equal, Val, Orig); in LowerAtomicCmpXchgInst() 75 Res = Builder.CreateSelect(Builder.CreateICmpSLT(Orig, Val), in LowerAtomicRMWInst() 79 Res = Builder.CreateSelect(Builder.CreateICmpSLT(Orig, Val), in LowerAtomicRMWInst() 83 Res = Builder.CreateSelect(Builder.CreateICmpULT(Orig, Val), in LowerAtomicRMWInst() 87 Res = Builder.CreateSelect(Builder.CreateICmpULT(Orig, Val), in LowerAtomicRMWInst()
|
D | Scalarizer.cpp | 412 Res[I] = Builder.CreateSelect(Op0[I], Op1[I], Op2[I], in visitSelectInst() 417 Res[I] = Builder.CreateSelect(Op0, Op1[I], Op2[I], in visitSelectInst()
|
D | MemCpyOptimizer.cpp | 894 Builder.CreateSelect(Builder.CreateICmpULE(DestSize, SrcSize), in processMemSetMemCpyDependence()
|
D | SROA.cpp | 1316 Value *V = IRB.CreateSelect(SI.getCondition(), TL, FL, in speculateSelectInstLoads() 2149 V = IRB.CreateSelect(ConstantVector::get(Mask), V, Old, Name + "blend"); in insertVector()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineSelect.cpp | 67 return Builder->CreateSelect(Builder->CreateICmp(Pred, A, B), A, B); in generateMinMaxSelectPattern() 141 Value *NewSI = Builder->CreateSelect(SI.getCondition(), TI->getOperand(0), in FoldSelectOpOp() 181 Value *NewSI = Builder->CreateSelect(SI.getCondition(), OtherOpT, in FoldSelectOpOp() 229 Value *NewSel = Builder->CreateSelect(SI.getCondition(), OOp, C); in FoldSelectIntoOp() 264 Value *NewSel = Builder->CreateSelect(SI.getCondition(), C, OOp); in FoldSelectIntoOp() 698 Value *NewSI = Builder->CreateSelect( in FoldSPFofSPF() 1046 Builder->CreateSelect(CondVal, NewTrueOp, in visitSelectInst() 1090 Builder->CreateSelect(Cmp, LHS, RHS), in visitSelectInst() 1134 Builder->CreateNot(Builder->CreateSelect(NewCmp, NewLHS, NewRHS)); in visitSelectInst()
|
D | InstructionCombining.cpp | 643 SI = Builder->CreateSelect(SI0->getCondition(), in SimplifyUsingDistributiveLaws() 650 SI = Builder->CreateSelect( in SimplifyUsingDistributiveLaws() 876 InV = Builder->CreateSelect(PN->getIncomingValue(i), in FoldOpIntoPhi()
|
/external/llvm/lib/CodeGen/ |
D | AtomicExpandPass.cpp | 364 return Builder.CreateSelect(NewVal, Loaded, Inc, "new"); in performAtomicOp() 367 return Builder.CreateSelect(NewVal, Loaded, Inc, "new"); in performAtomicOp() 370 return Builder.CreateSelect(NewVal, Loaded, Inc, "new"); in performAtomicOp() 373 return Builder.CreateSelect(NewVal, Loaded, Inc, "new"); in performAtomicOp()
|
D | CodeGenPrepare.cpp | 1195 Value *NewI = Builder.CreateSelect(Mask, VResult, Src0); in ScalarizeMaskedLoad() 1253 Value *NewI = Builder.CreateSelect(Mask, Phi, Src0); in ScalarizeMaskedLoad() 1446 Value *NewI = Builder.CreateSelect(Mask, VResult, Src0); in ScalarizeMaskedGather() 1507 Value *NewI = Builder.CreateSelect(Mask, Phi, Src0); in ScalarizeMaskedGather()
|
/external/llvm/include/llvm/IR/ |
D | ConstantFolder.h | 214 Constant *CreateSelect(Constant *C, Constant *True, Constant *False) const { in CreateSelect() function
|
D | NoFolder.h | 267 Instruction *CreateSelect(Constant *C, in CreateSelect() function
|
D | IRBuilder.h | 1557 Value *CreateSelect(Value *C, Value *True, Value *False, 1562 return Insert(Folder.CreateSelect(CC, TC, FC), Name);
|
/external/llvm/include/llvm/Analysis/ |
D | TargetFolder.h | 239 Constant *CreateSelect(Constant *C, Constant *True, Constant *False) const { in CreateSelect() function
|
/external/llvm/lib/Analysis/ |
D | MemoryBuiltins.cpp | 794 Value *Size = Builder.CreateSelect(I.getCondition(), TrueSide.first, in visitSelectInst() 796 Value *Offset = Builder.CreateSelect(I.getCondition(), TrueSide.second, in visitSelectInst()
|
D | ScalarEvolutionExpander.cpp | 1550 Value *Sel = Builder.CreateSelect(ICmp, LHS, RHS, "smax"); in visitSMaxExpr() 1574 Value *Sel = Builder.CreateSelect(ICmp, LHS, RHS, "umax"); in visitUMaxExpr()
|
/external/llvm/lib/Target/NVPTX/ |
D | NVPTXGenericToNVVM.cpp | 352 return Builder.CreateSelect(NewOperands[0], NewOperands[1], NewOperands[2]); in remapConstantExpr()
|
/external/llvm/lib/Transforms/Utils/ |
D | SimplifyLibCalls.cpp | 565 return B.CreateSelect(SI->getCondition(), in optimizeStrLen() 1174 Value *Sel = B.CreateSelect(FCmp, Inf, FAbs); in optimizePow() 1335 return B.CreateSelect(Cmp, Op0, Op1); in optimizeFMinFMax() 1666 return B.CreateSelect(Cond, V, B.getInt32(0)); in optimizeFFS() 1682 return B.CreateSelect(Pos, Op, Neg); in optimizeAbs()
|
D | SimplifyCFG.cpp | 1203 (Builder.CreateSelect(BI->getCondition(), BB1V, BB2V, in HoistThenElseCodeToIf() 1630 Value *S = Builder.CreateSelect(BrCond, TrueV, FalseV, TrueV->getName() + in SpeculativelyExecuteBB() 1663 Value *V = Builder.CreateSelect(BrCond, TrueV, FalseV, in SpeculativelyExecuteBB() 1932 cast<SelectInst>(Builder.CreateSelect(IfCond, TrueVal, FalseVal, "")); in FoldTwoEntryPHINode() 2017 TrueValue = Builder.CreateSelect(BrCond, TrueValue, in SimplifyCondBranchToTwoReturns() 2874 (Builder.CreateSelect(PBICond, PBIV, BIV, PBIV->getName()+".mux")); in SimplifyCondBranchToCondBranch() 4034 SelectValue = Builder.CreateSelect(ValueCompare, ResultVector[1].first, in ConvertTwoCaseSwitch() 4039 return Builder.CreateSelect(ValueCompare, ResultVector[0].first, SelectValue, in ConvertTwoCaseSwitch()
|
D | LoopUtils.cpp | 610 Value *Select = Builder.CreateSelect(Cmp, Left, Right, "rdx.minmax.select"); in createMinMaxOp()
|
D | IntegerDivision.cpp | 261 Value *RetVal = Builder.CreateSelect(Ret0, Zero, Dividend); in generateUnsignedDivisionCode()
|
/external/llvm/lib/Transforms/Instrumentation/ |
D | MemorySanitizer.cpp | 1497 Origin = IRB.CreateSelect(Cond, OpOrigin, Origin); in Add() 2640 Value *Sa0 = IRB.CreateSelect(B, Sc, Sd); in visitSelectInst() 2660 Value *Sa = IRB.CreateSelect(Sb, Sa1, Sa0, "_msprop_select"); in visitSelectInst() 2675 &I, IRB.CreateSelect(Sb, getOrigin(I.getCondition()), in visitSelectInst() 2676 IRB.CreateSelect(B, getOrigin(I.getTrueValue()), in visitSelectInst()
|
D | GCOVProfiling.cpp | 621 Value *Sel = Builder.CreateSelect(BI->getCondition(), in emitProfileArcs()
|
/external/clang/lib/CodeGen/ |
D | MicrosoftCXXABI.cpp | 3014 return Builder.CreateSelect(IsNotNull, Src, DstNull); in EmitMemberPointerConversion() 3084 llvm::Value *UndoSrcAdjustment = Builder.CreateSelect( in EmitNonNullMemberPointerConversion() 3110 NVAdjustField = Builder.CreateSelect(SrcVBIndexEqZero, NVDisp, getZeroInt()); in EmitNonNullMemberPointerConversion() 3144 Builder.CreateSelect(DstVBIndexEqZero, getZeroInt(), DstVBPtrOffset); in EmitNonNullMemberPointerConversion() 3153 llvm::Value *DoDstAdjustment = Builder.CreateSelect( in EmitNonNullMemberPointerConversion()
|
D | CGBuiltin.cpp | 461 Builder.CreateSelect(CmpResult, ArgValue, NegOp, "abs"); in EmitBuiltinExpr() 564 Value *Result = Builder.CreateSelect(IsZero, Zero, Tmp, "ffs"); in EmitBuiltinExpr() 775 Value *SignResult = Builder.CreateSelect(IsNeg, NegativeOne, One); in EmitBuiltinExpr() 776 Value *Result = Builder.CreateSelect(IsInf, SignResult, Zero); in EmitBuiltinExpr() 859 Builder.CreateSelect(IsNormal, EmitScalarExpr(E->getArg(2)), in EmitBuiltinExpr()
|
/external/llvm/lib/Transforms/Vectorize/ |
D | LoopVectorize.cpp | 3195 NewI = B.CreateSelect(SI->getCondition(), in truncateToMinimalBitwidths() 3643 Entry[part] = Builder.CreateSelect(Cond[part], In0[part], in widenPHIInstruction() 3648 Entry[part] = Builder.CreateSelect(Cond[part], In0[part], in widenPHIInstruction() 3795 Entry[Part] = Builder.CreateSelect( in vectorizeBlockInLoop()
|