Searched refs:CreateAnd (Results 1 - 25 of 40) 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...]
H A DAtomicExpandLoadLinkedPass.cpp186 NewVal = Builder.CreateAnd(Loaded, AI->getValOperand(), "new");
189 NewVal = Builder.CreateNot(Builder.CreateAnd(Loaded, AI->getValOperand()),
/external/llvm/lib/Transforms/Scalar/
H A DLowerAtomic.cpp63 Res = Builder.CreateAnd(Orig, Val);
66 Res = Builder.CreateNot(Builder.CreateAnd(Orig, Val));
/external/llvm/lib/Transforms/InstCombine/
H A DInstCombineShifts.cpp49 Value *Rem = Builder->CreateAnd(A, ConstantInt::get(I.getType(), *B-1),
237 V = IC.Builder->CreateAnd(BO->getOperand(0),
277 V = IC.Builder->CreateAnd(I->getOperand(0),
397 Value *And = Builder->CreateAnd(NSh,
433 return BinaryOperator::CreateAnd(X, Mask);
446 Value *XM = Builder->CreateAnd(V1, ConstantExpr::getShl(CC, Op1),
469 return BinaryOperator::CreateAnd(X, Mask);
480 Value *XM = Builder->CreateAnd(V1, ConstantExpr::getShl(CC, Op1),
582 return BinaryOperator::CreateAnd(X,
618 return BinaryOperator::CreateAnd(Shif
[all...]
H A DInstCombineAndOrXor.cpp136 Value *And = Builder->CreateAnd(X, AndRHS);
147 return BinaryOperator::CreateAnd(Or, AndRHS);
156 Value *And = Builder->CreateAnd(X, Together);
188 Value *NewAnd = Builder->CreateAnd(X, AndRHS);
250 return BinaryOperator::CreateAnd(ShVal, AndRHS, TheAnd.getName());
701 Value* newAnd = Builder->CreateAnd(A, newOr);
712 Value* newAnd = Builder->CreateAnd(A, newOr);
718 Value* newAnd1 = Builder->CreateAnd(B, D);
719 Value* newAnd = Builder->CreateAnd(A, newAnd1);
784 Value *newAnd = Builder->CreateAnd(
[all...]
H A DInstCombineCompares.cpp434 return BinaryOperator::CreateAnd(C1, C2);
488 V = Builder->CreateAnd(ConstantInt::get(Ty, 1), V);
1040 Value *And = Builder->CreateAnd(Shr->getOperand(0),
1158 Builder->CreateAnd(Cast->getOperand(0),
1174 Builder->CreateAnd(Cast->getOperand(0),
1279 Builder->CreateAnd(Shift->getOperand(0), NS, LHSI->getName());
1332 Op = BinaryOperator::CreateAnd(ICIP, ICIQ);
1470 Builder->CreateAnd(LHSI->getOperand(0),Mask, LHSI->getName()+".mask");
1494 Builder->CreateAnd(LHSI->getOperand(0), Mask, LHSI->getName()+".mask");
1610 Builder->CreateAnd(LHS
[all...]
H A DInstCombineSelect.cpp420 return Builder->CreateAnd(X, ~(*C1));
597 Value *And = Builder->CreateAnd(AShr, C2->getValue()-C1->getValue());
839 return BinaryOperator::CreateAnd(NotCond, FalseVal);
844 return BinaryOperator::CreateAnd(CondVal, TrueVal);
856 return BinaryOperator::CreateAnd(CondVal, TrueVal);
861 return BinaryOperator::CreateAnd(TrueVal, FalseVal);
H A DInstCombineCasts.cpp470 Src = Builder->CreateAnd(Src, One);
504 return BinaryOperator::CreateAnd(NewTrunc,
617 Result = Builder->CreateAnd(Result,
806 return BinaryOperator::CreateAnd(Res, C);
828 Value *And = Builder->CreateAnd(A, AndConst, CSrc->getName()+".mask");
834 return BinaryOperator::CreateAnd(A, ConstantInt::get(A->getType(),
840 return BinaryOperator::CreateAnd(Trunc,
870 return BinaryOperator::CreateAnd(X, ConstantExpr::getZExt(C, CI.getType()));
878 return BinaryOperator::CreateXor(Builder->CreateAnd(X, ZC), ZC);
H A DInstCombineAddSub.cpp989 Value *NewAnd = Builder->CreateAnd(Z, *C1);
1174 return BinaryOperator::CreateAnd(NewAdd, C2);
1553 return BinaryOperator::CreateAnd(Op0,
H A DInstCombineMulDivRem.cpp260 return BinaryOperator::CreateAnd(Op0, Op1);
288 return BinaryOperator::CreateAnd(V, OtherOp);
1248 return BinaryOperator::CreateAnd(Op0, Add);
H A DInstCombineSimplifyDemanded.cpp339 Instruction *And = BinaryOperator::CreateAnd(I->getOperand(0), AndC);
364 Instruction *NewAnd = BinaryOperator::CreateAnd(I->getOperand(0), AndC);
/external/llvm/lib/Target/X86/
H A DX86AtomicExpandPass.cpp184 return Builder.CreateAnd(Loaded, Inc, "new");
186 return Builder.CreateNot(Builder.CreateAnd(Loaded, Inc), "new");
/external/llvm/include/llvm/IR/
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 DIRBuilder.h806 Value *CreateAnd(Value *LHS, Value *RHS, const Twine &Name = "") { function in class:llvm::IRBuilder
811 return Insert(Folder.CreateAnd(LC, RC), Name);
813 return Insert(BinaryOperator::CreateAnd(LHS, RHS), Name);
815 Value *CreateAnd(Value *LHS, const APInt &RHS, const Twine &Name = "") { function in class:llvm::IRBuilder
816 return CreateAnd(LHS, ConstantInt::get(LHS->getType(), RHS), Name);
818 Value *CreateAnd(Value *LHS, uint64_t RHS, const Twine &Name = "") { function in class:llvm::IRBuilder
819 return CreateAnd(LHS, ConstantInt::get(LHS->getType(), RHS), Name);
/external/llvm/lib/Transforms/Utils/
H A DBypassSlowDivision.cpp164 Value *AndV = MainBuilder.CreateAnd(OrV, BitMask);
H A DIntegerDivision.cpp317 Value *Carry = Builder.CreateAnd(Tmp10, One);
318 Value *Tmp11 = Builder.CreateAnd(Tmp10, Divisor);
H A DFlattenCFG.cpp290 NC = Builder.CreateAnd(PC, CC);
H A DLoopUnrollRuntime.cpp285 Value *ModVal = B.CreateAnd(TripCount, Count - 1, "xtraiter");
/external/llvm/lib/Transforms/Instrumentation/
H A DMemorySanitizer.cpp800 IRB.CreateAnd(IRB.CreatePointerCast(Addr, MS.IntptrTy),
811 IRB.CreateAnd(IRB.CreatePointerCast(Addr, MS.IntptrTy),
817 IRB.CreateAnd(Add, ConstantInt::get(MS.IntptrTy, ~3ULL));
1233 Value *S1S2 = IRB.CreateAnd(S1, S2);
1234 Value *V1S2 = IRB.CreateAnd(V1, S2);
1235 Value *S1V2 = IRB.CreateAnd(S1, V2);
1255 Value *S1S2 = IRB.CreateAnd(S1, S2);
1256 Value *V1S2 = IRB.CreateAnd(V1, S2);
1257 Value *S1V2 = IRB.CreateAnd(S1, V2);
1501 IRB.CreateAnd(IR
[all...]
/external/llvm/include/llvm/Analysis/
H A DTargetFolder.h99 Constant *CreateAnd(Constant *LHS, Constant *RHS) const { function in class:llvm::TargetFolder
/external/clang/lib/CodeGen/
H A DCGExprScalar.cpp447 return Builder.CreateAnd(Ops.LHS, Ops.RHS, "and");
590 Check = Builder.CreateAnd(GE, LE);
640 Check = Builder.CreateAnd(GE, LE);
678 Check = Builder.CreateNot(Builder.CreateAnd(GE, LE));
934 Mask = Builder.CreateAnd(Mask, MaskBits, "mask");
2144 Cond = Cond ? Builder.CreateAnd(Cond, Overflow, "and") : Overflow;
2633 RHS = Builder.CreateAnd(RHS, GetWidthMinusOneValue(Ops.LHS, RHS), "shl.mask");
2651 RHS = Builder.CreateAnd(RHS, GetWidthMinusOneValue(Ops.LHS, RHS), "shr.mask");
2813 Result = Builder.CreateAnd(ResultR, ResultI, "and.ri");
2896 Value *And = Builder.CreateAnd(LH
[all...]
H A DCGExpr.cpp494 Cond = Cond ? Builder.CreateAnd(Cond, LargeEnough) : LargeEnough;
507 Builder.CreateAnd(Builder.CreatePtrToInt(Address, IntPtrTy),
511 Cond = Cond ? Builder.CreateAnd(Cond, Aligned) : Aligned;
564 llvm::Value *Slot = Builder.CreateAnd(Hash,
1140 Check = Builder.CreateAnd(Upper, Lower);
1315 Val = Builder.CreateAnd(Val, llvm::APInt::getLowBitsSet(Info.StorageSize,
1497 SrcVal = Builder.CreateAnd(SrcVal,
1506 Val = Builder.CreateAnd(Val,
H A DTargetInfo.cpp1074 Addr = CGF.Builder.CreateIntToPtr(CGF.Builder.CreateAnd(AsInt, Mask),
2524 CGF.Builder.CreateIntToPtr(CGF.Builder.CreateAnd(AsInt, Mask),
2598 InRegs = InRegs ? CGF.Builder.CreateAnd(InRegs, FitsInFP) : FitsInFP;
3107 AddrAsInt = Builder.CreateAnd(AddrAsInt, Builder.getInt64(-16));
3595 reg_offs = CGF.Builder.CreateAnd(
3704 OnStackAddr = CGF.Builder.CreateAnd(
3811 llvm::Value *Aligned = Builder.CreateAnd(AsInt, Mask);
4575 AddrAsInt = Builder.CreateAnd(AddrAsInt, Builder.getInt32(~(TyAlign - 1)));
5388 llvm::Value *And = CGF.Builder.CreateAnd(Add, Mask);
/external/llvm/include/llvm/MC/
H A DMCExpr.h424 static const MCBinaryExpr *CreateAnd(const MCExpr *LHS, const MCExpr *RHS, function in class:llvm::MCBinaryExpr

Completed in 2113 milliseconds

12