Searched refs:CreateAnd (Results 1 - 25 of 31) sorted by relevance

12

/external/llvm/lib/CodeGen/
H A DIntrinsicLowering.cpp192 Tmp3 = Builder.CreateAnd(Tmp3,
195 Tmp2 = Builder.CreateAnd(Tmp2,
223 Tmp7 = Builder.CreateAnd(Tmp7,
227 Tmp6 = Builder.CreateAnd(Tmp6,
231 Tmp5 = Builder.CreateAnd(Tmp5,
235 Tmp4 = Builder.CreateAnd(Tmp4,
239 Tmp3 = Builder.CreateAnd(Tmp3,
243 Tmp2 = Builder.CreateAnd(Tmp2,
282 Value *LHS = Builder.CreateAnd(PartValue, MaskCst, "cppop.and1");
286 Value *RHS = Builder.CreateAnd(VShif
[all...]
/external/mesa3d/src/pixelflinger2/
H A Dllvm_texture.cpp50 Value * b = builder.CreateAnd(texel, builder.getInt32(0x1f));
54 Value * g = builder.CreateAnd(texel, builder.getInt32(0x7e0));
57 g = builder.CreateAnd(g, builder.getInt32(0xff00));
59 Value * r = builder.CreateAnd(texel, builder.getInt32(0xF800));
62 r = builder.CreateAnd(r, builder.getInt32(0xff0000));
91 Value * alpha = builder.CreateAnd(texel, builder.getInt32(0xff00));
92 texel = builder.CreateAnd(texel, builder.getInt32(0xff));
119 // channels = builder.CreateAnd(channels, constIntVec(builder, 0xff, 0xff, 0xff, 0xff));
124 // channels = builder.CreateAnd(channels, constIntVec(builder, 0xff00, 0xff00, 0xff00, 0xff00));
128 channels = builder.CreateAnd(channel
[all...]
H A Dllvm_scanline.cpp219 src = builder.CreateAnd(src, constIntVec(builder, 0xf8, 0xfc, 0xf8, 0));
246 dst = builder.CreateAnd(dst, constIntVec(builder, 0xff, 0xff, 0xff, 0xff));
249 dst = builder.CreateAnd(dst, constIntVec(builder, 0xf800, 0x7e0, 0x1f, 0));
310 // channels = builder.CreateAnd(channels, constIntVec(builder,0xff, 0xff, 0xff, 0xff));
550 s = builder.CreateAnd(s, sMask);
/external/llvm/lib/Transforms/InstCombine/
H A DInstCombineAndOrXor.cpp144 Value *And = Builder->CreateAnd(X, AndRHS);
155 return BinaryOperator::CreateAnd(Or, AndRHS);
164 Value *And = Builder->CreateAnd(X, Together);
196 Value *NewAnd = Builder->CreateAnd(X, AndRHS);
261 return BinaryOperator::CreateAnd(ShVal, AndRHS, TheAnd.getName());
649 Value* newAnd = Builder->CreateAnd(A, newOr);
660 Value* newAnd = Builder->CreateAnd(A, newOr);
666 Value* newAnd1 = Builder->CreateAnd(B, D);
667 Value* newAnd = Builder->CreateAnd(A, newAnd1);
703 Value *newAnd = Builder->CreateAnd(
[all...]
H A DInstCombineShifts.cpp47 Value *Rem = Builder->CreateAnd(A, ConstantInt::get(I.getType(), *B-1),
235 V = IC.Builder->CreateAnd(BO->getOperand(0),
275 V = IC.Builder->CreateAnd(I->getOperand(0),
394 Value *And = Builder->CreateAnd(NSh,
425 return BinaryOperator::CreateAnd(X, ConstantInt::get(I.getContext(),
440 Value *XM = Builder->CreateAnd(V1, ConstantExpr::getShl(CC, Op1),
458 return BinaryOperator::CreateAnd(X, ConstantInt::get(I.getContext(),
472 Value *XM = Builder->CreateAnd(V1, ConstantExpr::getShl(CC, Op1),
574 return BinaryOperator::CreateAnd(X,
610 return BinaryOperator::CreateAnd(Shif
[all...]
H A DInstCombineMulDivRem.cpp220 return BinaryOperator::CreateAnd(Op0, Op1);
248 return BinaryOperator::CreateAnd(V, OtherOp);
638 return BinaryOperator::CreateAnd(Op0,
646 return BinaryOperator::CreateAnd(Op0, Add);
654 Value *TrueAnd = Builder->CreateAnd(Op0, *C1-1, Op1->getName()+".t");
655 Value *FalseAnd = Builder->CreateAnd(Op0, *C2-1, Op1->getName()+".f");
H A DInstCombineCasts.cpp458 Src = Builder->CreateAnd(Src, One);
492 return BinaryOperator::CreateAnd(NewTrunc,
605 Result = Builder->CreateAnd(Result,
784 return BinaryOperator::CreateAnd(Res, C);
806 Value *And = Builder->CreateAnd(A, AndConst, CSrc->getName()+".mask");
812 return BinaryOperator::CreateAnd(A, ConstantInt::get(A->getType(),
818 return BinaryOperator::CreateAnd(Trunc,
849 BinaryOperator::CreateAnd(TI0,
863 Value *NewAnd = Builder->CreateAnd(TI0, ZC);
H A DInstCombineSelect.cpp479 Value *And = Builder->CreateAnd(AShr, C2->getValue()-C1->getValue());
673 return BinaryOperator::CreateAnd(NotCond, FalseVal);
677 return BinaryOperator::CreateAnd(CondVal, TrueVal);
689 return BinaryOperator::CreateAnd(CondVal, TrueVal);
694 return BinaryOperator::CreateAnd(TrueVal, FalseVal);
H A DInstCombineCompares.cpp412 return BinaryOperator::CreateAnd(C1, C2);
458 V = Builder->CreateAnd(ConstantInt::get(Ty, 1), V);
1010 Value *And = Builder->CreateAnd(Shr->getOperand(0),
1118 Builder->CreateAnd(Cast->getOperand(0),
1134 Builder->CreateAnd(Cast->getOperand(0),
1224 Builder->CreateAnd(Shift->getOperand(0), NS, LHSI->getName());
1258 Op = BinaryOperator::CreateAnd(ICIP, ICIQ);
1305 Builder->CreateAnd(LHSI->getOperand(0),Mask, LHSI->getName()+".mask");
1320 Builder->CreateAnd(LHSI->getOperand(0), Mask, LHSI->getName()+".mask");
1861 return BinaryOperator::CreateAnd(No
[all...]
H A DInstCombineAddSub.cpp264 return BinaryOperator::CreateAnd(NewAdd, C2);
582 return BinaryOperator::CreateAnd(Op0,
H A DInstCombineSimplifyDemanded.cpp324 Instruction *And = BinaryOperator::CreateAnd(I->getOperand(0), AndC);
349 Instruction *NewAnd = BinaryOperator::CreateAnd(I->getOperand(0), AndC);
/external/llvm/lib/Transforms/Scalar/
H A DLowerAtomic.cpp59 Res = Builder.CreateAnd(Orig, Val);
62 Res = Builder.CreateNot(Builder.CreateAnd(Orig, Val));
/external/llvm/include/llvm/Support/
H A DNoFolder.h137 Instruction *CreateAnd(Constant *LHS, Constant *RHS) const { function in class:llvm::NoFolder
138 return BinaryOperator::CreateAnd(LHS, RHS);
H A DConstantFolder.h87 Constant *CreateAnd(Constant *LHS, Constant *RHS) const { function in class:llvm::ConstantFolder
H A DTargetFolder.h99 Constant *CreateAnd(Constant *LHS, Constant *RHS) const { function in class:llvm::TargetFolder
/external/llvm/lib/Transforms/Utils/
H A DBypassSlowDivision.cpp163 Value *AndV = MainBuilder.CreateAnd(OrV, BitMask);
/external/clang/lib/CodeGen/
H A DItaniumCXXABI.cpp252 IsVirtual = Builder.CreateAnd(RawAdj, ptrdiff_1);
254 IsVirtual = Builder.CreateAnd(FnAsInt, ptrdiff_1);
627 llvm::Value *OrAdjAnd1 = Builder.CreateAnd(OrAdj, One);
665 llvm::Value *VirtualBit = Builder.CreateAnd(Adj, One, "memptr.virtualbit");
1032 V = Builder.CreateAnd(V, Builder.getInt32(1));
H A DCGExpr.cpp593 Cond = Cond ? Builder.CreateAnd(Cond, LargeEnough) : LargeEnough;
597 Builder.CreateAnd(Builder.CreatePtrToInt(Address, IntPtrTy),
599 Cond = Builder.CreateAnd(Cond,
1201 Val = Builder.CreateAnd(Val, llvm::APInt::getLowBitsSet(AI.AccessWidth,
1369 SrcVal = Builder.CreateAnd(SrcVal, llvm::APInt::getLowBitsSet(ResSizeInBits,
1427 Val = Builder.CreateAnd(Val, llvm::APInt::getLowBitsSet(ResSizeInBits,
1451 Val = Builder.CreateOr(Builder.CreateAnd(Load, InvMask), Val);
H A DCGExprScalar.cpp430 return Builder.CreateAnd(Ops.LHS, Ops.RHS, "and");
743 Mask = Builder.CreateAnd(Mask, MaskBits, "mask");
1769 CGF.EmitCheck(Builder.CreateAnd(Cond1, Cond2, "and"));
2299 Result = Builder.CreateAnd(ResultR, ResultI, "and.ri");
2374 Value *And = Builder.CreateAnd(LHS, RHS);
2599 llvm::Value *tmp3 = Builder.CreateAnd(RHSTmp, tmp2);
2600 llvm::Value *tmp4 = Builder.CreateAnd(LHSTmp, tmp);
H A DCGBuiltin.cpp327 Value *Result = Builder.CreateAnd(Tmp, llvm::ConstantInt::get(ArgType, 1));
493 V = Builder.CreateAnd(Eq, IsLessThanInf, "and");
494 V = Builder.CreateAnd(V, IsNormal, "and");
507 V = Builder.CreateAnd(Eq, IsNotInf, "and");
2301 Ops[0] = Builder.CreateAnd(Ops[0], Ops[1]);
H A DTargetInfo.cpp943 Addr = CGF.Builder.CreateIntToPtr(CGF.Builder.CreateAnd(AsInt, Mask),
2269 CGF.Builder.CreateIntToPtr(CGF.Builder.CreateAnd(AsInt, Mask),
2342 InRegs = InRegs ? CGF.Builder.CreateAnd(InRegs, FitsInFP) : FitsInFP;
3049 AddrAsInt = Builder.CreateAnd(AddrAsInt, Builder.getInt32(~(TyAlign - 1)));
3597 llvm::Value *And = CGF.Builder.CreateAnd(Add, Mask);
/external/llvm/include/llvm/
H A DIRBuilder.h712 Value *CreateAnd(Value *LHS, Value *RHS, const Twine &Name = "") { function in class:llvm::IRBuilder
717 return Insert(Folder.CreateAnd(LC, RC), Name);
719 return Insert(BinaryOperator::CreateAnd(LHS, RHS), Name);
721 Value *CreateAnd(Value *LHS, const APInt &RHS, const Twine &Name = "") { function in class:llvm::IRBuilder
722 return CreateAnd(LHS, ConstantInt::get(LHS->getType(), RHS), Name);
724 Value *CreateAnd(Value *LHS, uint64_t RHS, const Twine &Name = "") { function in class:llvm::IRBuilder
725 return CreateAnd(LHS, ConstantInt::get(LHS->getType(), RHS), Name);
/external/llvm/include/llvm/MC/
H A DMCExpr.h353 static const MCBinaryExpr *CreateAnd(const MCExpr *LHS, const MCExpr *RHS, function in class:llvm::MCBinaryExpr
/external/mesa3d/src/glsl/
H A Dir_to_llvm.cpp641 return bld.CreateAnd(ops[0], ops[1]);
760 return bld.CreateAnd(ops[0], ops[1]);
834 return bld.CreateAnd(ops[0], ops[1], "bmin");
865 return bld.CreateAnd(ops[0], ops[1]);
/external/llvm/lib/Target/NVPTX/
H A DNVPTXAsmPrinter.cpp176 return MCBinaryExpr::CreateAnd(OpExpr, MaskExpr, Ctx);
200 case Instruction::And: return MCBinaryExpr::CreateAnd(LHS, RHS, Ctx);

Completed in 2134 milliseconds

12