Searched refs:CreateSelect (Results 1 - 22 of 22) sorted by relevance

/external/llvm/lib/Transforms/Scalar/
H A DLowerAtomic.cpp31 Value *Res = Builder.CreateSelect(Equal, Val, Orig);
71 Res = Builder.CreateSelect(Builder.CreateICmpSLT(Orig, Val),
75 Res = Builder.CreateSelect(Builder.CreateICmpSLT(Orig, Val),
79 Res = Builder.CreateSelect(Builder.CreateICmpULT(Orig, Val),
83 Res = Builder.CreateSelect(Builder.CreateICmpULT(Orig, Val),
H A DSimplifyLibCalls.cpp1009 Value *Sel = B.CreateSelect(FCmp, Inf, FAbs);
1118 return B.CreateSelect(Cond, V, B.getInt32(0));
1175 return B.CreateSelect(Pos, Op, Neg);
H A DScalarReplAggregates.cpp1345 Value *V = Builder.CreateSelect(SI->getCondition(), TrueLoad, FalseLoad);
/external/mesa3d/src/pixelflinger2/
H A Dllvm_helper.h35 return builder.CreateSelect(cmp, in1, in2);
41 return builder.CreateSelect(cmp, in1, in2);
110 vec1[i] = builder.CreateSelect(cmp, vec1[i], vec2[i], name("iVecSel"));
121 vec1[i] = builder.CreateSelect(cmp, vec1[i], vec2[i], name("iVecSel"));
/external/mesa3d/src/glsl/
H A Dir_to_llvm.cpp453 return bld.CreateSelect(cond, tru, fal, name);
461 llvm::Value * v = bld.CreateSelect(c, t, f, name);
570 return bld.CreateSelect(bld.CreateICmpNE(ops[0], llvm_imm(ops[0]->getType(), 0), "ssign.ne"),
571 bld.CreateSelect(bld.CreateICmpSGE(ops[0], llvm_imm(ops[0]->getType(), 0), "ssign.ge"), llvm_imm(ops[0]->getType(), 1), llvm_imm(ops[0]->getType(), -1), "sabs.selects"),
574 return bld.CreateSelect(bld.CreateFCmpONE(ops[0], llvm_imm(ops[0]->getType(), 0), "fsign.ne"),
575 bld.CreateSelect(bld.CreateFCmpUGE(ops[0], llvm_imm(ops[0]->getType(), 0), "fsign.ge"), llvm_imm(ops[0]->getType(), 1), llvm_imm(ops[0]->getType(), -1), "fabs.selects"),
836 return bld.CreateSelect(bld.CreateICmpULE(ops[0], ops[1], "umin.le"), ops[0], ops[1], "umin.select");
838 return bld.CreateSelect(bld.CreateICmpSLE(ops[0], ops[1], "smin.le"), ops[0], ops[1], "smin.select");
840 return bld.CreateSelect(bld.CreateFCmpULE(ops[0], ops[1], "fmin.le"), ops[0], ops[1], "fmin.select");
850 return bld.CreateSelect(bl
[all...]
/external/llvm/lib/Transforms/InstCombine/
H A DInstCombineSelect.cpp143 Value *NewSI = Builder->CreateSelect(SI.getCondition(), TI->getOperand(0),
183 Value *NewSI = Builder->CreateSelect(SI.getCondition(), OtherOpT,
231 Value *NewSel = Builder->CreateSelect(SI.getCondition(), OOp, C);
266 Value *NewSel = Builder->CreateSelect(SI.getCondition(), C, OOp);
837 Builder->CreateSelect(CondVal, NewTrueOp,
H A DInstructionCombining.cpp684 InV = Builder->CreateSelect(PN->getIncomingValue(i),
/external/llvm/include/llvm/Support/
H A DConstantFolder.h207 Constant *CreateSelect(Constant *C, Constant *True, Constant *False) const { function in class:llvm::ConstantFolder
H A DTargetFolder.h224 Constant *CreateSelect(Constant *C, Constant *True, Constant *False) const { function in class:llvm::TargetFolder
H A DNoFolder.h266 Instruction *CreateSelect(Constant *C, function in class:llvm::NoFolder
/external/llvm/lib/Analysis/
H A DMemoryBuiltins.cpp760 Value *Size = Builder.CreateSelect(I.getCondition(), TrueSide.first,
762 Value *Offset = Builder.CreateSelect(I.getCondition(), TrueSide.second,
H A DScalarEvolutionExpander.cpp1443 Value *Sel = Builder.CreateSelect(ICmp, LHS, RHS, "smax");
1467 Value *Sel = Builder.CreateSelect(ICmp, LHS, RHS, "umax");
/external/llvm/lib/Transforms/Utils/
H A DSimplifyCFG.cpp1145 (Builder.CreateSelect(BI->getCondition(), BB1V, BB2V,
1286 (Builder.CreateSelect(BrCond, FalseV, TrueV,
1290 (Builder.CreateSelect(BrCond, TrueV, FalseV,
1556 cast<SelectInst>(Builder.CreateSelect(IfCond, TrueVal, FalseVal, ""));
1641 TrueValue = Builder.CreateSelect(BrCond, TrueValue,
2243 (Builder.CreateSelect(PBICond, PBIV, BIV, PBIV->getName()+".mux"));
/external/llvm/lib/Transforms/Instrumentation/
H A DGCOVProfiling.cpp471 Value *Sel = Builder.CreateSelect(
/external/llvm/include/llvm/
H A DIRBuilder.h1199 Value *CreateSelect(Value *C, Value *True, Value *False, function in class:llvm::IRBuilder
1204 return Insert(Folder.CreateSelect(CC, TC, FC), Name);
/external/clang/lib/CodeGen/
H A DItaniumCXXABI.cpp376 return Builder.CreateSelect(isNull, src, dst);
H A DCGBuiltin.cpp228 Builder.CreateSelect(CmpResult, ArgValue, NegOp, "abs");
310 Value *Result = Builder.CreateSelect(IsZero, Zero, Tmp, "ffs");
559 Builder.CreateSelect(IsNormal, EmitScalarExpr(E->getArg(2)),
H A DCGExprCXX.cpp793 size = CGF.Builder.CreateSelect(hasOverflow,
H A DCGExprScalar.cpp765 Indx = Builder.CreateSelect(cmpIndx, newIndx, Indx, "sel_shuf_idx");
2621 return Builder.CreateSelect(CondV, LHS, RHS, "cond");
H A DCGCall.cpp1729 finalArgument = CGF.Builder.CreateSelect(isNull,
/external/llvm/lib/VMCore/
H A DCore.cpp2237 return wrap(unwrap(B)->CreateSelect(unwrap(If), unwrap(Then), unwrap(Else),
/external/llvm/bindings/ocaml/llvm/
H A Dllvm.mli2269 See the method [llvm::LLVMBuilder::CreateSelect]. *)

Completed in 1233 milliseconds