Home
last modified time | relevance | path

Searched refs:CreateOr (Results 1 – 25 of 28) sorted by relevance

12

/external/llvm/lib/CodeGen/
DIntrinsicLowering.cpp180 V = Builder.CreateOr(Tmp1, Tmp2, "bswap.i16"); in LowerBSWAP()
198 Tmp4 = Builder.CreateOr(Tmp4, Tmp3, "bswap.or1"); in LowerBSWAP()
199 Tmp2 = Builder.CreateOr(Tmp2, Tmp1, "bswap.or2"); in LowerBSWAP()
200 V = Builder.CreateOr(Tmp4, Tmp2, "bswap.i32"); in LowerBSWAP()
247 Tmp8 = Builder.CreateOr(Tmp8, Tmp7, "bswap.or1"); in LowerBSWAP()
248 Tmp6 = Builder.CreateOr(Tmp6, Tmp5, "bswap.or2"); in LowerBSWAP()
249 Tmp4 = Builder.CreateOr(Tmp4, Tmp3, "bswap.or3"); in LowerBSWAP()
250 Tmp2 = Builder.CreateOr(Tmp2, Tmp1, "bswap.or4"); in LowerBSWAP()
251 Tmp8 = Builder.CreateOr(Tmp8, Tmp6, "bswap.or5"); in LowerBSWAP()
252 Tmp4 = Builder.CreateOr(Tmp4, Tmp2, "bswap.or6"); in LowerBSWAP()
[all …]
/external/mesa3d/src/pixelflinger2/
Dllvm_texture.cpp42 texel = builder.CreateOr(texel, builder.getInt32(0xff000000)); in pointSample()
52 b = builder.CreateOr(b, builder.CreateLShr(b, builder.getInt32(5))); in pointSample()
56 g = builder.CreateOr(g, builder.CreateLShr(g, builder.getInt32(6))); in pointSample()
61 r = builder.CreateOr(r, builder.CreateLShr(r, builder.getInt32(5))); in pointSample()
64 texel = builder.CreateOr(r, builder.CreateOr(g, b)); in pointSample()
65 texel = builder.CreateOr(texel, builder.getInt32(0xff000000), name("texel")); in pointSample()
81 texel = builder.CreateOr(texel, builder.CreateShl(texel, 8)); in pointSample()
82 texel = builder.CreateOr(texel, builder.CreateShl(texel, 8)); in pointSample()
83 texel = builder.CreateOr(texel, builder.getInt32(0xff000000)); in pointSample()
93 texel = builder.CreateOr(texel, builder.CreateShl(texel, 8)); in pointSample()
[all …]
Dllvm_scanline.cpp214 comps[0] = builder.CreateOr(comps[0], comps[1]); in IntVectorToScreenColor()
215 comps[0] = builder.CreateOr(comps[0], comps[2]); in IntVectorToScreenColor()
216 comps[0] = builder.CreateOr(comps[0], comps[3]); in IntVectorToScreenColor()
228 comps[0] = builder.CreateOr(comps[0], comps[1]); in IntVectorToScreenColor()
229 comps[0] = builder.CreateOr(comps[0], comps[2]); in IntVectorToScreenColor()
252 dst = builder.CreateOr(dst, constIntVec(builder, 0, 0, 0, 0xff)); in ScreenColorToIntVector()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineAndOrXor.cpp216 Value *Or = Builder->CreateOr(X, Together); in OptAndOp()
229 return BinaryOperator::CreateOr(And, OpRHS); in OptAndOp()
656 Value* newOr = Builder->CreateOr(B, D); in foldLogOpOfMaskedICmps()
667 Value* newOr = Builder->CreateOr(B, D); in foldLogOpOfMaskedICmps()
709 Value *newOr1 = Builder->CreateOr(B, D); in foldLogOpOfMaskedICmps()
750 Value *NewOr = Builder->CreateOr(Val, Val2); in FoldAndOfICmps()
756 Value *NewOr = Builder->CreateOr(Val, Val2); in FoldAndOfICmps()
768 Value *NewOr = Builder->CreateOr(Val, Val2); in FoldAndOfICmps()
1158 Value *Or = Builder->CreateOr(Op0NotVal, Op1NotVal, in visitAnd()
1489 Value *NewOr = Builder->CreateOr(Val, Val2); in FoldOrOfICmps()
[all …]
DInstCombineSelect.cpp463 return ReplaceInstUsesWith(SI, Builder->CreateOr(AShr, C1)); in visitSelectInstWithICmp()
649 return BinaryOperator::CreateOr(CondVal, FalseVal); in visitSelectInst()
661 return BinaryOperator::CreateOr(NotCond, TrueVal); in visitSelectInst()
667 return BinaryOperator::CreateOr(CondVal, FalseVal); in visitSelectInst()
DInstCombineSimplifyDemanded.cpp314 BinaryOperator::CreateOr(I->getOperand(0), I->getOperand(1), in SimplifyDemandedUseBits()
516 BinaryOperator::CreateOr(I->getOperand(0), I->getOperand(1), in SimplifyDemandedUseBits()
DInstCombineCompares.cpp385 return BinaryOperator::CreateOr(C1, C2); in FoldCmpLoadFromIndexedGlobal()
1232 Op = BinaryOperator::CreateOr(ICIP, ICIQ); in visitICmpInstWithInstAndIntCst()
1821 return BinaryOperator::CreateOr(Not, Op1); in visitICmpInst()
1828 return BinaryOperator::CreateOr(Not, Op0); in visitICmpInst()
DInstCombineAddSub.cpp203 return BinaryOperator::CreateOr(LHS, RHS); in visitAdd()
/external/llvm/include/llvm/Support/
DNoFolder.h140 Instruction *CreateOr(Constant *LHS, Constant *RHS) const { in CreateOr() function
141 return BinaryOperator::CreateOr(LHS, RHS); in CreateOr()
DIRBuilder.h680 Value *CreateOr(Value *LHS, Value *RHS, const Twine &Name = "") {
685 return Insert(Folder.CreateOr(LC, RC), Name);
687 return Insert(BinaryOperator::CreateOr(LHS, RHS), Name);
689 Value *CreateOr(Value *LHS, const APInt &RHS, const Twine &Name = "") {
690 return CreateOr(LHS, ConstantInt::get(LHS->getType(), RHS), Name);
692 Value *CreateOr(Value *LHS, uint64_t RHS, const Twine &Name = "") {
693 return CreateOr(LHS, ConstantInt::get(LHS->getType(), RHS), Name);
DConstantFolder.h90 Constant *CreateOr(Constant *LHS, Constant *RHS) const { in CreateOr() function
DTargetFolder.h102 Constant *CreateOr(Constant *LHS, Constant *RHS) const { in CreateOr() function
/external/llvm/lib/Transforms/Scalar/
DLowerAtomic.cpp59 Res = Builder.CreateOr(Orig, Delta); in LowerAtomicIntrinsic()
DGVN.cpp1060 Val = Builder.CreateOr(Val, ShVal); in GetMemInstValueForLoad()
1067 Val = Builder.CreateOr(OneElt, ShVal); in GetMemInstValueForLoad()
DScalarReplAggregates.cpp1062 SV = Builder.CreateOr(Old, SV, "ins"); in ConvertScalar_InsertValue()
2453 ResultVal = BinaryOperator::CreateOr(SrcField, ResultVal, "", LI); in RewriteLoadUserOfWholeAlloca()
/external/llvm/examples/BrainF/
DBrainF.cpp257 CreateOr(test_0, test_1, testreg); in readloop()
/external/llvm/include/llvm/MC/
DMCExpr.h374 static const MCBinaryExpr *CreateOr(const MCExpr *LHS, const MCExpr *RHS, in CreateOr() function
/external/mesa3d/src/glsl/
Dir_to_llvm.cpp757 return bld.CreateOr(ops[0], ops[1]); in llvm_expression()
848 return bld.CreateOr(ops[0], ops[1], "bmax"); in llvm_expression()
869 return bld.CreateOr(ops[0], ops[1]); in llvm_expression()
/external/clang/lib/CodeGen/
DItaniumCXXABI.cpp622 llvm::Value *OrAdj = Builder.CreateOr(LAdj, RAdj, "or.adj"); in EmitMemberPointerComparison()
664 Result = Builder.CreateOr(Result, IsVirtual); in EmitMemberPointerIsNotNull()
DCGExprScalar.cpp449 return Builder.CreateOr(Ops.LHS, Ops.RHS, "or"); in EmitOr()
653 return Builder.CreateOr(Src.first, Src.second, "tobool"); in EmitComplexToScalarConversion()
1702 Builder.CreateCondBr(Builder.CreateOr(Cond1, Cond2, "or"), in EmitUndefinedBehaviorIntegerDivAndRemCheck()
2232 Result = Builder.CreateOr(ResultR, ResultI, "or.ri"); in EmitCompare()
2507 llvm::Value *tmp5 = Builder.CreateOr(tmp3, tmp4, "cond"); in VisitAbstractConditionalOperator()
DCGExprCXX.cpp624 hasOverflow = CGF.Builder.CreateOr(hasOverflow, overflowed); in EmitCXXNewAllocSize()
663 hasOverflow = CGF.Builder.CreateOr(hasOverflow, overflowed); in EmitCXXNewAllocSize()
DCGExpr.cpp887 Res = Res ? Builder.CreateOr(Res, Val) : Val; in EmitLoadOfBitfieldLValue()
1121 Val = Builder.CreateOr(Builder.CreateAnd(Load, InvMask), Val); in EmitStoreThroughBitfieldLValue()
/external/llvm/lib/CodeGen/AsmPrinter/
DAsmPrinter.cpp1508 case Instruction::Or: return MCBinaryExpr::CreateOr (LHS, RHS, Ctx); in LowerConstant()
/external/llvm/lib/Transforms/Utils/
DSimplifyCFG.cpp1787 Value *Cond = Builder.CreateOr(PBICond, BICond, "brmerge"); in SimplifyCondBranchToCondBranch()
/external/llvm/lib/VMCore/
DCore.cpp1821 return wrap(unwrap(B)->CreateOr(unwrap(LHS), unwrap(RHS), Name)); in LLVMBuildOr()

12