/external/llvm/lib/CodeGen/ |
D | IntrinsicLowering.cpp | 192 Tmp3 = Builder.CreateAnd(Tmp3, in LowerBSWAP() 195 Tmp2 = Builder.CreateAnd(Tmp2, in LowerBSWAP() 223 Tmp7 = Builder.CreateAnd(Tmp7, in LowerBSWAP() 227 Tmp6 = Builder.CreateAnd(Tmp6, in LowerBSWAP() 231 Tmp5 = Builder.CreateAnd(Tmp5, in LowerBSWAP() 235 Tmp4 = Builder.CreateAnd(Tmp4, in LowerBSWAP() 239 Tmp3 = Builder.CreateAnd(Tmp3, in LowerBSWAP() 243 Tmp2 = Builder.CreateAnd(Tmp2, in LowerBSWAP() 282 Value *LHS = Builder.CreateAnd(PartValue, MaskCst, "cppop.and1"); in LowerCTPOP() 286 Value *RHS = Builder.CreateAnd(VShift, MaskCst, "cppop.and2"); in LowerCTPOP() [all …]
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineAndOrXor.cpp | 144 Value *And = Builder->CreateAnd(X, AndRHS); in OptAndOp() 155 return BinaryOperator::CreateAnd(Or, AndRHS); in OptAndOp() 164 Value *And = Builder->CreateAnd(X, Together); in OptAndOp() 196 Value *NewAnd = Builder->CreateAnd(X, AndRHS); in OptAndOp() 258 return BinaryOperator::CreateAnd(ShVal, AndRHS, TheAnd.getName()); in OptAndOp() 639 Value* newAnd = Builder->CreateAnd(A, newOr); in foldLogOpOfMaskedICmps() 650 Value* newAnd = Builder->CreateAnd(A, newOr); in foldLogOpOfMaskedICmps() 656 Value* newAnd1 = Builder->CreateAnd(B, D); in foldLogOpOfMaskedICmps() 657 Value* newAnd = Builder->CreateAnd(A, newAnd1); in foldLogOpOfMaskedICmps() 693 Value *newAnd = Builder->CreateAnd(A, newOr1); in foldLogOpOfMaskedICmps() [all …]
|
D | InstCombineShifts.cpp | 47 Value *Rem = Builder->CreateAnd(A, ConstantInt::get(I.getType(), *B-1), in commonShiftTransforms() 235 V = IC.Builder->CreateAnd(BO->getOperand(0), in GetShiftedValue() 275 V = IC.Builder->CreateAnd(I->getOperand(0), in GetShiftedValue() 394 Value *And = Builder->CreateAnd(NSh, in FoldShiftByConstant() 425 return BinaryOperator::CreateAnd(X, ConstantInt::get(I.getContext(), in FoldShiftByConstant() 439 Value *XM = Builder->CreateAnd(V1, ConstantExpr::getShl(CC, Op1), in FoldShiftByConstant() 457 return BinaryOperator::CreateAnd(X, ConstantInt::get(I.getContext(), in FoldShiftByConstant() 469 Value *XM = Builder->CreateAnd(V1, ConstantExpr::getShl(CC, Op1), in FoldShiftByConstant() 571 return BinaryOperator::CreateAnd(X, in FoldShiftByConstant() 607 return BinaryOperator::CreateAnd(Shift, in FoldShiftByConstant() [all …]
|
D | InstCombineCompares.cpp | 437 return BinaryOperator::CreateAnd(C1, C2); in FoldCmpLoadFromIndexedGlobal() 491 V = Builder->CreateAnd(ConstantInt::get(Ty, 1), V); in FoldCmpLoadFromIndexedGlobal() 1041 Value *And = Builder->CreateAnd(Shr->getOperand(0), in FoldICmpShrCst() 1159 Builder->CreateAnd(Cast->getOperand(0), in visitICmpInstWithInstAndIntCst() 1175 Builder->CreateAnd(Cast->getOperand(0), in visitICmpInstWithInstAndIntCst() 1263 Builder->CreateAnd(Shift->getOperand(0), NS, LHSI->getName()); in visitICmpInstWithInstAndIntCst() 1316 Op = BinaryOperator::CreateAnd(ICIP, ICIQ); in visitICmpInstWithInstAndIntCst() 1454 Builder->CreateAnd(LHSI->getOperand(0),Mask, LHSI->getName()+".mask"); in visitICmpInstWithInstAndIntCst() 1478 Builder->CreateAnd(LHSI->getOperand(0), Mask, LHSI->getName()+".mask"); in visitICmpInstWithInstAndIntCst() 1594 Builder->CreateAnd(LHSI->getOperand(0), -RHSV), in visitICmpInstWithInstAndIntCst() [all …]
|
D | InstCombineCasts.cpp | 467 Src = Builder->CreateAnd(Src, One); in visitTrunc() 501 return BinaryOperator::CreateAnd(NewTrunc, in visitTrunc() 614 Result = Builder->CreateAnd(Result, in transformZExtICmp() 803 return BinaryOperator::CreateAnd(Res, C); in visitZExt() 825 Value *And = Builder->CreateAnd(A, AndConst, CSrc->getName()+".mask"); in visitZExt() 831 return BinaryOperator::CreateAnd(A, ConstantInt::get(A->getType(), in visitZExt() 837 return BinaryOperator::CreateAnd(Trunc, in visitZExt() 868 BinaryOperator::CreateAnd(TI0, in visitZExt() 882 Value *NewAnd = Builder->CreateAnd(TI0, ZC); in visitZExt()
|
D | InstCombineSelect.cpp | 546 Value *And = Builder->CreateAnd(AShr, C2->getValue()-C1->getValue()); in visitSelectInstWithICmp() 748 return BinaryOperator::CreateAnd(NotCond, FalseVal); in visitSelectInst() 753 return BinaryOperator::CreateAnd(CondVal, TrueVal); in visitSelectInst() 765 return BinaryOperator::CreateAnd(CondVal, TrueVal); in visitSelectInst() 770 return BinaryOperator::CreateAnd(TrueVal, FalseVal); in visitSelectInst()
|
D | InstCombineMulDivRem.cpp | 251 return BinaryOperator::CreateAnd(Op0, Op1); in visitMul() 279 return BinaryOperator::CreateAnd(V, OtherOp); in visitMul() 1163 return BinaryOperator::CreateAnd(Op0, Add); in visitURem()
|
D | InstCombineSimplifyDemanded.cpp | 338 Instruction *And = BinaryOperator::CreateAnd(I->getOperand(0), AndC); in SimplifyDemandedUseBits() 363 Instruction *NewAnd = BinaryOperator::CreateAnd(I->getOperand(0), AndC); in SimplifyDemandedUseBits()
|
D | InstCombineAddSub.cpp | 1096 return BinaryOperator::CreateAnd(NewAdd, C2); in visitAdd() 1449 return BinaryOperator::CreateAnd(Op0, in visitSub()
|
/external/llvm/lib/Transforms/Scalar/ |
D | LowerAtomic.cpp | 59 Res = Builder.CreateAnd(Orig, Val); in LowerAtomicRMWInst() 62 Res = Builder.CreateNot(Builder.CreateAnd(Orig, Val)); in LowerAtomicRMWInst()
|
/external/llvm/lib/Transforms/Instrumentation/ |
D | MemorySanitizer.cpp | 631 IRB.CreateAnd(IRB.CreatePointerCast(Addr, MS.IntptrTy), in getShadowPtr() 642 IRB.CreateAnd(IRB.CreatePointerCast(Addr, MS.IntptrTy), in getOriginPtr() 648 IRB.CreateAnd(Add, ConstantInt::get(MS.IntptrTy, ~3ULL)); in getOriginPtr() 986 Value *S1S2 = IRB.CreateAnd(S1, S2); in visitAnd() 987 Value *V1S2 = IRB.CreateAnd(V1, S2); in visitAnd() 988 Value *S1V2 = IRB.CreateAnd(S1, V2); in visitAnd() 1008 Value *S1S2 = IRB.CreateAnd(S1, S2); in visitOr() 1009 Value *V1S2 = IRB.CreateAnd(V1, S2); in visitOr() 1010 Value *S1V2 = IRB.CreateAnd(S1, V2); in visitOr() 1190 IRB.CreateAnd(IRB.CreateICmpNE(Sc, Zero), in handleEqualityComparison() [all …]
|
/external/llvm/include/llvm/Support/ |
D | NoFolder.h | 137 Instruction *CreateAnd(Constant *LHS, Constant *RHS) const { in CreateAnd() function 138 return BinaryOperator::CreateAnd(LHS, RHS); in CreateAnd()
|
D | ConstantFolder.h | 87 Constant *CreateAnd(Constant *LHS, Constant *RHS) const { in CreateAnd() function
|
D | TargetFolder.h | 99 Constant *CreateAnd(Constant *LHS, Constant *RHS) const { in CreateAnd() function
|
/external/llvm/lib/Transforms/Utils/ |
D | IntegerDivision.cpp | 274 Value *Carry = Builder.CreateAnd(Tmp10, One); in generateUnsignedDivisionCode() 275 Value *Tmp11 = Builder.CreateAnd(Tmp10, Divisor); in generateUnsignedDivisionCode()
|
D | BypassSlowDivision.cpp | 163 Value *AndV = MainBuilder.CreateAnd(OrV, BitMask); in insertFastDiv()
|
D | FlattenCFG.cpp | 289 NC = Builder.CreateAnd(PC, CC); in FlattenParallelAndOr()
|
/external/llvm/include/llvm/IR/ |
D | IRBuilder.h | 747 Value *CreateAnd(Value *LHS, Value *RHS, const Twine &Name = "") { 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 = "") { 757 return CreateAnd(LHS, ConstantInt::get(LHS->getType(), RHS), Name); 759 Value *CreateAnd(Value *LHS, uint64_t RHS, const Twine &Name = "") { 760 return CreateAnd(LHS, ConstantInt::get(LHS->getType(), RHS), Name);
|
/external/clang/lib/CodeGen/ |
D | ItaniumCXXABI.cpp | 309 IsVirtual = Builder.CreateAnd(RawAdj, ptrdiff_1); in EmitLoadOfMemberFunctionPointer() 311 IsVirtual = Builder.CreateAnd(FnAsInt, ptrdiff_1); in EmitLoadOfMemberFunctionPointer() 668 llvm::Value *OrAdjAnd1 = Builder.CreateAnd(OrAdj, One); in EmitMemberPointerComparison() 706 llvm::Value *VirtualBit = Builder.CreateAnd(Adj, One, "memptr.virtualbit"); in EmitMemberPointerIsNotNull() 1162 V = Builder.CreateAnd(V, Test1); in EmitGuardedInit()
|
D | CGExprScalar.cpp | 444 return Builder.CreateAnd(Ops.LHS, Ops.RHS, "and"); in EmitAnd() 587 Check = Builder.CreateAnd(GE, LE); in EmitFloatConversionCheck() 637 Check = Builder.CreateAnd(GE, LE); in EmitFloatConversionCheck() 675 Check = Builder.CreateNot(Builder.CreateAnd(GE, LE)); in EmitFloatConversionCheck() 931 Mask = Builder.CreateAnd(Mask, MaskBits, "mask"); in VisitShuffleVectorExpr() 2049 Cond = Cond ? Builder.CreateAnd(Cond, Overflow, "and") : Overflow; in EmitUndefinedBehaviorIntegerDivAndRemCheck() 2538 RHS = Builder.CreateAnd(RHS, GetWidthMinusOneValue(Ops.LHS, RHS), "shl.mask"); in EmitShl() 2556 RHS = Builder.CreateAnd(RHS, GetWidthMinusOneValue(Ops.LHS, RHS), "shr.mask"); in EmitShr() 2718 Result = Builder.CreateAnd(ResultR, ResultI, "and.ri"); in EmitCompare() 2797 Value *And = Builder.CreateAnd(LHS, RHS); in VisitBinLAnd() [all …]
|
D | CGExpr.cpp | 484 Cond = Cond ? Builder.CreateAnd(Cond, LargeEnough) : LargeEnough; in EmitTypeCheck() 497 Builder.CreateAnd(Builder.CreatePtrToInt(Address, IntPtrTy), in EmitTypeCheck() 501 Cond = Cond ? Builder.CreateAnd(Cond, Aligned) : Aligned; in EmitTypeCheck() 554 llvm::Value *Slot = Builder.CreateAnd(Hash, in EmitTypeCheck() 1126 Check = Builder.CreateAnd(Upper, Lower); in EmitLoadOfScalar() 1297 Val = Builder.CreateAnd(Val, llvm::APInt::getLowBitsSet(Info.StorageSize, in EmitLoadOfBitfieldLValue() 1455 SrcVal = Builder.CreateAnd(SrcVal, in EmitStoreThroughBitfieldLValue() 1464 Val = Builder.CreateAnd(Val, in EmitStoreThroughBitfieldLValue()
|
D | TargetInfo.cpp | 1001 Addr = CGF.Builder.CreateIntToPtr(CGF.Builder.CreateAnd(AsInt, Mask), in EmitVAArg() 2407 CGF.Builder.CreateIntToPtr(CGF.Builder.CreateAnd(AsInt, Mask), in EmitVAArgFromMemory() 2481 InRegs = InRegs ? CGF.Builder.CreateAnd(InRegs, FitsInFP) : FitsInFP; in EmitVAArg() 3621 AddrAsInt = Builder.CreateAnd(AddrAsInt, Builder.getInt32(~(TyAlign - 1))); in EmitVAArg() 3971 reg_offs = CGF.Builder.CreateAnd(reg_offs, in EmitVAArg() 4064 OnStackAddr = CGF.Builder.CreateAnd(OnStackAddr, in EmitVAArg() 4860 llvm::Value *And = CGF.Builder.CreateAnd(Add, Mask); in EmitVAArg()
|
D | CGBuiltin.cpp | 355 Value *Result = Builder.CreateAnd(Tmp, llvm::ConstantInt::get(ArgType, 1)); in EmitBuiltinExpr() 528 V = Builder.CreateAnd(Eq, IsLessThanInf, "and"); in EmitBuiltinExpr() 529 V = Builder.CreateAnd(V, IsNormal, "and"); in EmitBuiltinExpr() 542 V = Builder.CreateAnd(Eq, IsNotInf, "and"); in EmitBuiltinExpr() 2759 Ops[0] = Builder.CreateAnd(Ops[0], Ops[1]); in EmitARMBuiltinExpr()
|
/external/llvm/include/llvm/MC/ |
D | MCExpr.h | 400 static const MCBinaryExpr *CreateAnd(const MCExpr *LHS, const MCExpr *RHS, in CreateAnd() function
|
/external/llvm/lib/Target/NVPTX/ |
D | NVPTXAsmPrinter.cpp | 213 return MCBinaryExpr::CreateAnd(OpExpr, MaskExpr, Ctx); in LowerConstant() 245 return MCBinaryExpr::CreateAnd(LHS, RHS, Ctx); in LowerConstant()
|