Home
last modified time | relevance | path

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

12345

/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/swiftshader/third_party/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/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DIntrinsicLowering.cpp179 V = Builder.CreateOr(Tmp1, Tmp2, "bswap.i16"); in LowerBSWAP()
197 Tmp4 = Builder.CreateOr(Tmp4, Tmp3, "bswap.or1"); in LowerBSWAP()
198 Tmp2 = Builder.CreateOr(Tmp2, Tmp1, "bswap.or2"); in LowerBSWAP()
199 V = Builder.CreateOr(Tmp4, Tmp2, "bswap.i32"); in LowerBSWAP()
246 Tmp8 = Builder.CreateOr(Tmp8, Tmp7, "bswap.or1"); in LowerBSWAP()
247 Tmp6 = Builder.CreateOr(Tmp6, Tmp5, "bswap.or2"); in LowerBSWAP()
248 Tmp4 = Builder.CreateOr(Tmp4, Tmp3, "bswap.or3"); in LowerBSWAP()
249 Tmp2 = Builder.CreateOr(Tmp2, Tmp1, "bswap.or4"); in LowerBSWAP()
250 Tmp8 = Builder.CreateOr(Tmp8, Tmp6, "bswap.or5"); in LowerBSWAP()
251 Tmp4 = Builder.CreateOr(Tmp4, Tmp2, "bswap.or6"); in LowerBSWAP()
[all …]
DAtomicExpandPass.cpp515 return Builder.CreateOr(Loaded, Inc, "new"); in performAtomicOp()
657 Value *FinalVal = Builder.CreateOr(Loaded_MaskOut, Shifted_Inc); in performMaskedAtomicOp()
673 Value *FinalVal = Builder.CreateOr(Loaded_MaskOut, NewVal_Masked); in performMaskedAtomicOp()
689 Value *FinalVal = Builder.CreateOr(Loaded_MaskOut, NewVal_Shiftup); in performMaskedAtomicOp()
816 Value *FullWord_NewVal = Builder.CreateOr(Loaded_MaskOut, NewVal_Shifted); in expandPartwordCmpXchg()
817 Value *FullWord_Cmp = Builder.CreateOr(Loaded_MaskOut, Cmp_Shifted); in expandPartwordCmpXchg()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineAndOrXor.cpp139 BinOp = Builder->CreateOr(NewLHS, NewRHS); in SimplifyBSwap()
172 Value *Or = Builder->CreateOr(X, Together); in OptAndOp()
185 return BinaryOperator::CreateOr(And, OpRHS); in OptAndOp()
723 Value *NewOr = Builder->CreateOr(B, D); in foldLogOpOfMaskedICmps()
734 Value *NewOr = Builder->CreateOr(B, D); in foldLogOpOfMaskedICmps()
803 Value *NewOr1 = Builder->CreateOr(B, D); in foldLogOpOfMaskedICmps()
909 Value *NewOr = Builder->CreateOr(Val, Val2); in FoldAndOfICmps()
1704 Mask = Builder->CreateOr(LAnd->getOperand(1), RAnd->getOperand(1)); in FoldOrOfICmps()
1711 Mask = Builder->CreateOr(LAnd->getOperand(0), RAnd->getOperand(0)); in FoldOrOfICmps()
1835 Value *NewOr = Builder->CreateOr(Val, Val2); in FoldOrOfICmps()
[all …]
DInstCombineSelect.cpp355 return Builder->CreateOr(V, Y); in foldSelectICmpAndOr()
533 return replaceInstUsesWith(SI, Builder->CreateOr(AShr, C1)); in visitSelectInstWithICmp()
592 V = Builder->CreateOr(X, *Y); in visitSelectInstWithICmp()
596 V = Builder->CreateOr(X, *Y); in visitSelectInstWithICmp()
926 return BinaryOperator::CreateOr(CondVal, FalseVal); in visitSelectInst()
940 return BinaryOperator::CreateOr(NotCond, TrueVal); in visitSelectInst()
946 return BinaryOperator::CreateOr(CondVal, FalseVal); in visitSelectInst()
955 return BinaryOperator::CreateOr(TrueVal, FalseVal); in visitSelectInst()
1218 Value *Or = Builder->CreateOr(CondVal, FalseSI->getCondition()); in visitSelectInst()
/external/swiftshader/third_party/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()
1490 Value *NewOr = Builder->CreateOr(Val, Val2); in FoldOrOfICmps()
[all …]
DInstCombineSelect.cpp469 return ReplaceInstUsesWith(SI, Builder->CreateOr(AShr, C1)); in visitSelectInstWithICmp()
661 return BinaryOperator::CreateOr(CondVal, FalseVal); in visitSelectInst()
673 return BinaryOperator::CreateOr(NotCond, TrueVal); in visitSelectInst()
679 return BinaryOperator::CreateOr(CondVal, FalseVal); in visitSelectInst()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineAndOrXor.cpp654 Value *NewOr = Builder.CreateOr(B, D); in foldLogOpOfMaskedICmps()
665 Value *NewOr = Builder.CreateOr(B, D); in foldLogOpOfMaskedICmps()
742 Value *NewOr1 = Builder.CreateOr(B, D); in foldLogOpOfMaskedICmps()
840 Value *Or = Builder.CreateOr(X, ConstantInt::get(X->getType(), Xor)); in foldAndOrOfEqualityCmpsWithConstants()
891 Value *Mask = Builder.CreateOr(B, D); in foldAndOrOfICmpsOfAndWithPow2()
953 Value *NewOr = Builder.CreateOr(LHS0, RHS0); in foldAndOfICmps()
1463 return BinaryOperator::CreateOr(And, ConstantInt::get(I.getType(), in visitAnd()
1904 Value *NewOr = Builder.CreateOr(LHS0, RHS0); in foldOrOfICmps()
2043 Value *NOr = Builder.CreateOr(A, Op1); in visitOr()
2052 Value *NOr = Builder.CreateOr(A, Op0); in visitOr()
[all …]
DInstCombineSelect.cpp158 return ExtraBitInTC ? Builder.CreateXor(V, C) : Builder.CreateOr(V, C); in foldSelectICmpAnd()
165 return ExtraBitInTC ? Builder.CreateOr(V, C) : Builder.CreateXor(V, C); in foldSelectICmpAnd()
478 Value *FullMask = Builder.CreateOr(Y, MaskB); in foldSelectICmpAndAnd()
584 return Builder.CreateOr(V, Y); in foldSelectICmpAndOr()
982 V = Builder.CreateOr(X, *Y); in foldSelectInstWithICmp()
986 V = Builder.CreateOr(X, *Y); in foldSelectInstWithICmp()
1556 return BinaryOperator::CreateOr(CondVal, FalseVal); in visitSelectInst()
1570 return BinaryOperator::CreateOr(NotCond, TrueVal); in visitSelectInst()
1576 return BinaryOperator::CreateOr(CondVal, FalseVal); in visitSelectInst()
1585 return BinaryOperator::CreateOr(TrueVal, FalseVal); in visitSelectInst()
[all …]
/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.cpp287 NC = Builder.CreateOr(PC, CC); in FlattenParallelAndOr()
442 Value *NC = Builder.CreateOr(CInst1, CC); in MergeIfRegion()
/external/swiftshader/third_party/llvm-7.0/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.cpp300 NC = Builder.CreateOr(PC, CC); in FlattenParallelAndOr()
453 Value *NC = Builder.CreateOr(CInst1, CC); in MergeIfRegion()
DLibCallsShrinkWrap.cpp110 return BBBuilder.CreateOr(Cond1, Cond2); in createOrCond()
478 return BBBuilder.CreateOr(Cond0, Cond); in generateCondForPow()
/external/llvm/lib/Transforms/Instrumentation/
DBoundsChecking.cpp156 Value *Or = Builder->CreateOr(Cmp2, Cmp3); in instrument()
159 Or = Builder->CreateOr(Cmp1, Or); in instrument()
DMemorySanitizer.cpp676 return IRB.CreateOr(Origin, IRB.CreateShl(Origin, kOriginSize * 8)); in originToIntptr()
1443 setShadow(&I, IRB.CreateOr(S1S2, IRB.CreateOr(V1S2, S1V2))); in visitAnd()
1465 setShadow(&I, IRB.CreateOr(S1S2, IRB.CreateOr(V1S2, S1V2))); in visitOr()
1503 Shadow = IRB.CreateOr(Shadow, OpShadow, "_msprop"); in Add()
1705 Value *Sc = IRB.CreateOr(Sa, Sb); in handleEqualityComparison()
1732 IRB.CreateOr(IRB.CreateAnd(A, IRB.CreateNot(SaOtherBits)), SaSignBit); in getLowestPossibleValue()
1749 IRB.CreateOr(IRB.CreateAnd(A, IRB.CreateNot(SaSignBit)), SaOtherBits); in getHighestPossibleValue()
1752 return IRB.CreateOr(A, Sa); in getHighestPossibleValue()
1865 setShadow(&I, IRB.CreateOr(Shift, S2Conv)); in handleShift()
2109 AggShadow = IRB.CreateOr(AggShadow, MoreShadow); in handleVectorConvertIntrinsic()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Instrumentation/
DBoundsChecking.cpp99 Value *Or = IRB.CreateOr(Cmp2, Cmp3); in getBoundsCheckCond()
103 Or = IRB.CreateOr(Cmp1, Or); in getBoundsCheckCond()
DMemorySanitizer.cpp830 return IRB.CreateOr(Origin, IRB.CreateShl(Origin, kOriginSize * 8)); in originToIntptr()
1629 setShadow(&I, IRB.CreateOr(S1S2, IRB.CreateOr(V1S2, S1V2))); in visitAnd()
1651 setShadow(&I, IRB.CreateOr(S1S2, IRB.CreateOr(V1S2, S1V2))); in visitOr()
1689 Shadow = IRB.CreateOr(Shadow, OpShadow, "_msprop"); in Add()
1897 Value *Sc = IRB.CreateOr(Sa, Sb); in handleEqualityComparison()
1924 IRB.CreateOr(IRB.CreateAnd(A, IRB.CreateNot(SaOtherBits)), SaSignBit); in getLowestPossibleValue()
1941 IRB.CreateOr(IRB.CreateAnd(A, IRB.CreateNot(SaSignBit)), SaOtherBits); in getHighestPossibleValue()
1944 return IRB.CreateOr(A, Sa); in getHighestPossibleValue()
2057 setShadow(&I, IRB.CreateOr(Shift, S2Conv)); in handleShift()
2305 AggShadow = IRB.CreateOr(AggShadow, MoreShadow); in handleVectorConvertIntrinsic()
[all …]
DHWAddressSanitizer.cpp601 Value *ShiftedTag = IRB.CreateOr( in tagPointer()
608 TaggedPtrLong = IRB.CreateOr(PtrLong, ShiftedTag); in tagPointer()
618 UntaggedPtrLong = IRB.CreateOr(PtrLong, in untagPointer()
/external/swiftshader/third_party/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);
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DNoFolder.h166 Instruction *CreateOr(Constant *LHS, Constant *RHS) const { in CreateOr() function
167 return BinaryOperator::CreateOr(LHS, RHS); in CreateOr()
/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()
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DLowerAtomic.cpp65 Res = Builder.CreateOr(Orig, Val); in LowerAtomicRMWInst()

12345