Searched refs:CreateAnd (Results 1 - 25 of 35) 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/llvm/lib/Transforms/Scalar/
H A DLowerAtomic.cpp59 Res = Builder.CreateAnd(Orig, Val);
62 Res = Builder.CreateNot(Builder.CreateAnd(Orig, Val));
/external/llvm/lib/Transforms/InstCombine/
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(),
439 Value *XM = Builder->CreateAnd(V1, ConstantExpr::getShl(CC, Op1),
457 return BinaryOperator::CreateAnd(X, ConstantInt::get(I.getContext(),
469 Value *XM = Builder->CreateAnd(V1, ConstantExpr::getShl(CC, Op1),
571 return BinaryOperator::CreateAnd(X,
607 return BinaryOperator::CreateAnd(Shif
[all...]
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);
258 return BinaryOperator::CreateAnd(ShVal, AndRHS, TheAnd.getName());
639 Value* newAnd = Builder->CreateAnd(A, newOr);
650 Value* newAnd = Builder->CreateAnd(A, newOr);
656 Value* newAnd1 = Builder->CreateAnd(B, D);
657 Value* newAnd = Builder->CreateAnd(A, newAnd1);
693 Value *newAnd = Builder->CreateAnd(
[all...]
H A DInstCombineCasts.cpp467 Src = Builder->CreateAnd(Src, One);
501 return BinaryOperator::CreateAnd(NewTrunc,
614 Result = Builder->CreateAnd(Result,
803 return BinaryOperator::CreateAnd(Res, C);
825 Value *And = Builder->CreateAnd(A, AndConst, CSrc->getName()+".mask");
831 return BinaryOperator::CreateAnd(A, ConstantInt::get(A->getType(),
837 return BinaryOperator::CreateAnd(Trunc,
868 BinaryOperator::CreateAnd(TI0,
882 Value *NewAnd = Builder->CreateAnd(TI0, ZC);
H A DInstCombineSelect.cpp546 Value *And = Builder->CreateAnd(AShr, C2->getValue()-C1->getValue());
748 return BinaryOperator::CreateAnd(NotCond, FalseVal);
753 return BinaryOperator::CreateAnd(CondVal, TrueVal);
765 return BinaryOperator::CreateAnd(CondVal, TrueVal);
770 return BinaryOperator::CreateAnd(TrueVal, FalseVal);
H A DInstCombineCompares.cpp437 return BinaryOperator::CreateAnd(C1, C2);
491 V = Builder->CreateAnd(ConstantInt::get(Ty, 1), V);
1041 Value *And = Builder->CreateAnd(Shr->getOperand(0),
1159 Builder->CreateAnd(Cast->getOperand(0),
1175 Builder->CreateAnd(Cast->getOperand(0),
1263 Builder->CreateAnd(Shift->getOperand(0), NS, LHSI->getName());
1316 Op = BinaryOperator::CreateAnd(ICIP, ICIQ);
1454 Builder->CreateAnd(LHSI->getOperand(0),Mask, LHSI->getName()+".mask");
1478 Builder->CreateAnd(LHSI->getOperand(0), Mask, LHSI->getName()+".mask");
1594 Builder->CreateAnd(LHS
[all...]
H A DInstCombineMulDivRem.cpp251 return BinaryOperator::CreateAnd(Op0, Op1);
279 return BinaryOperator::CreateAnd(V, OtherOp);
1163 return BinaryOperator::CreateAnd(Op0, Add);
H A DInstCombineSimplifyDemanded.cpp338 Instruction *And = BinaryOperator::CreateAnd(I->getOperand(0), AndC);
363 Instruction *NewAnd = BinaryOperator::CreateAnd(I->getOperand(0), AndC);
H A DInstCombineAddSub.cpp1096 return BinaryOperator::CreateAnd(NewAdd, C2);
1449 return BinaryOperator::CreateAnd(Op0,
/external/llvm/lib/Transforms/Instrumentation/
H A DMemorySanitizer.cpp631 IRB.CreateAnd(IRB.CreatePointerCast(Addr, MS.IntptrTy),
642 IRB.CreateAnd(IRB.CreatePointerCast(Addr, MS.IntptrTy),
648 IRB.CreateAnd(Add, ConstantInt::get(MS.IntptrTy, ~3ULL));
986 Value *S1S2 = IRB.CreateAnd(S1, S2);
987 Value *V1S2 = IRB.CreateAnd(V1, S2);
988 Value *S1V2 = IRB.CreateAnd(S1, V2);
1008 Value *S1S2 = IRB.CreateAnd(S1, S2);
1009 Value *V1S2 = IRB.CreateAnd(V1, S2);
1010 Value *S1V2 = IRB.CreateAnd(S1, V2);
1190 IRB.CreateAnd(IR
[all...]
/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);
H A DIntegerDivision.cpp274 Value *Carry = Builder.CreateAnd(Tmp10, One);
275 Value *Tmp11 = Builder.CreateAnd(Tmp10, Divisor);
H A DFlattenCFG.cpp289 NC = Builder.CreateAnd(PC, CC);
/external/clang/lib/CodeGen/
H A DCGExprScalar.cpp444 return Builder.CreateAnd(Ops.LHS, Ops.RHS, "and");
587 Check = Builder.CreateAnd(GE, LE);
637 Check = Builder.CreateAnd(GE, LE);
675 Check = Builder.CreateNot(Builder.CreateAnd(GE, LE));
931 Mask = Builder.CreateAnd(Mask, MaskBits, "mask");
2049 Cond = Cond ? Builder.CreateAnd(Cond, Overflow, "and") : Overflow;
2538 RHS = Builder.CreateAnd(RHS, GetWidthMinusOneValue(Ops.LHS, RHS), "shl.mask");
2556 RHS = Builder.CreateAnd(RHS, GetWidthMinusOneValue(Ops.LHS, RHS), "shr.mask");
2718 Result = Builder.CreateAnd(ResultR, ResultI, "and.ri");
2797 Value *And = Builder.CreateAnd(LH
[all...]
H A DItaniumCXXABI.cpp309 IsVirtual = Builder.CreateAnd(RawAdj, ptrdiff_1);
311 IsVirtual = Builder.CreateAnd(FnAsInt, ptrdiff_1);
668 llvm::Value *OrAdjAnd1 = Builder.CreateAnd(OrAdj, One);
706 llvm::Value *VirtualBit = Builder.CreateAnd(Adj, One, "memptr.virtualbit");
1162 V = Builder.CreateAnd(V, Test1);
H A DCGExpr.cpp484 Cond = Cond ? Builder.CreateAnd(Cond, LargeEnough) : LargeEnough;
497 Builder.CreateAnd(Builder.CreatePtrToInt(Address, IntPtrTy),
501 Cond = Cond ? Builder.CreateAnd(Cond, Aligned) : Aligned;
554 llvm::Value *Slot = Builder.CreateAnd(Hash,
1126 Check = Builder.CreateAnd(Upper, Lower);
1297 Val = Builder.CreateAnd(Val, llvm::APInt::getLowBitsSet(Info.StorageSize,
1455 SrcVal = Builder.CreateAnd(SrcVal,
1464 Val = Builder.CreateAnd(Val,
H A DTargetInfo.cpp1001 Addr = CGF.Builder.CreateIntToPtr(CGF.Builder.CreateAnd(AsInt, Mask),
2407 CGF.Builder.CreateIntToPtr(CGF.Builder.CreateAnd(AsInt, Mask),
2481 InRegs = InRegs ? CGF.Builder.CreateAnd(InRegs, FitsInFP) : FitsInFP;
3621 AddrAsInt = Builder.CreateAnd(AddrAsInt, Builder.getInt32(~(TyAlign - 1)));
3971 reg_offs = CGF.Builder.CreateAnd(reg_offs,
4064 OnStackAddr = CGF.Builder.CreateAnd(OnStackAddr,
4860 llvm::Value *And = CGF.Builder.CreateAnd(Add, Mask);
H A DCGBuiltin.cpp355 Value *Result = Builder.CreateAnd(Tmp, llvm::ConstantInt::get(ArgType, 1));
528 V = Builder.CreateAnd(Eq, IsLessThanInf, "and");
529 V = Builder.CreateAnd(V, IsNormal, "and");
542 V = Builder.CreateAnd(Eq, IsNotInf, "and");
2759 Ops[0] = Builder.CreateAnd(Ops[0], Ops[1]);
/external/llvm/include/llvm/IR/
H A DIRBuilder.h747 Value *CreateAnd(Value *LHS, Value *RHS, const Twine &Name = "") { function in class:llvm::IRBuilder
752 return Insert(Folder.CreateAnd(LC, RC), Name);
754 return Insert(BinaryOperator::CreateAnd(LHS, RHS), Name);
756 Value *CreateAnd(Value *LHS, const APInt &RHS, const Twine &Name = "") { function in class:llvm::IRBuilder
757 return CreateAnd(LHS, ConstantInt::get(LHS->getType(), RHS), Name);
759 Value *CreateAnd(Value *LHS, uint64_t RHS, const Twine &Name = "") { function in class:llvm::IRBuilder
760 return CreateAnd(LHS, ConstantInt::get(LHS->getType(), RHS), Name);
/external/llvm/include/llvm/MC/
H A DMCExpr.h400 static const MCBinaryExpr *CreateAnd(const MCExpr *LHS, const MCExpr *RHS, function in class:llvm::MCBinaryExpr
/external/llvm/lib/Target/NVPTX/
H A DNVPTXAsmPrinter.cpp213 return MCBinaryExpr::CreateAnd(OpExpr, MaskExpr, Ctx);
245 return MCBinaryExpr::CreateAnd(LHS, RHS, Ctx);

Completed in 397 milliseconds

12