Home
last modified time | relevance | path

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

123

/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/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.cpp505 return Builder.CreateOr(Loaded, Inc, "new"); in performAtomicOp()
647 Value *FinalVal = Builder.CreateOr(Loaded_MaskOut, Shifted_Inc); in performMaskedAtomicOp()
663 Value *FinalVal = Builder.CreateOr(Loaded_MaskOut, NewVal_Masked); in performMaskedAtomicOp()
679 Value *FinalVal = Builder.CreateOr(Loaded_MaskOut, NewVal_Shiftup); in performMaskedAtomicOp()
807 Value *FullWord_NewVal = Builder.CreateOr(Loaded_MaskOut, NewVal_Shifted); in expandPartwordCmpXchg()
808 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()
DInstCombineAddSub.cpp1004 Value *NewOr = Builder->CreateOr(Z, ~(*C1)); in checkForNegativeOperand()
1024 Value *NewOr = Builder->CreateOr(Z, ~(*C2)); in checkForNegativeOperand()
1144 return BinaryOperator::CreateOr(LHS, RHS); in visitAdd()
1248 return BinaryOperator::CreateOr(A, B); in visitAdd()
1253 return BinaryOperator::CreateOr(A, B); in visitAdd()
/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/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()
DBypassSlowDivision.cpp154 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.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/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
/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.h968 Value *CreateOr(Value *LHS, Value *RHS, const Twine &Name = "") {
973 return Insert(Folder.CreateOr(LC, RC), Name);
975 return Insert(BinaryOperator::CreateOr(LHS, RHS), Name);
977 Value *CreateOr(Value *LHS, const APInt &RHS, const Twine &Name = "") {
978 return CreateOr(LHS, ConstantInt::get(LHS->getType(), RHS), Name);
980 Value *CreateOr(Value *LHS, uint64_t RHS, const Twine &Name = "") {
981 return CreateOr(LHS, ConstantInt::get(LHS->getType(), RHS), Name);
DConstantFolder.h90 Constant *CreateOr(Constant *LHS, Constant *RHS) const { in CreateOr() function
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DLowerAtomic.cpp65 Res = Builder.CreateOr(Orig, Val); in LowerAtomicRMWInst()
/external/llvm/lib/Transforms/Scalar/
DLowerAtomic.cpp70 Res = Builder.CreateOr(Orig, Val); in LowerAtomicRMWInst()
/external/tensorflow/tensorflow/compiler/xla/service/
Delemental_ir_emitter.cc128 llvm::Value* x_signed_inf = ir_builder->CreateOr( in EmitReducePrecisionFloat()
307 ir_builder_->CreateOr(ashr, 1)); in EmitIntegerUnaryOp()
812 return ir_builder_->CreateOr( in EmitComplexBinaryOp()
1052 return ir_builder_->CreateOr(lhs_value, rhs_value); in EmitIntegerBinaryOp()
1187 llvm::Value* state = ir_builder_->CreateOr(state0, state1); in MakeRngElementGenerator()
1606 llvm::Value* slice_intersection_or = ir_builder_->CreateOr( in MakeElementGenerator()
/external/llvm/examples/BrainF/
DBrainF.cpp266 CreateOr(test_0, test_1, testreg); in readloop()
/external/llvm/include/llvm/Analysis/
DTargetFolder.h102 Constant *CreateOr(Constant *LHS, Constant *RHS) const { in CreateOr() function
/external/swiftshader/third_party/LLVM/examples/BrainF/
DBrainF.cpp256 CreateOr(test_0, test_1, testreg); in readloop()

123