Home
last modified time | relevance | path

Searched refs:CreateOr (Results 1 – 25 of 42) 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 …]
DAtomicExpandPass.cpp265 return Builder.CreateOr(Loaded, Inc, "new"); in performAtomicOp()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineAndOrXor.cpp148 BinOp = Builder->CreateOr(NewLHS, NewRHS); in SimplifyBSwap()
182 Value *Or = Builder->CreateOr(X, Together); in OptAndOp()
195 return BinaryOperator::CreateOr(And, OpRHS); in OptAndOp()
737 Value *newOr = Builder->CreateOr(B, D); in foldLogOpOfMaskedICmps()
748 Value *newOr = Builder->CreateOr(B, D); in foldLogOpOfMaskedICmps()
817 Value *newOr1 = Builder->CreateOr(B, D); in foldLogOpOfMaskedICmps()
922 Value *NewOr = Builder->CreateOr(Val, Val2); in FoldAndOfICmps()
928 Value *NewOr = Builder->CreateOr(Val, Val2); in FoldAndOfICmps()
1336 Value *Or = Builder->CreateOr(Op0NotVal, Op1NotVal, in visitAnd()
1716 Mask = Builder->CreateOr(LAnd->getOperand(1), RAnd->getOperand(1)); in FoldOrOfICmps()
[all …]
DInstCombineSelect.cpp437 return Builder->CreateOr(V, Y); in foldSelectICmpAndOr()
625 return ReplaceInstUsesWith(SI, Builder->CreateOr(AShr, C1)); in visitSelectInstWithICmp()
710 V = Builder->CreateOr(X, *Y); in visitSelectInstWithICmp()
714 V = Builder->CreateOr(X, *Y); in visitSelectInstWithICmp()
923 return BinaryOperator::CreateOr(CondVal, FalseVal); in visitSelectInst()
936 return BinaryOperator::CreateOr(NotCond, TrueVal); in visitSelectInst()
942 return BinaryOperator::CreateOr(CondVal, FalseVal); in visitSelectInst()
951 return BinaryOperator::CreateOr(TrueVal, FalseVal); in visitSelectInst()
1236 Value *Or = Builder->CreateOr(CondVal, FalseSI->getCondition()); in visitSelectInst()
DInstCombineAddSub.cpp1024 Value *NewOr = Builder->CreateOr(Z, ~(*C1)); in checkForNegativeOperand()
1044 Value *NewOr = Builder->CreateOr(Z, ~(*C2)); in checkForNegativeOperand()
1174 return BinaryOperator::CreateOr(LHS, RHS); in visitAdd()
1280 return BinaryOperator::CreateOr(A, B); in visitAdd()
1285 return BinaryOperator::CreateOr(A, B); in visitAdd()
DInstCombineCompares.cpp419 return BinaryOperator::CreateOr(C1, C2); in FoldCmpLoadFromIndexedGlobal()
1403 NewOr = Builder->CreateOr(Builder->CreateShl(One, Y, in visitICmpInstWithInstAndIntCst()
1467 Op = BinaryOperator::CreateOr(ICIP, ICIQ); in visitICmpInstWithInstAndIntCst()
1686 Builder->CreateOr(LHSI->getOperand(1), RHSV - 1), in visitICmpInstWithInstAndIntCst()
1695 Builder->CreateOr(LHSI->getOperand(1), RHSV), LHSC); in visitICmpInstWithInstAndIntCst()
2718 return BinaryOperator::CreateOr(Not, Op1); in visitICmpInst()
2725 return BinaryOperator::CreateOr(Not, Op0); in visitICmpInst()
DInstCombineSimplifyDemanded.cpp367 BinaryOperator::CreateOr(I->getOperand(0), I->getOperand(1), in SimplifyDemandedUseBits()
566 BinaryOperator::CreateOr(I->getOperand(0), I->getOperand(1), in SimplifyDemandedUseBits()
/external/llvm/lib/Transforms/Utils/
DIntegerDivision.cpp254 Value *Ret0_3 = Builder.CreateOr(Ret0_1, Ret0_2); in generateUnsignedDivisionCode()
259 Value *Ret0 = Builder.CreateOr(Ret0_3, Ret0_4); in generateUnsignedDivisionCode()
262 Value *EarlyRet = Builder.CreateOr(Ret0, RetDividend); in generateUnsignedDivisionCode()
312 Value *Tmp7 = Builder.CreateOr(Tmp5, Tmp6); in generateUnsignedDivisionCode()
314 Value *Q_1 = Builder.CreateOr(Carry_1, Tmp8); in generateUnsignedDivisionCode()
334 Value *Q_4 = Builder.CreateOr(Carry_2, Tmp13); in generateUnsignedDivisionCode()
DFlattenCFG.cpp288 NC = Builder.CreateOr(PC, CC); in FlattenParallelAndOr()
444 Value *NC = Builder.CreateOr(CInst1, CC); in MergeIfRegion()
DBypassSlowDivision.cpp159 Value *OrV = MainBuilder.CreateOr(Dividend, Divisor); in insertFastDiv()
/external/llvm/lib/Transforms/Instrumentation/
DBoundsChecking.cpp156 Value *Or = Builder->CreateOr(Cmp2, Cmp3); in instrument()
159 Or = Builder->CreateOr(Cmp1, Or); in instrument()
DMemorySanitizer.cpp607 return IRB.CreateOr(Origin, IRB.CreateShl(Origin, kOriginSize * 8)); in originToIntptr()
1367 setShadow(&I, IRB.CreateOr(S1S2, IRB.CreateOr(V1S2, S1V2))); in visitAnd()
1389 setShadow(&I, IRB.CreateOr(S1S2, IRB.CreateOr(V1S2, S1V2))); in visitOr()
1427 Shadow = IRB.CreateOr(Shadow, OpShadow, "_msprop"); in Add()
1623 Value *Sc = IRB.CreateOr(Sa, Sb); in handleEqualityComparison()
1650 IRB.CreateOr(IRB.CreateAnd(A, IRB.CreateNot(SaOtherBits)), SaSignBit); in getLowestPossibleValue()
1667 IRB.CreateOr(IRB.CreateAnd(A, IRB.CreateNot(SaSignBit)), SaOtherBits); in getHighestPossibleValue()
1670 return IRB.CreateOr(A, Sa); in getHighestPossibleValue()
1778 setShadow(&I, IRB.CreateOr(Shift, S2Conv)); in handleShift()
2045 AggShadow = IRB.CreateOr(AggShadow, MoreShadow); in handleVectorConvertIntrinsic()
[all …]
DAddressSanitizer.cpp783 return IRB.CreateOr(Shadow, ConstantInt::get(IntptrTy, Mapping.Offset)); in memToShadow()
2005 return IRB.CreateOr(Val1, Val2); in computePartialRzMagic()
/external/llvm/include/llvm/IR/
DNoFolder.h140 Instruction *CreateOr(Constant *LHS, Constant *RHS) const { in CreateOr() function
141 return BinaryOperator::CreateOr(LHS, RHS); in CreateOr()
DIRBuilder.h884 Value *CreateOr(Value *LHS, Value *RHS, const Twine &Name = "") {
889 return Insert(Folder.CreateOr(LC, RC), Name);
891 return Insert(BinaryOperator::CreateOr(LHS, RHS), Name);
893 Value *CreateOr(Value *LHS, const APInt &RHS, const Twine &Name = "") {
894 return CreateOr(LHS, ConstantInt::get(LHS->getType(), RHS), Name);
896 Value *CreateOr(Value *LHS, uint64_t RHS, const Twine &Name = "") {
897 return CreateOr(LHS, ConstantInt::get(LHS->getType(), RHS), Name);
DConstantFolder.h90 Constant *CreateOr(Constant *LHS, Constant *RHS) const { in CreateOr() function
/external/llvm/lib/Transforms/Scalar/
DLowerAtomic.cpp69 Res = Builder.CreateOr(Orig, Val); in LowerAtomicRMWInst()
DScalarReplAggregates.cpp1020 SV = Builder.CreateOr(Old, SV, "ins"); in ConvertScalar_InsertValue()
2540 ResultVal = BinaryOperator::CreateOr(SrcField, ResultVal, "", LI); in RewriteLoadUserOfWholeAlloca()
/external/llvm/include/llvm/Analysis/
DTargetFolder.h102 Constant *CreateOr(Constant *LHS, Constant *RHS) const { in CreateOr() function
/external/llvm/examples/BrainF/
DBrainF.cpp257 CreateOr(test_0, test_1, testreg); in readloop()
/external/llvm/include/llvm/MC/
DMCExpr.h486 static const MCBinaryExpr *CreateOr(const MCExpr *LHS, const MCExpr *RHS, in CreateOr() function
/external/clang/lib/CodeGen/
DCGExprCXX.cpp671 hasOverflow = CGF.Builder.CreateOr(hasOverflow, in EmitCXXNewAllocSize()
697 hasOverflow = CGF.Builder.CreateOr(hasOverflow, overflowed); in EmitCXXNewAllocSize()
736 hasOverflow = CGF.Builder.CreateOr(hasOverflow, overflowed); in EmitCXXNewAllocSize()
DCGExprScalar.cpp495 return Builder.CreateOr(Ops.LHS, Ops.RHS, "or"); in EmitOr()
901 return Builder.CreateOr(Src.first, Src.second, "tobool"); in EmitComplexToScalarConversion()
2253 llvm::Value *NotOverflow = Builder.CreateOr(LHSCmp, RHSCmp, "or"); in EmitUndefinedBehaviorIntegerDivAndRemCheck()
2975 Result = Builder.CreateOr(ResultR, ResultI, "or.ri"); in EmitCompare()
3133 Value *Or = Builder.CreateOr(LHS, RHS); in VisitBinLOr()
3295 llvm::Value *tmp5 = Builder.CreateOr(tmp3, tmp4, "cond"); in VisitAbstractConditionalOperator()
/external/llvm/lib/Transforms/IPO/
DLowerBitSets.cpp461 BitOffset = B.CreateOr(OffsetSHR, OffsetSHL); in lowerBitSetCall()
/external/llvm/lib/Analysis/
DLoopAccessAnalysis.cpp1281 IsConflict = ChkBuilder.CreateOr(MemoryRuntimeCheck, IsConflict, in addRuntimeCheck()

12