Home
last modified time | relevance | path

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

123456

/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DIntrinsicLowering.cpp68 V = Builder.CreateOr(Tmp1, Tmp2, "bswap.i16"); in LowerBSWAP()
86 Tmp4 = Builder.CreateOr(Tmp4, Tmp3, "bswap.or1"); in LowerBSWAP()
87 Tmp2 = Builder.CreateOr(Tmp2, Tmp1, "bswap.or2"); in LowerBSWAP()
88 V = Builder.CreateOr(Tmp4, Tmp2, "bswap.i32"); in LowerBSWAP()
135 Tmp8 = Builder.CreateOr(Tmp8, Tmp7, "bswap.or1"); in LowerBSWAP()
136 Tmp6 = Builder.CreateOr(Tmp6, Tmp5, "bswap.or2"); in LowerBSWAP()
137 Tmp4 = Builder.CreateOr(Tmp4, Tmp3, "bswap.or3"); in LowerBSWAP()
138 Tmp2 = Builder.CreateOr(Tmp2, Tmp1, "bswap.or4"); in LowerBSWAP()
139 Tmp8 = Builder.CreateOr(Tmp8, Tmp6, "bswap.or5"); in LowerBSWAP()
140 Tmp4 = Builder.CreateOr(Tmp4, Tmp2, "bswap.or6"); in LowerBSWAP()
[all …]
/external/llvm-project/llvm/lib/CodeGen/
DIntrinsicLowering.cpp67 V = Builder.CreateOr(Tmp1, Tmp2, "bswap.i16"); in LowerBSWAP()
85 Tmp4 = Builder.CreateOr(Tmp4, Tmp3, "bswap.or1"); in LowerBSWAP()
86 Tmp2 = Builder.CreateOr(Tmp2, Tmp1, "bswap.or2"); in LowerBSWAP()
87 V = Builder.CreateOr(Tmp4, Tmp2, "bswap.i32"); in LowerBSWAP()
134 Tmp8 = Builder.CreateOr(Tmp8, Tmp7, "bswap.or1"); in LowerBSWAP()
135 Tmp6 = Builder.CreateOr(Tmp6, Tmp5, "bswap.or2"); in LowerBSWAP()
136 Tmp4 = Builder.CreateOr(Tmp4, Tmp3, "bswap.or3"); in LowerBSWAP()
137 Tmp2 = Builder.CreateOr(Tmp2, Tmp1, "bswap.or4"); in LowerBSWAP()
138 Tmp8 = Builder.CreateOr(Tmp8, Tmp6, "bswap.or5"); in LowerBSWAP()
139 Tmp4 = Builder.CreateOr(Tmp4, Tmp2, "bswap.or6"); in LowerBSWAP()
[all …]
/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/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-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineAndOrXor.cpp651 Value *NewOr = Builder.CreateOr(B, D); in foldLogOpOfMaskedICmps()
662 Value *NewOr = Builder.CreateOr(B, D); in foldLogOpOfMaskedICmps()
739 Value *NewOr1 = Builder.CreateOr(B, D); in foldLogOpOfMaskedICmps()
837 Value *Or = Builder.CreateOr(X, ConstantInt::get(X->getType(), Xor)); in foldAndOrOfEqualityCmpsWithConstants()
888 Value *Mask = Builder.CreateOr(B, D); in foldAndOrOfICmpsOfAndWithPow2()
1211 Value *NewOr = Builder.CreateOr(LHS0, RHS0); in foldAndOfICmps()
1783 return BinaryOperator::CreateOr(And, ConstantInt::get(I.getType(), in visitAnd()
2330 Value *NewOr = Builder.CreateOr(LHS0, RHS0); in foldOrOfICmps()
2490 Value *Or = Builder.CreateOr(X, Y); in visitOr()
2529 V2 = Builder.CreateOr(V1, ConstantExpr::getOr(C3, C4), "bitfield"); in visitOr()
[all …]
/external/llvm-project/llvm/lib/Transforms/InstCombine/
DInstCombineAndOrXor.cpp596 Value *NewOr = Builder.CreateOr(B, D); in foldLogOpOfMaskedICmps()
607 Value *NewOr = Builder.CreateOr(B, D); in foldLogOpOfMaskedICmps()
678 Value *NewOr1 = Builder.CreateOr(B, D); in foldLogOpOfMaskedICmps()
776 Value *Or = Builder.CreateOr(X, ConstantInt::get(X->getType(), Xor)); in foldAndOrOfEqualityCmpsWithConstants()
828 Value *Mask = Builder.CreateOr(B, D); in foldAndOrOfICmpsOfAndWithPow2()
1198 Value *NewOr = Builder.CreateOr(LHS0, RHS0); in foldAndOfICmps()
1754 return BinaryOperator::CreateOr(And, ConstantInt::get(Ty, Together)); in visitAnd()
2156 Value *BinOp = Builder.CreateOr(NewLower, NewUpper); in matchOrConcat()
2416 Value *NewOr = Builder.CreateOr(LHS0, RHS0); in foldOrOfICmps()
2584 Value *Or = Builder.CreateOr(X, Y); in visitOr()
[all …]
DInstCombineSelect.cpp186 return ExtraBitInTC ? Builder.CreateXor(V, C) : Builder.CreateOr(V, C); in foldSelectICmpAnd()
193 return ExtraBitInTC ? Builder.CreateOr(V, C) : Builder.CreateXor(V, C); in foldSelectICmpAnd()
508 Value *FullMask = Builder.CreateOr(Y, MaskB); in foldSelectICmpAndAnd()
654 return Builder.CreateOr(V, Y); in foldSelectICmpAndOr()
674 return BinaryOperator::CreateOr(T, NewSel); in foldSetClearBits()
683 return BinaryOperator::CreateOr(F, NewSel); in foldSetClearBits()
1529 V = Builder.CreateOr(X, *Y); in foldSelectInstWithICmp()
1533 V = Builder.CreateOr(X, *Y); in foldSelectInstWithICmp()
2633 return BinaryOperator::CreateOr(CondVal, FalseVal); in visitSelectInst()
2647 return BinaryOperator::CreateOr(NotCond, TrueVal); in visitSelectInst()
[all …]
/external/llvm-project/llvm/lib/Transforms/Utils/
DIntegerDivision.cpp253 Value *Ret0_3 = Builder.CreateOr(Ret0_1, Ret0_2); in generateUnsignedDivisionCode()
258 Value *Ret0 = Builder.CreateOr(Ret0_3, Ret0_4); in generateUnsignedDivisionCode()
261 Value *EarlyRet = Builder.CreateOr(Ret0, RetDividend); in generateUnsignedDivisionCode()
311 Value *Tmp7 = Builder.CreateOr(Tmp5, Tmp6); in generateUnsignedDivisionCode()
313 Value *Q_1 = Builder.CreateOr(Carry_1, Tmp8); in generateUnsignedDivisionCode()
333 Value *Q_4 = Builder.CreateOr(Carry_2, Tmp13); in generateUnsignedDivisionCode()
DLibCallsShrinkWrap.cpp110 return BBBuilder.CreateOr(Cond1, Cond2); in createOrCond()
478 return BBBuilder.CreateOr(Cond0, Cond); in generateCondForPow()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DIntegerDivision.cpp253 Value *Ret0_3 = Builder.CreateOr(Ret0_1, Ret0_2); in generateUnsignedDivisionCode()
258 Value *Ret0 = Builder.CreateOr(Ret0_3, Ret0_4); in generateUnsignedDivisionCode()
261 Value *EarlyRet = Builder.CreateOr(Ret0, RetDividend); in generateUnsignedDivisionCode()
311 Value *Tmp7 = Builder.CreateOr(Tmp5, Tmp6); in generateUnsignedDivisionCode()
313 Value *Q_1 = Builder.CreateOr(Carry_1, Tmp8); in generateUnsignedDivisionCode()
333 Value *Q_4 = Builder.CreateOr(Carry_2, Tmp13); in generateUnsignedDivisionCode()
DFlattenCFG.cpp299 NC = Builder.CreateOr(PC, CC); in FlattenParallelAndOr()
452 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/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/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/llvm-project/llvm/lib/Transforms/Instrumentation/
DBoundsChecking.cpp99 Value *Or = IRB.CreateOr(Cmp2, Cmp3); in getBoundsCheckCond()
103 Or = IRB.CreateOr(Cmp1, Or); in getBoundsCheckCond()
DMemorySanitizer.cpp1127 return IRB.CreateOr(Origin, IRB.CreateShl(Origin, kOriginSize * 8)); in originToIntptr()
1405 Aggregator = IRB.CreateOr(Aggregator, ShadowBool); in collapseStructShadow()
1425 Aggregator = IRB.CreateOr(Aggregator, ShadowInner); in collapseArrayShadow()
2079 setShadow(&I, IRB.CreateOr({S1S2, V1S2, S1V2})); in visitAnd()
2101 setShadow(&I, IRB.CreateOr({S1S2, V1S2, S1V2})); in visitOr()
2139 Shadow = IRB.CreateOr(Shadow, OpShadow, "_msprop"); in Add()
2350 Value *Sc = IRB.CreateOr(Sa, Sb); in handleEqualityComparison()
2377 IRB.CreateOr(IRB.CreateAnd(A, IRB.CreateNot(SaOtherBits)), SaSignBit); in getLowestPossibleValue()
2394 IRB.CreateOr(IRB.CreateAnd(A, IRB.CreateNot(SaSignBit)), SaOtherBits); in getHighestPossibleValue()
2397 return IRB.CreateOr(A, Sa); in getHighestPossibleValue()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/
DBoundsChecking.cpp99 Value *Or = IRB.CreateOr(Cmp2, Cmp3); in getBoundsCheckCond()
103 Or = IRB.CreateOr(Cmp1, Or); in getBoundsCheckCond()
DHWAddressSanitizer.cpp662 Value *InlineTagAddr = IRB.CreateOr(AddrLong, 15); in instrumentMemAccessInline()
873 Value *ShiftedTag = IRB.CreateOr( in tagPointer()
880 TaggedPtrLong = IRB.CreateOr(PtrLong, ShiftedTag); in tagPointer()
890 UntaggedPtrLong = IRB.CreateOr(PtrLong, in untagPointer()
968 IRB.CreateStore(IRB.CreateOr(PC, SP), RecordPtr); in emitPrologue()
989 IRB.CreateOr( in emitPrologue()
DMemorySanitizer.cpp1086 return IRB.CreateOr(Origin, IRB.CreateShl(Origin, kOriginSize * 8)); in originToIntptr()
1953 setShadow(&I, IRB.CreateOr({S1S2, V1S2, S1V2})); in visitAnd()
1975 setShadow(&I, IRB.CreateOr({S1S2, V1S2, S1V2})); in visitOr()
2013 Shadow = IRB.CreateOr(Shadow, OpShadow, "_msprop"); in Add()
2223 Value *Sc = IRB.CreateOr(Sa, Sb); in handleEqualityComparison()
2250 IRB.CreateOr(IRB.CreateAnd(A, IRB.CreateNot(SaOtherBits)), SaSignBit); in getLowestPossibleValue()
2267 IRB.CreateOr(IRB.CreateAnd(A, IRB.CreateNot(SaSignBit)), SaOtherBits); in getHighestPossibleValue()
2270 return IRB.CreateOr(A, Sa); in getHighestPossibleValue()
2383 setShadow(&I, IRB.CreateOr(Shift, S2Conv)); in handleShift()
2648 AggShadow = IRB.CreateOr(AggShadow, MoreShadow); in handleVectorConvertIntrinsic()
[all …]
/external/llvm-project/llvm/include/llvm/IR/
DNoFolder.h139 Instruction *CreateOr(Constant *LHS, Constant *RHS) const override { in CreateOr() function
140 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-10.0/llvm/include/llvm/IR/
DNoFolder.h165 Instruction *CreateOr(Constant *LHS, Constant *RHS) const { in CreateOr() function
166 return BinaryOperator::CreateOr(LHS, RHS); in CreateOr()

123456