Home
last modified time | relevance | path

Searched refs:CreateSelect (Results 1 – 25 of 28) sorted by relevance

12

/external/llvm/unittests/IR/
DPatternMatch.cpp80 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/
DLowerAtomic.cpp31 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()
DSROA.cpp1146 Value *V = IRB.CreateSelect(SI.getCondition(), TL, FL, in speculateSelectInstLoads()
1824 V = IRB.CreateSelect(ConstantVector::get(Mask), V, Old, Name + "blend"); in insertVector()
DScalarReplAggregates.cpp1345 Value *V = Builder.CreateSelect(SI->getCondition(), TrueLoad, FalseLoad); in tryToMakeAllocaBePromotable()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineSelect.cpp144 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()
DInstructionCombining.cpp705 InV = Builder->CreateSelect(PN->getIncomingValue(i), in FoldOpIntoPhi()
/external/llvm/include/llvm/Support/
DConstantFolder.h207 Constant *CreateSelect(Constant *C, Constant *True, Constant *False) const { in CreateSelect() function
DTargetFolder.h231 Constant *CreateSelect(Constant *C, Constant *True, Constant *False) const { in CreateSelect() function
DNoFolder.h266 Instruction *CreateSelect(Constant *C, in CreateSelect() function
/external/llvm/lib/Analysis/
DMemoryBuiltins.cpp781 Value *Size = Builder.CreateSelect(I.getCondition(), TrueSide.first, in visitSelectInst()
783 Value *Offset = Builder.CreateSelect(I.getCondition(), TrueSide.second, in visitSelectInst()
DScalarEvolutionExpander.cpp1442 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/
DNVPTXGenericToNVVM.cpp348 return Builder.CreateSelect(NewOperands[0], NewOperands[1], NewOperands[2]); in remapConstantExpr()
/external/llvm/lib/Transforms/Utils/
DIntegerDivision.cpp218 Value *RetVal = Builder.CreateSelect(Ret0, Zero, Dividend); in generateUnsignedDivisionCode()
DSimplifyCFG.cpp1105 (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()
DSimplifyLibCalls.cpp1161 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/
DMemorySanitizer.cpp1061 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()
DGCOVProfiling.cpp531 Value *Sel = Builder.CreateSelect(BI->getCondition(), in emitProfileArcs()
/external/llvm/lib/Transforms/Vectorize/
DLoopVectorize.cpp1924 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()
DSLPVectorizer.cpp1292 Value *V = Builder.CreateSelect(Cond, True, False); in vectorizeTree()
/external/llvm/include/llvm/IR/
DIRBuilder.h1290 Value *CreateSelect(Value *C, Value *True, Value *False,
1295 return Insert(Folder.CreateSelect(CC, TC, FC), Name);
/external/clang/lib/CodeGen/
DMicrosoftCXXABI.cpp1125 return Builder.CreateSelect(IsNotNull, Src, DstNull); in EmitMemberPointerConversion()
DCGBuiltin.cpp250 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()
DItaniumCXXABI.cpp434 return Builder.CreateSelect(isNull, src, dst); in EmitMemberPointerConversion()
DCGExprCXX.cpp798 size = CGF.Builder.CreateSelect(hasOverflow, in EmitCXXNewAllocSize()
DCGCall.cpp1950 finalArgument = CGF.Builder.CreateSelect(isNull, in emitWritebackArg()

12