Home
last modified time | relevance | path

Searched refs:CreateOr (Results 1 – 25 of 34) 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/llvm/lib/Transforms/Utils/
DIntegerDivision.cpp211 Value *Ret0_3 = Builder.CreateOr(Ret0_1, Ret0_2); in generateUnsignedDivisionCode()
216 Value *Ret0 = Builder.CreateOr(Ret0_3, Ret0_4); in generateUnsignedDivisionCode()
219 Value *EarlyRet = Builder.CreateOr(Ret0, RetDividend); in generateUnsignedDivisionCode()
269 Value *Tmp7 = Builder.CreateOr(Tmp5, Tmp6); in generateUnsignedDivisionCode()
271 Value *Q_1 = Builder.CreateOr(Carry_1, Tmp8); in generateUnsignedDivisionCode()
291 Value *Q_4 = Builder.CreateOr(Carry_2, Tmp13); in generateUnsignedDivisionCode()
DFlattenCFG.cpp286 NC = Builder.CreateOr(PC, CC); in FlattenParallelAndOr()
443 Value *NC = Builder.CreateOr(CInst1, CC); in MergeIfRegion()
DBypassSlowDivision.cpp158 Value *OrV = MainBuilder.CreateOr(Dividend, Divisor); in insertFastDiv()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineAndOrXor.cpp153 Value *Or = Builder->CreateOr(X, Together); in OptAndOp()
166 return BinaryOperator::CreateOr(And, OpRHS); in OptAndOp()
638 Value* newOr = Builder->CreateOr(B, D); in foldLogOpOfMaskedICmps()
649 Value* newOr = Builder->CreateOr(B, D); in foldLogOpOfMaskedICmps()
691 Value *newOr1 = Builder->CreateOr(B, D); in foldLogOpOfMaskedICmps()
732 Value *NewOr = Builder->CreateOr(Val, Val2); in FoldAndOfICmps()
738 Value *NewOr = Builder->CreateOr(Val, Val2); in FoldAndOfICmps()
1134 Value *Or = Builder->CreateOr(Op0NotVal, Op1NotVal, in visitAnd()
1516 Value *NewOr = Builder->CreateOr(Val, Val2); in FoldOrOfICmps()
1774 return BinaryOperator::CreateOr(NewOp, V1); in FoldOrWithConstants()
[all …]
DInstCombineSelect.cpp412 return Builder->CreateOr(V, Y); in foldSelectICmpAndOr()
544 return ReplaceInstUsesWith(SI, Builder->CreateOr(AShr, C1)); in visitSelectInstWithICmp()
744 return BinaryOperator::CreateOr(CondVal, FalseVal); in visitSelectInst()
757 return BinaryOperator::CreateOr(NotCond, TrueVal); in visitSelectInst()
763 return BinaryOperator::CreateOr(CondVal, FalseVal); in visitSelectInst()
772 return BinaryOperator::CreateOr(TrueVal, FalseVal); in visitSelectInst()
DInstCombineAddSub.cpp1047 return BinaryOperator::CreateOr(LHS, RHS); in visitAdd()
1171 return BinaryOperator::CreateOr(A, B); in visitAdd()
1176 return BinaryOperator::CreateOr(A, B); in visitAdd()
DInstCombineSimplifyDemanded.cpp324 BinaryOperator::CreateOr(I->getOperand(0), I->getOperand(1), in SimplifyDemandedUseBits()
523 BinaryOperator::CreateOr(I->getOperand(0), I->getOperand(1), in SimplifyDemandedUseBits()
DInstCombineCompares.cpp417 return BinaryOperator::CreateOr(C1, C2); in FoldCmpLoadFromIndexedGlobal()
1318 Op = BinaryOperator::CreateOr(ICIP, ICIQ); in visitICmpInstWithInstAndIntCst()
1547 Builder->CreateOr(LHSI->getOperand(1), RHSV - 1), in visitICmpInstWithInstAndIntCst()
1556 Builder->CreateOr(LHSI->getOperand(1), RHSV), LHSC); in visitICmpInstWithInstAndIntCst()
2104 return BinaryOperator::CreateOr(Not, Op1); in visitICmpInst()
2111 return BinaryOperator::CreateOr(Not, Op0); in visitICmpInst()
/external/llvm/lib/Transforms/Instrumentation/
DBoundsChecking.cpp159 Value *Or = Builder->CreateOr(Cmp2, Cmp3); in instrument()
162 Or = Builder->CreateOr(Cmp1, Or); in instrument()
DMemorySanitizer.cpp989 setShadow(&I, IRB.CreateOr(S1S2, IRB.CreateOr(V1S2, S1V2))); in visitAnd()
1011 setShadow(&I, IRB.CreateOr(S1S2, IRB.CreateOr(V1S2, S1V2))); in visitOr()
1049 Shadow = IRB.CreateOr(Shadow, OpShadow, "_msprop"); in Add()
1181 Value *Sc = IRB.CreateOr(Sa, Sb); in handleEqualityComparison()
1208 IRB.CreateOr(IRB.CreateAnd(A, IRB.CreateNot(SaOtherBits)), SaSignBit); in getLowestPossibleValue()
1225 IRB.CreateOr(IRB.CreateAnd(A, IRB.CreateNot(SaSignBit)), SaOtherBits); in getHighestPossibleValue()
1228 return IRB.CreateOr(A, Sa); in getHighestPossibleValue()
1336 setShadow(&I, IRB.CreateOr(Shift, S2Conv)); in handleShift()
DAddressSanitizer.cpp572 return IRB.CreateOr(Shadow, ConstantInt::get(IntptrTy, Mapping.Offset)); in memToShadow()
/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()
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.cpp65 Res = Builder.CreateOr(Orig, Val); in LowerAtomicRMWInst()
DGVN.cpp1216 Val = Builder.CreateOr(Val, ShVal); in GetMemInstValueForLoad()
1223 Val = Builder.CreateOr(OneElt, ShVal); in GetMemInstValueForLoad()
DScalarReplAggregates.cpp1011 SV = Builder.CreateOr(Old, SV, "ins"); in ConvertScalar_InsertValue()
2518 ResultVal = BinaryOperator::CreateOr(SrcField, ResultVal, "", LI); in RewriteLoadUserOfWholeAlloca()
/external/llvm/include/llvm/IR/
DIRBuilder.h763 Value *CreateOr(Value *LHS, Value *RHS, const Twine &Name = "") {
768 return Insert(Folder.CreateOr(LC, RC), Name);
770 return Insert(BinaryOperator::CreateOr(LHS, RHS), Name);
772 Value *CreateOr(Value *LHS, const APInt &RHS, const Twine &Name = "") {
773 return CreateOr(LHS, ConstantInt::get(LHS->getType(), RHS), Name);
775 Value *CreateOr(Value *LHS, uint64_t RHS, const Twine &Name = "") {
776 return CreateOr(LHS, ConstantInt::get(LHS->getType(), RHS), Name);
/external/llvm/examples/BrainF/
DBrainF.cpp257 CreateOr(test_0, test_1, testreg); in readloop()
/external/llvm/include/llvm/MC/
DMCExpr.h448 static const MCBinaryExpr *CreateOr(const MCExpr *LHS, const MCExpr *RHS, in CreateOr() function
/external/clang/lib/CodeGen/
DCGExprScalar.cpp450 return Builder.CreateOr(Ops.LHS, Ops.RHS, "or"); in EmitOr()
820 return Builder.CreateOr(Src.first, Src.second, "tobool"); in EmitComplexToScalarConversion()
2048 llvm::Value *Overflow = Builder.CreateOr(LHSCmp, RHSCmp, "or"); in EmitUndefinedBehaviorIntegerDivAndRemCheck()
2722 Result = Builder.CreateOr(ResultR, ResultI, "or.ri"); in EmitCompare()
2868 Value *Or = Builder.CreateOr(LHS, RHS); in VisitBinLOr()
3028 llvm::Value *tmp5 = Builder.CreateOr(tmp3, tmp4, "cond"); in VisitAbstractConditionalOperator()
DCGExprCXX.cpp722 hasOverflow = CGF.Builder.CreateOr(hasOverflow, in EmitCXXNewAllocSize()
748 hasOverflow = CGF.Builder.CreateOr(hasOverflow, overflowed); in EmitCXXNewAllocSize()
787 hasOverflow = CGF.Builder.CreateOr(hasOverflow, overflowed); in EmitCXXNewAllocSize()
DItaniumCXXABI.cpp667 llvm::Value *OrAdj = Builder.CreateOr(LAdj, RAdj, "or.adj"); in EmitMemberPointerComparison()
709 Result = Builder.CreateOr(Result, IsVirtual); in EmitMemberPointerIsNotNull()
/external/llvm/lib/Target/NVPTX/
DNVPTXAsmPrinter.cpp247 return MCBinaryExpr::CreateOr(LHS, RHS, Ctx); in LowerConstant()

12