/frameworks/libs/binary_translation/backend/x86_64/ |
D | insn_folding.cc | 313 using Cond = CodeEmitter::Condition; in FoldWriteFlags() typedef 314 Cond new_cond = Cond::kInvalidCondition; in FoldWriteFlags() 320 case Cond::kZero: in FoldWriteFlags() 321 new_cond = Cond::kNotZero; in FoldWriteFlags() 324 case Cond::kNotZero: in FoldWriteFlags() 325 new_cond = Cond::kZero; in FoldWriteFlags() 328 case Cond::kCarry: in FoldWriteFlags() 329 new_cond = Cond::kNotZero; in FoldWriteFlags() 332 case Cond::kNotCarry: in FoldWriteFlags() 333 new_cond = Cond::kZero; in FoldWriteFlags() [all …]
|
D | insn_folding_test.cc | 514 using Cond = CodeEmitter::Condition; typedef 516 void TestFoldCond(Cond input_cond, Cond expected_new_cond, uint16_t expected_flags_mask) { in TestFoldCond() 547 TestFoldCond(Cond::kEqual, Cond::kNotEqual, PseudoWriteFlags::Flags::kZero); in TEST() 548 TestFoldCond(Cond::kNotEqual, Cond::kEqual, PseudoWriteFlags::Flags::kZero); in TEST() 549 TestFoldCond(Cond::kCarry, Cond::kNotEqual, PseudoWriteFlags::Flags::kCarry); in TEST() 550 TestFoldCond(Cond::kNotCarry, Cond::kEqual, PseudoWriteFlags::Flags::kCarry); in TEST() 551 TestFoldCond(Cond::kNegative, Cond::kNotEqual, PseudoWriteFlags::Flags::kNegative); in TEST() 552 TestFoldCond(Cond::kNotSign, Cond::kEqual, PseudoWriteFlags::Flags::kNegative); in TEST() 553 TestFoldCond(Cond::kOverflow, Cond::kNotEqual, PseudoWriteFlags::Flags::kOverflow); in TEST() 554 TestFoldCond(Cond::kNoOverflow, Cond::kEqual, PseudoWriteFlags::Flags::kOverflow); in TEST()
|
/frameworks/compile/libbcc/bcinfo/BitReader_2_7/ |
D | BitcodeReader.cpp | 2800 Value *TrueVal, *FalseVal, *Cond; in ParseFunctionBody() local 2803 getValue(Record, OpNum, Type::getInt1Ty(Context), Cond)) in ParseFunctionBody() 2806 I = SelectInst::Create(Cond, TrueVal, FalseVal); in ParseFunctionBody() 2815 Value *TrueVal, *FalseVal, *Cond; in ParseFunctionBody() local 2818 getValueTypePair(Record, OpNum, NextValueNo, Cond)) in ParseFunctionBody() 2823 dyn_cast<VectorType>(Cond->getType())) { in ParseFunctionBody() 2829 if (Cond->getType() != Type::getInt1Ty(Context)) in ParseFunctionBody() 2833 I = SelectInst::Create(Cond, TrueVal, FalseVal); in ParseFunctionBody() 2944 Value *Cond = getFnValueByID(Record[2], Type::getInt1Ty(Context)); in ParseFunctionBody() local 2945 if (!FalseDest || !Cond) in ParseFunctionBody() [all …]
|
/frameworks/compile/libbcc/lib/ |
D | RSKernelExpand.cpp | 432 llvm::Value *Cond, *IVNext, *IV, *IVVar; in createLoop() local 450 Cond = Builder.CreateICmpULT(LowerBound, UpperBound); in createLoop() 451 Builder.CreateCondBr(Cond, HeaderBB, AfterBB); in createLoop() 467 Cond = Builder.CreateICmpULT(IVNext, UpperBound); in createLoop() 468 Builder.CreateCondBr(Cond, HeaderBB, AfterBB); in createLoop()
|
/frameworks/compile/libbcc/bcinfo/BitReader_3_0/ |
D | BitcodeReader.cpp | 3061 Value *TrueVal, *FalseVal, *Cond; in ParseFunctionBody() local 3064 getValue(Record, OpNum, Type::getInt1Ty(Context), Cond)) in ParseFunctionBody() 3067 I = SelectInst::Create(Cond, TrueVal, FalseVal); in ParseFunctionBody() 3076 Value *TrueVal, *FalseVal, *Cond; in ParseFunctionBody() local 3079 getValueTypePair(Record, OpNum, NextValueNo, Cond)) in ParseFunctionBody() 3084 dyn_cast<VectorType>(Cond->getType())) { in ParseFunctionBody() 3090 if (Cond->getType() != Type::getInt1Ty(Context)) in ParseFunctionBody() 3094 I = SelectInst::Create(Cond, TrueVal, FalseVal); in ParseFunctionBody() 3192 Value *Cond = getFnValueByID(Record[2], Type::getInt1Ty(Context)); in ParseFunctionBody() local 3193 if (!FalseDest || !Cond) in ParseFunctionBody() [all …]
|
/frameworks/compile/slang/ |
D | slang_rs_object_ref_count.cpp | 439 clang::BinaryOperator *Cond = in ClearArrayRSObject() local 493 Cond, in ClearArrayRSObject()
|